version 1.4, 2025/03/09 19:14:25
|
version 1.5, 2025/04/03 20:48:14
|
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.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 91 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 (); |
|
|