diff options
Diffstat (limited to 'libpwdgrp/pwd_grp.c')
-rw-r--r-- | libpwdgrp/pwd_grp.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index 05b83d66d..a09b5a6c0 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c | |||
@@ -988,19 +988,6 @@ int __parsespent(void *data, char * line) | |||
988 | break; | 988 | break; |
989 | } | 989 | } |
990 | } else { | 990 | } else { |
991 | #if 0 | ||
992 | if (i==5) { /* Support for old format. */ | ||
993 | while (isspace(*line)) ++line; /* glibc eats space here. */ | ||
994 | if (!*line) { | ||
995 | ((struct spwd *) data)->sp_warn = -1; | ||
996 | ((struct spwd *) data)->sp_inact = -1; | ||
997 | ((struct spwd *) data)->sp_expire = -1; | ||
998 | ((struct spwd *) data)->sp_flag = ~0UL; | ||
999 | return 0; | ||
1000 | } | ||
1001 | } | ||
1002 | #endif | ||
1003 | |||
1004 | *((long *) p) = (long) strtoul(line, &endptr, 10); | 991 | *((long *) p) = (long) strtoul(line, &endptr, 10); |
1005 | 992 | ||
1006 | if (endptr == line) { | 993 | if (endptr == line) { |