[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [BusyBox] [PATCH] utmp file format of uClibc
From: Danny Lepage <danny.lepage () cognicase ! com>
Date: 2002-06-26 12:38:03
[Download RAW message or body]
Hi all,
This patch is against busybox-0.60.3. It should bring utmp file format
handling in sync with the comments in the code when building against
uClibc.
Regards,
Danny
["dutmp.c.patch" (dutmp.c.patch)]
--- dutmp.c.orig Wed Jun 26 14:28:15 2002
+++ dutmp.c Wed Jun 26 14:28:32 2002
@@ -39,7 +39,7 @@
}
=20
/* Kludge around the fact that the binary format for utmp has changed. */
-#if __GNU_LIBRARY__ < 5 || defined __UCLIBC__
+#if __GNU_LIBRARY__ < 5
/* Linux libc5 */
while (read(file, (void*)&ut, sizeof(struct utmp))) {
printf("%d|%d|%s|%s|%s|%s|%s|%lx\n",
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic