When first creating the ARZ file for an archive table, use "wb" as the mode for
gzdopen() because the file itself was only opened for writing (and truncated), and some libc implementations (like SCO) don't like to do a fdopen(..., "a") on a fd that was not opened using O_APPEND.
Showing
Please register or sign in to comment