aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Better low-memory handling: If the link cache runs out of memory, justTim Kientzle2004-08-081-35/+36
| | | | | | | | | throw out the whole thing and stop tracking links entirely. That will break all remaining hardlinks, but should free up enough memory to let everything finish. Notes: svn path=/head/; revision=133311
* Move the smart chdir logic into a couple of utility functions in util.c.Tim Kientzle2004-08-085-85/+66
| | | | | | | | Then use them to provide consistent -C support throughout the program. Thanks to: Christoph Mallon Notes: svn path=/head/; revision=133310
* It shouldn't be an error to specify the same mode twice: allow -cc but not -ct.Tim Kientzle2004-08-082-50/+38
| | | | | | | | Thanks to: Christoph Mallon (whose proposed patch was actually simpler than what I ended up with) Notes: svn path=/head/; revision=133308
* Another pointy-hat problem: PACKAGE_VERSION macro is set inTim Kientzle2004-08-082-3/+0
| | | | | | | | CFLAGS, it shouldn't be in bsdtar_platform.h. Thanks to: Andrey Chernov for looking over my shoulder so much lately. Notes: svn path=/head/; revision=133307
* Minor portability fixes. bsdtar now compiles on Win32/cygwin, thoughTim Kientzle2004-08-081-2/+18
| | | | | | | it doesn't yet seem to work entirely correctly. Notes: svn path=/head/; revision=133302
* Oh yeah? 4 born in the Netherlands. Taken relative to the size ofMarcel Moolenaar2004-08-071-0/+1
| | | | | | | the country (i.e. committer density), we're in the top 5 for sure! :-) Notes: svn path=/head/; revision=133288
* 10 born in France now!Nicolas Souchu2004-08-071-0/+1
| | | | Notes: svn path=/head/; revision=133284
* Add --totals option. Unlike gtar, this reports the bytes actuallyTim Kientzle2004-08-074-3/+25
| | | | | | | | written to the archive, not the ones written to the compressor. For uncompressed archives, these numbers are the same, of course. Notes: svn path=/head/; revision=133278
* Linux port corrections:Tim Kientzle2004-08-073-5/+6
| | | | | | | | | * Add a more reasonable default device for linux * Add an autoconf check for the FNM_LEADING_DIR extension (which isn't yet obeyed in the code) Notes: svn path=/head/; revision=133273
* Assign the result of getopt() to an int rather than to a char.Stefan Farfeleder2004-08-071-2/+1
| | | | Notes: svn path=/head/; revision=133258
* Add "make distfile" capabilities to bsdtar, including informationalTim Kientzle2004-08-077-50/+251
| | | | | | | COPYING file and some conditional compilation cleanups. Notes: svn path=/head/; revision=133245
* Join the 21st century: Cryptography is no longer an optional componentColin Percival2004-08-064-4/+0
| | | | | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004 Notes: svn path=/head/; revision=133196
* - One can use both BD_ADDR or name to specify address of the Bluetooth device.Maksim Yevmenkin2004-08-052-7/+13
| | | | | | | | | | | Update man pages to document this fact. - Update usage messages - Change u_intXXX to uintXXX Notes: svn path=/head/; revision=133178
* Ensure that there's always a space between the user name andTim Kientzle2004-08-051-1/+1
| | | | | | | group name in -tv output format. Notes: svn path=/head/; revision=133152
* Correct the .Dd date. Pluralize 'assignment' in one place.Hartmut Brandt2004-08-041-2/+2
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=133120
* Remove these three files left-over from my unsuccessful attempt toGarance A Drosehn2004-08-043-287/+0
| | | | | | | | | re-import `patch' into this location. Instead I think I will import it to 'patch-b', and that way I can be sure that I am starting with a clean slate WRT the CVS repository. Notes: svn path=/head/; revision=133104
* Add a standard DIAGNOSTICS section.Tim J. Robbins2004-08-041-1/+3
| | | | Notes: svn path=/head/; revision=133102
* Add a standard DIAGNOSTICS section.Tim J. Robbins2004-08-041-1/+3
| | | | Notes: svn path=/head/; revision=133101
* Add ENVIRONMENT and DIAGNOSTICS sections.Tim J. Robbins2004-08-041-1/+12
| | | | Notes: svn path=/head/; revision=133100
* In next(), ensure that 'done' is set in the case when a file cannotTim J. Robbins2004-08-041-1/+2
| | | | | | | | be opened, to avoid trying to read standard input after already closing it, which resulted in EBADF errors. Notes: svn path=/head/; revision=133099
* Correct the description of the MFLAGS and .MAKEFLAGS variables. AddHartmut Brandt2004-08-031-6/+16
| | | | | | | | | the MFLAGS target. Document that variable assignments from the MAKEFLAGS environment variable and the .MAKEFLAGS and .MFLAGS target have the same precedence as command line variable assignments. Notes: svn path=/head/; revision=133086
* Put variable assignments from the command line into the MAKEFLAGSHartmut Brandt2004-08-034-32/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variable as required by POSIX. This causes such variables to be pushed into all sub-makes called by the make (except when the MAKEFLAGS variable is explicitely changed in the sub-make's environment). This makes them also mostly un-overrideable in sub-makes except on the sub-make's command line. Therefor specifying 'make CC=icc' will cause icc to be used as C compiler in all sub-makes no matter what the Makefiles itself try to do to the CC variable. This patch also corrects the handling of the MFLAGS variable. MFLAGS contains all the command line flags but not the command line variable assignments. The evaluation of the .MFLAGS or .MAKEFLAGS target now changes both MFLAGS and MAKEFLAGS (they used to change MAKEFLAGS only). Makefiles can use MFLAGS for their own purposes given that they do not except MFLAGS to be undefined at the beginning and that they don't evaluate .MFLAGS or .MAKEFLAGS. MFLAGS should be removed for POSIX compliance, but it is unfortunately heavily used by the X makefiles. This has been extensively tested by port builds (thanks to portmgr), new worlds and kernels. PR: standards/57295 (1st part above) Submitted by: James E. Flemer <jflemer@alum.rpi.edu> Approved by: portmgr Obtained from: NetBSD (1st part above) MFC after: 4 weeks Notes: svn path=/head/; revision=133085
* Make the SIGCHLD handler static and declare its argumentHartmut Brandt2004-08-031-2/+2
| | | | | | | as unused, so that make can be compiled with WARNS=3 again. Notes: svn path=/head/; revision=133082
* GNU and POSIX disagree about -o and -l.Tim Kientzle2004-08-032-22/+70
| | | | | | | | | | | | | | | For -l, upset everyone by breaking it. Specifically, -l now produces a lengthy error message that suggests --check-links (POSIX -l) or --one-file-system (GNU -l) instead. However, if POSIXLY_CORRECT is set, use the POSIX interpretation. For -o, please everyone by making it work both ways: * -xo uses POSIX behavior * -co uses "almost GNU" behavior (as close as we can get until libarchive implements a true V7 tar format) Notes: svn path=/head/; revision=133053
* Remove la_LN.* from the list of bogus locales. They're incomplete, butTim J. Robbins2004-08-021-1/+1
| | | | | | | still potentially useful. Notes: svn path=/head/; revision=133014
* Exclude bogus la_LN.* and UTF-8 locales from the output of locale -aTim J. Robbins2004-08-021-1/+11
| | | | | | | to discourage people from using them. Notes: svn path=/head/; revision=133013
* Add cross-reference to fmt(1) and a fairly standard ENVIRONMENT section.Tim J. Robbins2004-08-021-2/+12
| | | | Notes: svn path=/head/; revision=133010
* Cross-reference fold(1).Tim J. Robbins2004-08-021-0/+1
| | | | Notes: svn path=/head/; revision=133009
* Add support for multibyte characters.Tim J. Robbins2004-08-022-57/+94
| | | | Notes: svn path=/head/; revision=133008
* Document incorrect handling of multibyte characters with -I and -J options.Tim J. Robbins2004-08-021-1/+10
| | | | Notes: svn path=/head/; revision=132998
* This commit was generated by cvs2svn to compensate for changes in r132977,Garance A Drosehn2004-08-013-0/+287
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=132978
| * Import of a BSD-licensed version of `patch', which will eventuallyGarance A Drosehn2004-08-0114-0/+4726
| | | | | | | | | | | | | | | | | | | | | | | | | | replace the version we currently have in src/gnu/usr.bin/patch/. Among other things, this version includes a --posix option for strict POSIX conformance. This version is the current source from OpenBSD as of today. It is their 3.5-release, plus a few updates to patch.c and pch.c that they made about three weeks ago. Notes: svn path=/vendor/OpenBSD/dist/; revision=132977
| * Import OpenBSD m4(1) as of April 26. Mostly ANSIfication changes.Juli Mallett2002-05-018-245/+103
| | | | | | | | Notes: svn path=/vendor/OpenBSD/dist/; revision=95885
| * Import OpenBSD m4 as of today.Juli Mallett2002-04-181-0/+381
| | | | | | | | Notes: svn path=/vendor/OpenBSD/dist/; revision=95008
* | Correct the explanation of the -X option.Tim Kientzle2004-08-011-3/+5
| | | | | | | | | | | | | | Thanks to: Pav Lucistnik Notes: svn path=/head/; revision=132974
* | Comment some of the 'io' functions.Alfred Perlstein2004-08-011-0/+29
| | | | | | | | Notes: svn path=/head/; revision=132955
* | Check for read errors.Tim J. Robbins2004-07-311-0/+2
| | | | | | | | Notes: svn path=/head/; revision=132918
* | Add standard DIAGNOSTICS section.Tim J. Robbins2004-07-311-0/+2
| | | | | | | | Notes: svn path=/head/; revision=132917
* | Add support for multibyte characters, loosely based on Bruno Haible'sTim J. Robbins2004-07-312-25/+57
| | | | | | | | | | | | | | work in the util-linux packages, but with some minor fixes. Notes: svn path=/head/; revision=132916
* | Fix some particularly bad style(9) violations.Tim J. Robbins2004-07-311-60/+58
| | | | | | | | Notes: svn path=/head/; revision=132915
* | Check for read errors.Tim J. Robbins2004-07-301-0/+2
| | | | | | | | Notes: svn path=/head/; revision=132882
* | Document the behaviour of the "-o file" option when "file" is a directoryColin Percival2004-07-301-0/+4
| | | | | | | | | | | | | | | | | | (downloaded file(s) are created inside the directory). MFC after: 3 days Notes: svn path=/head/; revision=132879
* | Improve portability to FreeBSD 4.Tim Kientzle2004-07-301-0/+6
| | | | | | | | | | | | | | Thanks to: Barry Bouwsma Notes: svn path=/head/; revision=132868
* | Fix comment.Tim Kientzle2004-07-301-1/+1
| | | | | | | | | | | | | | Thanks to: Johan Karlsson Notes: svn path=/head/; revision=132867
* | Document incorrect handling of multibyte characters.Tim J. Robbins2004-07-301-1/+3
| | | | | | | | Notes: svn path=/head/; revision=132863
* | Stop the practice of installing external headers into GCC-specific directory.Alexander Kabaev2004-07-301-1/+1
| | | | | | | | | | | | | | Install FlexLexer.h into /usr/include directly. Notes: svn path=/head/; revision=132862
* | Add support for multibyte characters, based on Bruno Haible's workTim J. Robbins2004-07-292-56/+81
| | | | | | | | | | | | | | in the util-linux package. Notes: svn path=/head/; revision=132858
* | The signal number has to be less than NSIG strictly.Maxim Konovalov2004-07-291-1/+1
| | | | | | | | | | | | | | | | | | PR: misc/69768 Submitted by: bronek MFC after: 1 week Notes: svn path=/head/; revision=132851
* | Bump the date in .Dd for the recent '+' flag commit.Hartmut Brandt2004-07-291-1/+1
| | | | | | | | | | | | | | Requested by: ru Notes: svn path=/head/; revision=132844
* | Implement POSIX's '+' flag for command lines. This flag causes a lineHartmut Brandt2004-07-295-32/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to be executed even when -n is given on the command line to make. This is very handy for calls to submakes. This is slightly changed from the original patch as obtained from NetBSD. The NetBSD variant prints lines which have both '+' and '@' when -n is specified. The commited version always obeys '@'. Bump MAKE_VERSION so Makefiles can use this conditionally. PR: standards/66357 (partly) Submitted by: Mark Baushke <mdb@juniper.net> Obtained from: NetBSD Notes: svn path=/head/; revision=132839