|
|
| version 1.4, 2025/03/09 19:14:25 | version 1.6, 2025/04/10 01:24:38 |
|---|---|
| Line 24 | Line 24 |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | * $Log$ |
| * Revision 1.6 2025/04/10 01:24:38 snw | |
| * Remove C++ style comments | |
| * | |
| * Revision 1.5 2025/04/03 20:48:14 snw | |
| * Improve daemon error diagnostics and bump to 0.63.0-rc3 | |
| * | |
| * Revision 1.4 2025/03/09 19:14:25 snw | * Revision 1.4 2025/03/09 19:14:25 snw |
| * First phase of REUSE compliance and header reformat | * First phase of REUSE compliance and header reformat |
| * | * |
| Line 88 short jnl_init(char *jnlfile, char *host | Line 94 short jnl_init(char *jnlfile, char *host |
| jnl_desc = open (jnl_file_path, O_CREAT | O_APPEND | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); | jnl_desc = open (jnl_file_path, O_CREAT | O_APPEND | O_RDWR, S_IRWXU | S_IRWXG | S_IRWXO); |
| if (jnl_desc == -1) jnl_panic ("error creating new journal file"); | snprintf (tmsg, 255, "error creating new journal file '%s' [errno %d: '%s']", jnl_file_path, errno, strerror (errno)); |
| if (jnl_desc == -1) jnl_panic (tmsg); | |
| jnl_lock (); | jnl_lock (); |
| Line 138 short jnl_init(char *jnlfile, char *host | Line 145 short jnl_init(char *jnlfile, char *host |
| } | } |
| //strncpy (jnl_host_id, hdr.) | |
| jnl_unlock (); | jnl_unlock (); |
| close (jnl_desc); | close (jnl_desc); |