mirror of
https://github.com/PDP-10/its.git
synced 2026-05-03 14:49:18 +00:00
Fix Y2K bug in DMARCD.
DMARCD is the source for DEVICE; OARCDV BIN which handles old format archives. The file listing used to display the year field as is, so would go past 99 to 100. Adding 1900 makes it display a four-digit year instead.
This commit is contained in:
@@ -1067,6 +1067,7 @@ LFFILE: MOVE A,[440700,,LFBFR]
|
|||||||
MOVEI A,"/
|
MOVEI A,"/
|
||||||
IDPB A,LFBPTR
|
IDPB A,LFBPTR
|
||||||
LDB A,[330700,,UNDATE(C)]
|
LDB A,[330700,,UNDATE(C)]
|
||||||
|
ADDI A,1900.
|
||||||
PUSHJ P,LFDEC
|
PUSHJ P,LFDEC
|
||||||
MOVEI A,40
|
MOVEI A,40
|
||||||
IDPB A,LFBPTR
|
IDPB A,LFBPTR
|
||||||
Reference in New Issue
Block a user