diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-08-29 16:30:15 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-08-29 16:30:15 +0000 |
commit | 0691bcbd11897694a604f99fa58af6b4286c7195 (patch) | |
tree | a5259e0b1118c5d294cb4bfb77fa3d25fed4d121 /src/config/tipidee-config.c | |
parent | e6ada0b74352f77124a682d98c6d842fd5c44b45 (diff) | |
download | tipidee-0691bcbd11897694a604f99fa58af6b4286c7195.tar.gz tipidee-0691bcbd11897694a604f99fa58af6b4286c7195.tar.xz tipidee-0691bcbd11897694a604f99fa58af6b4286c7195.zip |
More examples, some fixes, some more doc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config/tipidee-config.c')
-rw-r--r-- | src/config/tipidee-config.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/config/tipidee-config.c b/src/config/tipidee-config.c index be13e39..36b1c03 100644 --- a/src/config/tipidee-config.c +++ b/src/config/tipidee-config.c @@ -52,11 +52,6 @@ static inline void conf_output (char const *ofile, unsigned int omode) memcpy(otmp + olen, ":XXXXXX", 8) ; fdw = mkstemp(otmp) ; if (fdw == -1) strerr_diefu3sys(111, "open ", otmp, " for writing") ; - if (coe(fdw) == -1) - { - unlink_void(otmp) ; - strerr_diefu2sys(111, "coe ", otmp) ; - } if (!cdbmake_start(&cm, fdw)) { unlink_void(otmp) ; @@ -77,7 +72,7 @@ static inline void conf_output (char const *ofile, unsigned int omode) unlink_void(otmp) ; strerr_diefu2sys(111, "fsync ", otmp) ; } - if (fchmod(fdw, omode & 0755) == -1) + if (fchmod(fdw, omode & 0777) == -1) { unlink_void(otmp) ; strerr_diefu2sys(111, "fchmod ", otmp) ; |