mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Ha. Regression testing found a bug with uClibc support. Fixed.
-Erik
This commit is contained in:
parent
b9af894264
commit
e703f7ed42
2
dutmp.c
2
dutmp.c
@ -42,7 +42,7 @@ extern int dutmp_main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* Kludge around the fact that the binary format for utmp has changed. */
|
||||
#if __GNU_LIBRARY__ < 5
|
||||
#if __GNU_LIBRARY__ < 5 || defined __UCLIBC__
|
||||
/* Linux libc5 */
|
||||
while (read(file, (void*)&ut, sizeof(struct utmp))) {
|
||||
printf("%d|%d|%s|%s|%s|%s|%s|%lx\n",
|
||||
|
@ -42,7 +42,7 @@ extern int dutmp_main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* Kludge around the fact that the binary format for utmp has changed. */
|
||||
#if __GNU_LIBRARY__ < 5
|
||||
#if __GNU_LIBRARY__ < 5 || defined __UCLIBC__
|
||||
/* Linux libc5 */
|
||||
while (read(file, (void*)&ut, sizeof(struct utmp))) {
|
||||
printf("%d|%d|%s|%s|%s|%s|%s|%lx\n",
|
||||
|
Loading…
Reference in New Issue
Block a user