mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
ed81849c9f
- @-lines can now be run up to every second (previously every 10s at most) PR: 211451 Submitted by: bob@eager.cx (maintainer)
16 lines
511 B
C
16 lines
511 B
C
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);
|