pax: truncate times to MAX_TIME_T, not INT_MAX
authormillert <millert@openbsd.org>
Mon, 26 Jun 2023 18:00:59 +0000 (18:00 +0000)
committermillert <millert@openbsd.org>
Mon, 26 Jun 2023 18:00:59 +0000 (18:00 +0000)
commit2f186deaaa04c90e3a8af7a92e56f2d01994d350
tree8a072d9682c69f4d75e95794cf620093641d8de6
parent375ccafb2eb77de6cf240e33e9e28d4d2a85b8c1
pax: truncate times to MAX_TIME_T, not INT_MAX
If the mtime in the file header is larger than MAX_TIME_T, trucate
it to MAX_TIME_T, not INT_MAX.  OK otto@
bin/pax/cpio.c
bin/pax/tar.c