1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-13 15:27:28 +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:
Lars Brinkhoff 2020-09-30 13:35:34 +02:00
parent 0373bdd796
commit e7bc91dd14

View File

@ -1067,6 +1067,7 @@ LFFILE: MOVE A,[440700,,LFBFR]
MOVEI A,"/
IDPB A,LFBPTR
LDB A,[330700,,UNDATE(C)]
ADDI A,1900.
PUSHJ P,LFDEC
MOVEI A,40
IDPB A,LFBPTR