Re: pax: truncate times to MAX_TIME_T, not INT_MAX

2023-06-26 Thread Otto Moerbeek
On Mon, Jun 26, 2023 at 11:09:10AM -0600, Todd C. Miller wrote: > If the mtime in the file header is larger than MAX_TIME_T, trucate > it to MAX_TIME_T, not INT_MAX. The existing assignment dates from > before we had a MAX_TIME_T definition in pax. How strange the checks use MAX_TIME_T as a boun

pax: truncate times to MAX_TIME_T, not INT_MAX

2023-06-26 Thread Todd C . Miller
If the mtime in the file header is larger than MAX_TIME_T, trucate it to MAX_TIME_T, not INT_MAX. The existing assignment dates from before we had a MAX_TIME_T definition in pax. OK? - todd Index: cpio.c === RCS file: /cvs/src/bin