History log of /netbsd-src/bin/pax/file_subs.c (Results 26 – 50 of 66)
Revision Date Author Comments
# 8fbcc555 13-Feb-2004 matt <matt@NetBSD.org>

When pax catches a signal and cleans up, make sure to remove any temporary
file that was being extracted to. This will prevent pax from leaving
droppings when you hit ^C.


# 1106d0b0 13-Feb-2004 matt <matt@NetBSD.org>

Nuke extra mkstemp. Use name, not tmp_name with chk_path.


# b2e2f282 13-Feb-2004 matt <matt@NetBSD.org>

Back out last change. Since the name is the entire path, prefixing it
with a '.' will not have the desired effect.


# 272d78cb 13-Feb-2004 matt <matt@NetBSD.org>

When creating the temporary file, prefix the name with a '.'


# 99b5d86a 12-Feb-2004 matt <matt@NetBSD.org>

When restoring files from an archive, initially restore to a temp-file and
once it has been instantiated correctly, rename it to desired name. This
prevents the problem of partially created files be

When restoring files from an archive, initially restore to a temp-file and
once it has been instantiated correctly, rename it to desired name. This
prevents the problem of partially created files being accessed before they
are complete. If said file is a shared library, that can cause ramdon core
dumps.

show more ...


# 171d6532 27-Oct-2003 lukem <lukem@NetBSD.org>

Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/com

Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).

show more ...


# ed6ed8e6 13-Oct-2003 agc <agc@NetBSD.org>

Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.


# b5b29542 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# d884498b 23-Jun-2003 grant <grant@NetBSD.org>

no need for HAVE_LCHOWN and HAVE_LCHMOD anymore.


# 021cc73e 10-Feb-2003 grant <grant@NetBSD.org>

add missing braces.

from HIRATSUKA Kouichirou in PR bin/20276.


# d1391f9f 09-Feb-2003 grant <grant@NetBSD.org>

cosmetic error condition improvements.
- sprinkle some fflush() to print filenames correctly.
- print a \n to stdout to fix formatting.
- English, consistently use "Cannot" in error messages.

some w

cosmetic error condition improvements.
- sprinkle some fflush() to print filenames correctly.
- print a \n to stdout to fix formatting.
- English, consistently use "Cannot" in error messages.

some whitespace cleanup.

show more ...


# 3ac7ce18 02-Feb-2003 wiz <wiz@NetBSD.org>

Fix various spelling, grammar, and punctuation problems in comments, from Sergey Svishchev in PR 20164.


# 276fd166 20-Jan-2003 simonb <simonb@NetBSD.org>

The Double-Semi-Colon Police.


# 1035faff 06-Jan-2003 wiz <wiz@NetBSD.org>

writable, not writeable.


# 5a72c722 19-Dec-2002 grant <grant@NetBSD.org>

Fix oops in last, chown() failure should be fatal.

Noted by Charles Hannum.


# 3ac4c54a 19-Dec-2002 grant <grant@NetBSD.org>

Don't attempt to chown files if euid != 0, and make chown() non-fatal
if it does fail.

This addresses my PR bin/18912 (running pkg_info as non-root user on a
binary package).


# 4472ef15 17-Oct-2002 christos <christos@NetBSD.org>

Add proper longlink support. Previously we handled longname support, and
the longlink support was completely wrong.


# 0c612021 12-Oct-2002 christos <christos@NetBSD.org>

merge OpenBSD changes:
- correct -C processing
- add ability to read filenames and flags from a file
- don't print dangerous escape sequences to the terminal
- use strlcpy/strncpy pro

merge OpenBSD changes:
- correct -C processing
- add ability to read filenames and flags from a file
- don't print dangerous escape sequences to the terminal
- use strlcpy/strncpy properly.
- handle tmpfile creation better.
- improve documentation of options.
- handle stdout/stderr list selection correctly.
- kill gzip when we get interrupted.
- simplify gzip setup.
- add more flags to programs.

additional changes:
- librmt processing.
- set POSIXLY_CORRECT in options parsing.
- prevent more string overruns.
- support -T

we don't turn the switch on to replace tar and cpio yet.

show more ...


# 9baadd8e 11-Feb-2002 wiz <wiz@NetBSD.org>

"doesn't" should have an 's'.


# 47b0d14e 31-Jan-2002 tv <tv@NetBSD.org>

Protect __RCSID and __COPYRIGHT from being invoked if not defined.


# a328e341 29-Jan-2002 tv <tv@NetBSD.org>

Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)


# c1bd745c 25-Oct-2001 lukem <lukem@NetBSD.org>

- ansi KNF (just remove all the #ifndef __STDC__ prototype junk,
leaving the ansi stuff)
- use longlong_t instead of quad_t (etc), and rename *uqd*() -> *ull*()
- clean up the NET2_STAT stuff simil

- ansi KNF (just remove all the #ifndef __STDC__ prototype junk,
leaving the ansi stuff)
- use longlong_t instead of quad_t (etc), and rename *uqd*() -> *ull*()
- clean up the NET2_STAT stuff similar to ftpd; provide #defines and
macros which select which cast to use, etc
- clean up the NET2_FTS and NET2_REGEX #define use

show more ...


# 27f963a9 17-Jun-2000 mrg <mrg@NetBSD.org>

minor KNF nits.


# 1594850f 13-Mar-2000 soren <soren@NetBSD.org>

Fix doubled 'the' in comment.


# f8adf56d 17-Feb-2000 itohy <itohy@NetBSD.org>

Cleanup and fix typos.
Partially from FreeBSD.


123