blob: 1d85379dfff0ea56127682040746dd78d8700bb7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
We don't need to fflush the file, since it is opened read-only.
--- fileconf.c.orig 2016-06-26 17:42:39 UTC
+++ fileconf.c
@@ -278,10 +278,6 @@ read_file(char *filename, int fd)
cf->cf_next = file_base;
file_base = cf;
- /* don't close as underlying fd may still be used by calling function */
- if (fflush(file) != 0)
- error_e("could not fflush() file_name");
-
Free_safe(default_line.cl_runas);
Free_safe(default_line.cl_mailfrom);
Free_safe(default_line.cl_mailto);
|