]> Dogcows Code - chaz/tar/commit - src/create.c
(to_oct): New parameter substitute, giving a substitute value to use
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Mar 1999 00:10:11 +0000 (00:10 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 2 Mar 1999 00:10:11 +0000 (00:10 +0000)
commit13617c42d896aa66178d914d744d2d42fb988248
treef0b6150e74825352bd7235786857b4146b5d0174
parent00a2b4708fc77a09c9b5ca372b2846341c12c75e
(to_oct): New parameter substitute, giving a substitute value to use
when the original value is out of range.  Do not append a space to the
output; modern tars don't.  When a value is out of range, specify the
maximum value, not the number of bits.
(GID_NOBODY, UID_NOBODY): New macros.
(gid_to_oct, uid_to_oct): Use them as substitutes.
(finish_header): Do not assume that UINTMAX_TO_OCT appends a space.
(dump_file): Check whether the file changed as we read it.
src/create.c
This page took 0.02089 seconds and 4 git commands to generate.