NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/46786 CVS commit: src/bin/pax

The following reply was made to PR bin/46786; it has been noted by GNATS.

From: "Christos Zoulas" <>
Subject: PR/46786 CVS commit: src/bin/pax
Date: Thu, 9 Aug 2012 04:09:22 -0400

 Module Name:   src
 Committed By:  christos
 Date:          Thu Aug  9 08:09:22 UTC 2012
 Modified Files:
        src/bin/pax: cpio.c extern.h gen_subs.c pax.h tar.c
 Log Message:
 PR/46786: Simon Burge: After conversion to 64 bit time_t, tar/pax/cpio
 erroneously think that negative time_t's never fit in 32 bits. Rework
 conversion code to always use uintmax_t, and detect negative values.
 XXX[1]: Perhaps we should do the same (use a signed conversion) for all
 fields not just for time_t
 XXX[2]: pullup for 6
 To generate a diff of this commit:
 cvs rdiff -u -r1.21 -r1.22 src/bin/pax/cpio.c
 cvs rdiff -u -r1.58 -r1.59 src/bin/pax/extern.h
 cvs rdiff -u -r1.35 -r1.36 src/bin/pax/gen_subs.c
 cvs rdiff -u -r1.30 -r1.31 src/bin/pax/pax.h
 cvs rdiff -u -r1.69 -r1.70 src/bin/pax/tar.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index