At 2:38 AM +0200 8/2/03, Riccardo Torrini wrote:
Looking into sources I found two close(fd).
Here is the patch:
-----8<-----[ patch ]-----8<-----
# diff -u newsyslog.c.orig newsyslog.c
--- newsyslog.c.orig Sun May 25 18:46:13 2003
+++ newsyslog.c Sat Aug 2 02:28:50 2003
@@ -1764,7 +1764,6 @@
failed = fchown(fd, ent->uid, ent->gid);
if (failed)
err(1, "can't fchown temp file %s", tempfile);
- (void) close(fd);
}
}
-----8<-----[ patch ]-----8<-----
I committed this in -current. I'll MFC it into -stable in a
few days. Thanks!
--
Garance Alistair Drosehn = [EMAIL PROTECTED]
Senior Systems Programmer or [EMAIL PROTECTED]
Rensselaer Polytechnic Institute or [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"