summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-2214-27/+26
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Don't use PAM_SILENT unless hushlogin is set (perforce change 10123)des2002-04-221-0/+2
| | | | Sponsored by: DARPA, NAI Labs
* Add a Makefile for this.jake2002-04-221-0/+6
|
* Use fseeko and uintptr_t to make sure that we get a sensible offsetdwmalone2002-04-211-2/+2
| | | | | | | | when trying to read from the stack. PR: 37104 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org> MFC after: 3 weeks
* Remove duplicated text.keramida2002-04-211-2/+1
| | | | | | PR: docs/37287 Submitted by: Tony Finch <dot@dotat.at> MFC after: 3 days
* Dot terminate a sentence. Rearrange to not use .Nm at the beginningcharnier2002-04-211-3/+2
| | | | of a sentence.
* Fixed some style bugs ("From:" in vendor id line, disordered MAN line, andbde2002-04-211-5/+2
| | | | | | blank lines). Not unapproved of by: markm
* Use %zu to print a size_t, not %u and definitely not %d.jmallett2002-04-202-2/+1
| | | | | | | Remove WARNS?=2, as GCC will usually throw a fit right now, and I'm not going to mix WARNS and NO_WERROR. Submitted by: fenner
* .Nm is not required at the begining of this sentence.charnier2002-04-201-4/+3
|
* Use `The .Nm utility'. Add section number to .Xr.charnier2002-04-201-3/+4
|
* Print a size_t as %u not %d.jmallett2002-04-201-1/+1
| | | | Pointed out by: mike, des's tinderbox
* Include <arpa/inet.h> for prototype of ntohl() used in the N_BADMAG()mike2002-04-202-0/+2
| | | | macro.
* Use `The .Nm utility'charnier2002-04-2092-335/+509
|
* In the BUGS section, mention that the ballooning of size mentioned here isjmallett2002-04-201-2/+2
| | | | | | | with regard to the traditional algorithm. Suggested by: obrien MFC after: 1 week
* Use fwrite(3) to write out the decoded information, as the b64 decoding stuffjmallett2002-04-201-1/+1
| | | | | | | | won't NUL terminate the string for us, and so we're liable to pick up trailing garbage, possibly tons of it. Pointed out by: obrien MFC after: 3 days
* base64_decode() was feeding \r and \n to the decoding function, and thatjmallett2002-04-201-0/+4
| | | | | | | was causing output to be corrupted. Pointed out by: obrien MFC after: 3 days
* Remove <ctype.h> - not neededache2002-04-201-1/+0
|
* Prevent sign extension (again)ache2002-04-201-1/+1
|
* Allow space between -a and its argument. Honour locale collating ordertjr2002-04-202-16/+12
| | | | | | | by using strcoll() instead of strcmp(). PR: 36270 Reviewed by: mike
* Crank WARNS.jmallett2002-04-209-42/+47
| | | | | | | | | | | | | | | | | | | | | | | | | Cast sizeof() to (int), as it's being compared against an int, not a size_t. If i is changed to a size_t, it means the logic must be slightly changed later in the flow, where --i is checked to be >= 0. I am not sure I want to make a logic change to account for clearing up a warning, when an aesthetic one will keep from modifying the logic. Other harmless casts, that I think I've made in the right directions. Make gpbc() an inline function, rather than an obfuscated macro, make its scratch space local, rather than global. The previous macro used a dirty hack (logical AND in place of a conditional) which would lead GCC to throw a fit (rightly so) as the logical check, as well as the incrementation of a variable, were not used for anything. const'ify a few places where gcc3 yells. xstrdup() some global consts in places where we xstrdup() when not using consts, but tried to assign them to non-consts before. Don't use execv(2) if we don't have the kind of arguments it wants. Reviewed by: asmodai obrien tjr Submitted by: tjr (a gcc3 build log)
* Bump WARNS to 4.jmallett2002-04-202-0/+2
|
* In the case where we can't open /dev/tty, fall back to -t behaviour.jmallett2002-04-191-9/+7
| | | | Submitted by: fenner
* Bump WARNS to 4.jmallett2002-04-191-0/+1
|
* Use `The .Nm utility'charnier2002-04-1926-112/+159
|
* Compound two fprintf(3)s into 1 using string concatenation.jmallett2002-04-191-2/+1
|
* After 3 months...jmallett2002-04-194-44/+272
| | | | | | | | | | | | | | | | | Merge xargs(1) with that of xMach. Bring in xargs(1) changes to add -L and -I as per the Single Unix Specification version 3. Proper exit status numbers are implemented, and the manual page has been updated to reflect reality. The code has been ANSIfied, and a new file has been added to xargs(1) to do the substring substitution as SUSv3 requires. Traditional behaviour should not be affected, use of -J should be deprecated in favor of the more portable -I (though -J has been left, for now). Submitted by: me, tjr (the exit status stuff) Obtained from: xMach
* Use `The .Nm utility'. Introduce options with well known sentence.charnier2002-04-191-8/+11
|
* Add .Pp before enumerating optionscharnier2002-04-192-0/+2
|
* Prevent sign extension on characters with 8bit setache2002-04-191-1/+1
|
* Add __FBSDID, this file was unmodified so it was missed in the initial sweep.jmallett2002-04-191-0/+3
|
* Bring OpenBSD m4(1) off of the OPENBSD vendor branch, and add the -s option,jmallett2002-04-1912-643/+1442
| | | | | | | $FreeBSD$ identifiers, and fix initialisation to stderr to happen in a function as stderr is not the same in CURRENT as in OpenBSD. Reviewed by: obrien
* Merge differences and correct the manual page.jmallett2002-04-191-144/+309
|
* Localize it, LC_CTYPEache2002-04-191-1/+4
|
* Use LC_ALL to pick collateache2002-04-191-1/+1
| | | | Noticed by: tjr
* Move the sysV variable substitution up with the BSD feature that replaced it.obrien2002-04-191-2/+2
|
* Add a reference to the kenv(2) manpage.mux2002-04-181-0/+1
|
* Fixed some style bugs:bde2002-04-181-3/+4
| | | | | | | - ifdefs around vendor sccsid were left reversed after switching to __FBSDID(). - vertical whitespace after some of the non-FALLTHROUGH cases was lost. - too much vertical whitespace before prototypes.
* Backed out the style bugs in rev.1.17:bde2002-04-181-41/+41
| | | | | | | | | | - don't use unusual indentation for 39 lines of declarations when only 2 of the lines benefit from it. - don't use __DECONST(). This was the one use of it in the tree, and it was just wrong. It was used to hide the warning about tgetnum() having the wrong prototype (missing a `const') due to libncurses being misconfigured. libncurses has been fixed, so the original code now compiles cleanly with WARNS=4.
* Do not reset MAKEFILE when reading ".depend" as this ratherru2002-04-181-1/+6
| | | | | | | eliminates the usefulness of ${MAKEFILE}. Obtained from: NetBSD MFC after: 1 week
* Replaced exists() tests with two equivalent defined().ru2002-04-182-2/+2
| | | | | LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60.
* Add the -b option (break at byte position, not column number) and the -stjr2002-04-182-29/+97
| | | | | | | | | | | | | | | | option (try to break at word bounaries) for SUSv3 conformance. Partially based on the NetBSD version, with the following changes: - style(9) - break on <blank>s, not spaces, per POSIX (and GNU) - when looking for last space on line, search backwards instead of forwards; less comparisons needed this way. - use LINE_MAX macro instead of a magic number and a comment saying it is LINE_MAX. PR: 36245 Reviewed by: mike Obtained from: NetBSD (partially)
* mdoc police: use .El to end the list in the ENVIRONMENT section.fenner2002-04-171-0/+1
|
* This adds support for -s to the m4(1) utility, which causes #line directivesjmallett2002-04-176-9/+82
| | | | | | | | | | to be emitted as per the C preprocessor. It updates the manual page in regards to standards accordingly. PR: standards/36075 Submitted by: tjr Reviewed by: mike MFC after: 1 week
* Use the new functionalities provided by the kenv(2) syscall.mux2002-04-173-66/+122
| | | | Reviewed by: peter
* Don't attempt to chflags(1) non-existent executable.ru2002-04-171-0/+2
|
* Remove unused #define.des2002-04-161-5/+0
|
* Drop maintainership of this, it serves no purpose.des2002-04-151-1/+0
|
* Fix to WARNS=2 level.obrien2002-04-153-25/+8
| | | | Tested by: AXP gcc 3.1
* Don't unnecessarily include bsd.own.mk.ru2002-04-151-1/+0
| | | | (This is apparently required in NetBSD).
* Style nits.ru2002-04-151-3/+2
|
OpenPOWER on IntegriCloud