aboutsummaryrefslogtreecommitdiff
path: root/libpwdgrp
diff options
context:
space:
mode:
Diffstat (limited to 'libpwdgrp')
-rw-r--r--libpwdgrp/pwd_grp.c13
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)
break;
}
} else {
-#if 0
- if (i==5) { /* Support for old format. */
- while (isspace(*line)) ++line; /* glibc eats space here. */
- if (!*line) {
- ((struct spwd *) data)->sp_warn = -1;
- ((struct spwd *) data)->sp_inact = -1;
- ((struct spwd *) data)->sp_expire = -1;
- ((struct spwd *) data)->sp_flag = ~0UL;
- return 0;
- }
- }
-#endif
-
*((long *) p) = (long) strtoul(line, &endptr, 10);
if (endptr == line) {