freebsd-ports/net/tac_plus-libradius/files/patch-ac
Torsten Blum cf87f3bb63 A tacacs server with (limited) radius proxy support.
Submitted by:	Martin Mersberger <gremlin@portal-to-web.de>
2002-09-20 20:31:30 +00:00

19 lines
592 B
Text

*** do_acct.c Mon Dec 18 17:58:02 2000
--- do_acct.c Sat Jan 19 15:22:46 2002
***************
*** 159,165 ****
#endif
entry.ut_time = utime;
! wtmpfd = open(wtmpfile, O_CREAT | O_WRONLY | O_APPEND | O_SYNC, 0644);
if (wtmpfd < 0) {
report(LOG_ERR, "Can't open wtmp file %s -- %s",
wtmpfile, sys_errlist[errno]);
--- 159,165 ----
#endif
entry.ut_time = utime;
! wtmpfd = open(wtmpfile, O_CREAT | O_WRONLY | O_APPEND , 0644);
if (wtmpfd < 0) {
report(LOG_ERR, "Can't open wtmp file %s -- %s",
wtmpfile, sys_errlist[errno]);