aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add support for multibyte characters.Tim J. Robbins2004-07-292-42/+78
| | | | Notes: svn path=/head/; revision=132835
* Add support for multibyte characters. The output is questionable when aTim J. Robbins2004-07-292-10/+11
| | | | | | | | character straddles the "start" or "stop" columns, but this should be quite uncommon. Notes: svn path=/head/; revision=132831
* Add a cross-reference to colcrt(1).Tim J. Robbins2004-07-291-0/+1
| | | | Notes: svn path=/head/; revision=132827
* Sort #include directives and remove one duplicate that crept in to theTim J. Robbins2004-07-291-2/+1
| | | | | | | previous commit. Notes: svn path=/head/; revision=132825
* Add support for multibyte characters, loosely based on Bruno Haible'sTim J. Robbins2004-07-292-18/+41
| | | | | | | work in the util-linux package. Notes: svn path=/head/; revision=132824
* Change the 'no terminating ";"' error message to 'no terminating ";" or "+"'Tim J. Robbins2004-07-291-1/+1
| | | | | | | since + is also a valid way to terminate -exec. Notes: svn path=/head/; revision=132815
* Remove partial support for building this on NetBSD.Tim J. Robbins2004-07-293-10/+0
| | | | Notes: svn path=/head/; revision=132814
* Now that fnmatch() supports multibyte characters, find does too; removeTim J. Robbins2004-07-291-5/+1
| | | | | | | entry from BUGS section that said otherwise. Notes: svn path=/head/; revision=132813
* Print link level address on vlan interfaces using ether_ntoa(), to makeGleb Smirnoff2004-07-281-0/+1
| | | | | | | | | | | | | output on bare ethernet and vlan interfaces the same. PR: bin/69674 Submitted by: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl> Reviewed by: ru Approved by: julian (mentor) MFC after: 1 week Notes: svn path=/head/; revision=132803
* Use the length modifier 'll' instead of 'q' to print long longs.Stefan Farfeleder2004-07-283-8/+8
| | | | Notes: svn path=/head/; revision=132799
* Remove local malloc prototypes, which are incorrect and conflict withAlexander Kabaev2004-07-284-7/+0
| | | | | | | both GCC builtin and system declared ones. Notes: svn path=/head/; revision=132786
* Do not predeclare __inline functions, this makes no sense and generatesAlexander Kabaev2004-07-281-2/+2
| | | | | | | a warning with gcc 3.4.x. Notes: svn path=/head/; revision=132785
* Start new sentence on new line.Colin Percival2004-07-271-1/+2
| | | | | | | Pointed out by: simon Notes: svn path=/head/; revision=132709
* Add a BUGS entry pointing out that -mindepth and -maxdepth are globalColin Percival2004-07-271-0/+7
| | | | | | | | | options even though they look like primaries. (This is already documented in the options themselves, but is sufficiently astonishing that I think it deserves a BUGS entry as well.) Notes: svn path=/head/; revision=132707
* Merge the "multibyte not supported" BUG into the pre-existing BUGSColin Percival2004-07-272-15/+15
| | | | | | | | | | | | section. Move the HISTORY section to place it before BUGS rather than after BUGS, in order to minimize the chance of this error being reproduced in the future. (Both mdoc(7) and 63% of manual pages have these sections listed in this order.) Notes: svn path=/head/; revision=132706
* Don't strip trailing linear whitespace from passwords.Dag-Erling Smørgrav2004-07-271-5/+5
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=132696
* Style nits.Dag-Erling Smørgrav2004-07-271-5/+4
| | | | Notes: svn path=/head/; revision=132695
* No capital letter after :Philippe Charnier2004-07-261-3/+3
| | | | Notes: svn path=/head/; revision=132672
* Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3).Philippe Charnier2004-07-2614-78/+82
| | | | | | | | Use warnx() instead of warn() when error message is not of any interest. Add prototypes. Notes: svn path=/head/; revision=132671
* Introduce options list the standard way. Correct style(9) in FILES section.Philippe Charnier2004-07-261-4/+2
| | | | Notes: svn path=/head/; revision=132670
* Introduce options list the standard way.Philippe Charnier2004-07-261-2/+2
| | | | Notes: svn path=/head/; revision=132669
* Remove useless .Pp. Typo: gcos -> gecos (as spelled in passwd(5)).Philippe Charnier2004-07-261-2/+1
| | | | Notes: svn path=/head/; revision=132668
* Assign the result of getopt() to an int rather than to a char (which isStefan Farfeleder2004-07-261-3/+2
| | | | | | | possibly unsigned). Notes: svn path=/head/; revision=132660
* Add a --version option to bsdtar that prints the versions ofTim Kientzle2004-07-262-4/+21
| | | | | | | | both bsdtar and libarchive. Of course, this requires that bsdtar have a version number. Let's call this 1.00, shall we? ;-) Notes: svn path=/head/; revision=132648
* wrong order, not 10/03 -> 03/10Andreas Klemm2004-07-251-1/+1
| | | | Notes: svn path=/head/; revision=132630
* A bunch of style and security fixes (error checking return values, etc),Tim Kientzle2004-07-254-35/+70
| | | | | | | mostly from: Tim J Robbins Notes: svn path=/head/; revision=132623
* Of course, I meant POSIX.1-1996, not 1997.Tim Kientzle2004-07-251-1/+1
| | | | | | | Thanks to: Andrey Chernov Notes: svn path=/head/; revision=132620
* A bunch of stuff from Christoph Mellon:Tim Kientzle2004-07-247-74/+77
| | | | | | | | | | | * Whitespace fixes * Check some malloc calls * Simplify long_help formatting * Spell "LINUX" -> "linux" * A few other miscellaneous style improvements Notes: svn path=/head/; revision=132616
* Add my birthday.Suleiman Souhlal2004-07-241-0/+1
| | | | | | | Approved by: grehan (mentor) Notes: svn path=/head/; revision=132598
* Document incorrect handling of multibyte characters.Tim J. Robbins2004-07-231-1/+5
| | | | Notes: svn path=/head/; revision=132576
* Tweak markup of quoted strings and characters: use Dq instead of enclosingTim J. Robbins2004-07-231-12/+44
| | | | | | | strings in ``obsolete quotes''. Use Li and Ql where appropriate. Notes: svn path=/head/; revision=132574
* Add a lengthy discussion of why "tr a-z A-Z" and "tr A-Z a-z" are not theTim J. Robbins2004-07-231-1/+41
| | | | | | | right way to perform case-conversion. Notes: svn path=/head/; revision=132572
* Make size suffix case insensitive.Lukas Ertl2004-07-222-3/+6
| | | | | | | | PR: bin/27604 Submitted by: David Xu <davidx@viasoft.com.cn> Notes: svn path=/head/; revision=132542
* display.c:Johan Karlsson2004-07-224-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 'savech' is only used if it is set a few lines above where it is used, initialize it to silence warning. - 'length' is either -1 or greater than 0, hence it is safe to cast it to unsigned when comparing it here. odsyntax.c: - 'p' is assigned either (*argvp)[0] or (*argvp)[1] which both are char *. 'num' and 'end' are assigned values based on 'p'. Hence use char * instead of unsigned char * for these variables. '&end' as the second argument to strtoll does not need to be casted to char** any more. This solves a 'dereferencing type-punned pointer will break strict-aliasing rules' warning when compiling with -O2. parse.c: - 'prec' is only used when sokay == USEPREC and sokay = USEPREC when 'prec' is assigned. Hence 'prec' is not used uninitialized, initialize it to silence warning. - The code involving 'nextpr' is hard to follow, but I belive 'nextpr' will not be used unless it is initialized. Anyway, IF 'nextpr' is used uninitialized it is better to get a consistant error (seg fault, when dereferencing a NULL pointer) than potentially accessing some random memory. The above changes makes hexdump WARNS=6 clean even when compiled with -O2. Hence bump WARNS to keep it clean. Tested by: CFLAGS='-O2 -pipe' make universe Notes: svn path=/head/; revision=132541
* Fix handling of comments on .elif lines. The patch given in a followupHartmut Brandt2004-07-221-0/+7
| | | | | | | | | | | | | | | to the PR failed, because the line skipping function is actually called from two places in the code to do quite different things (this should be two functions probably): in a false .if to skip to the next line beginning with a dot and to collect .for loops. In the seconds case we should not skip comments, because they are actually harder to handle than we need for the .if case and should defer this to the main code. PR: bin/25627 Submitted by: Seth Kingsley (original patch) Notes: svn path=/head/; revision=132540