1 diff -Nur shadow-4.0.3/src/chage.c shadow-4.0.3.new/src/chage.c
2 --- shadow-4.0.3/src/chage.c 2002-01-05 16:41:43.000000000 +0100
3 +++ shadow-4.0.3.new/src/chage.c 2003-05-27 20:42:50.000000000 +0200
7 #define EPOCH "1969-12-31"
8 +#define EPOCH_SHORT "12/31/69"
10 /* local function prototypes */
11 static void usage (void);
15 printf (_("Account Expires:\t"));
17 + if (expdays == -1) {
18 printf (_("Never\n"));
20 expires = expdays * SCALE;
25 - expdays = strtoday (optarg);
26 + if (strcmp (optarg, EPOCH_SHORT) == 0)
29 + expdays = strtoday (optarg);
32 expdays = strtol (optarg, 0, 10);