Bugzilla – Attachment 471 Details for
Bug 464
sshd seems to corrupt the wtmpx
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Use updwtmpx for 64bit platforms that support it (no configure.ac)
xx.txt (text/plain), 466 bytes, created by
Ben Lindstrom
on 2003-09-27 00:41:40 AEST
(
hide
)
Description:
Use updwtmpx for 64bit platforms that support it (no configure.ac)
Filename:
MIME Type:
Creator:
Ben Lindstrom
Created:
2003-09-27 00:41:40 AEST
Size:
466 bytes
patch
obsolete
>--- openssh-3.6.1p2/loginrec.c Mon Mar 10 09:23:07 2003 >+++ openssh-3.6.1p2-wtmpxfix/loginrec.c Wed Jul 30 17:21:39 2003 >@@ -1188,6 +1188,7 @@ > static int > wtmpx_write(struct logininfo *li, struct utmpx *utx) > { >+#ifndef HAVE_UPDWTMPX > struct stat buf; > int fd, ret = 1; > >@@ -1207,6 +1208,10 @@ > (void)close(fd); > > return ret; >+#else >+ updwtmpx(WTMPX_FILE, utx); >+ return 1; >+#endif /* HAVE_UPDWTMPX */ > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
Attachments on
bug 464
: 471