patch-2.4.9 linux/arch/alpha/kernel/time.c
Next file: linux/arch/alpha/kernel/traps.c
Previous file: linux/arch/alpha/kernel/sys_dp264.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Aug 12 10:38:48 2001
- Orig file:
v2.4.8/linux/arch/alpha/kernel/time.c
- Orig date:
Wed Jul 25 17:10:17 2001
diff -u --recursive --new-file v2.4.8/linux/arch/alpha/kernel/time.c linux/arch/alpha/kernel/time.c
@@ -300,7 +300,9 @@
/* PC-like is standard; used for year < 20 || year >= 70 */
epoch = 1900;
- if (year >= 20 && year < 48)
+ if (year < 20)
+ epoch = 2000;
+ else if (year >= 20 && year < 48)
/* NT epoch */
epoch = 1980;
else if (year >= 48 && year < 70)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)