[BusyBox] [PATCH] utmp file format of uClibc
Danny Lepage
danny.lepage at cognicase.com
Wed Jun 26 12:38:03 UTC 2002
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
-------------- next part --------------
--- dutmp.c.orig Wed Jun 26 14:28:15 2002
+++ dutmp.c Wed Jun 26 14:28:32 2002
@@ -39,7 +39,7 @@
}
/* 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",
More information about the busybox
mailing list