summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* When we appear to want a signed value from sizeof(), use ssize_t in the cast,jmallett2002-10-301-1/+1
| | | | rather than int.
* Clarify my feelings towards fetch / libfetch.des2002-10-301-1/+0
|
* Output .lf directives.grog2002-10-301-0/+4
|
* bsd.doc.mk changes:ru2002-10-292-2/+0
| | | | | | | | | | | | | | | Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS. Only create _stamp.extra when necessary. Get rid of SOELIMPP and OBJS. Use Groff version of soelim(1); we need its -I option for the following to work. Don't needlessly chdir to SRCDIR. Only a few documents need CD_HACK, and those that need it either use refer(1) or .PSPIC macro which internally uses the .psbb call.
* Don't try to dereference a NULL pw pointer. This would happen whenjoerg2002-10-291-1/+1
| | | | attempting to use chpass -a.
* In VarHead(), look into the correct (modified) string.jmallett2002-10-291-1/+1
|
* Mention that the left-hand side of the comparisonru2002-10-291-3/+2
| | | | | | | | conditional must always be a variable expansion. Obtained from: PMake Do not lie that debugging .for loops is a no-op.
* Mostly support alternate manpage zipping.obrien2002-10-291-16/+35
|
* Split var.c into var.c and var_modify.c and move all the modification funcsjmallett2002-10-287-669/+731
| | | | | | | | to var_modify.c, for readability. constify some low hanging fruit (string manipulation functions) and the upper layers appropriately. No longer use the private strstr(3) implementation, while changing string code. Tested by: lots of successful make buildworld.
* Don't complain about not knowing the remote file size when working indes2002-10-271-1/+1
| | | | | | | quiet mode. PR: bin/37079 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
* Whitespace and indentation cleanup.des2002-10-271-12/+12
|
* Forgot to disable alarms after fetchXGet() in previous commit.des2002-10-271-0/+2
|
* Add an ETA timer that kicks in after 30 seconds.des2002-10-271-16/+45
| | | | | | | | | | | | | | | | Re-add alarm(2) calls around the calls to fetchStat(3) and fetchXGet(3), since these calls can still time out on DNS lookups or TCP connect(2). Remove the alarm(2) calls in the main loop, since all methods properly handle transfer timeouts (as opposed to connection timeouts). Set the sigalrm flag if a timeout occurs in the main loop. Move the signal: label up a little so we still set the atime and mtime when the transfer times out or is interrupted, so that restarted transfers will work as expected (as long as the file still exists). MFC after: 2 weeks
* Remove unnecessary compatibility macro. (We were only printing, not parsing,wollman2002-10-271-1/+0
| | | | intmax_t.)
* Add new 1003.1-2001/TC1/D6 parameters. (On final recirculation ballot now,wollman2002-10-274-2/+16
| | | | | | | | so this should be officially TC1 before the New Year.) Add TrustedBSD pathconf parameters. Add compilation support for -stable (to be merged momentarily).
* Adjust the size passed to readlink so that the null terminationdougb2002-10-251-4/+2
| | | | | | | | falls within the range of the path variable. Cribbed from the latest NetBSD source. Obtained from: provos@NetBSD.org
* Fix problem with my ability to tell the difference between 'r' and 'l'... Wejmallett2002-10-241-1/+1
| | | | | | | | want to check var[1], not val[1]. Submitted by: Mark Valentine <mark@thuvia.demon.co.uk> Pointed out by: sam Pointy hat to: jmallett
* When expanding a specific [1-char] variable, only expand said specificjmallett2002-10-241-1/+1
| | | | | | | [1-char] variable. Don't just automatically expand something which starts with that character. Obtained from: OpenBSD [3 years ago!]
* Duplicate the variable name in the v->name field, as otherwise it points tojmallett2002-10-241-1/+3
| | | | | | | | data that will be modified. And do the appropriate thing now and free the v->name buffer along with other relinquished memory. XXX There is duplication here of destroying a Var, which is probably bogus, and probably missed in a few places.
* Remove efree(), it isn't used consistently enough to even pretend that itjmallett2002-10-2310-27/+24
| | | | | | might help on the systems it could possibly be used as a bandaid for. In fact, the only thing it's useful for is instrumenting free(3) calls, and in that capacity, it's better served as a local patch, than a public wrapper.
* Change the type of an unused variable to appease a warning.markm2002-10-231-1/+2
|
* Adjust for getbsize argument type change.markm2002-10-231-1/+3
|
* Remove unneeded function prototypes.markm2002-10-231-3/+0
|
* Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.ru2002-10-231-1/+1
| | | | Spotted by: fjoe
* Add a new '-s' option to su(1): if the flag is present, attempt torwatson2002-10-232-5/+23
| | | | | | | | | | also set the user's MAC label as part of the user credential setup by setting setusercontext(3)'s SETMAC flag. By default, change only traditional process properties. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* De-obfuscate and correct the include path handling for SysV style includes.jmallett2002-10-231-35/+4
| | | | | | | PR: 32759 Submitted by: Mark Valentine Reviewed by: Matthew Emmerton" <matt@gsicomp.on.ca> MFC after: 15 days
* Use more verbose diagnostics for wrong DIGIT rangeache2002-10-201-5/+5
|
* Add checks for DIGIT set consistency to prevent common misinterpretationache2002-10-201-11/+53
| | | | | | automatically. Remove output file on error. Staticize functions declared as static.
* Improve the way base64 mode is enabled based on the program name,fanf2002-10-201-1/+2
| | | | so that it works when the path to b64encode is used to run it.
* Add my birthday.arved2002-10-201-0/+1
| | | | Approved by: kris (mentor)
* Sort by date.grog2002-10-201-124/+122
|
* Clarify holidays which apply only to the USAgrog2002-10-201-35/+21
| | | | | | | | | | | | | | | | | | | | | | Clarify that the USSR no longer exists, but some of the holidays are celebrated anyway. Reviewed in part by: ru Remove Jewish and most Muslim holidays. They're all wrong, since they don't apply to the Western calendar. The much more complete Jewish holidays are in calendar.judaic. The Muslim holidays need to be collected into a file, but there's not much point in having the wrong date. Remove many Fiji holidays. They change every year by Government decree, and some were duplicated as a result. Remove some duplicates. There's still a lot to be done; in particular, I think the Japanese and British holidays are very inaccurate. This file needs checking by people who know the details.
* Fix a problem with RTLD_TRACE flag to dlopen(3), which sometimes can returnsobomax2002-10-191-5/+4
| | | | | | | | | | | | | even if there was no error occured (when trying to dlopen(3) object that already linked into executable which does dlopen(3) call). This is more proper fix for `ldd /usr/lib/libc.so' problem, because the new behaviour conforms to documentation. Remove workaround from ldd.c (rev.1.32). PR: 35099 Submitted by: Nathan Hawkins <utsl@quic.net> MFC after: 1 week
* Revert last delta. SGR support in grotty(1) is disabled system-wideru2002-10-181-1/+1
| | | | in /usr/share/tmac/troffrc pending the issue resolution on -arch.
* When a user gets refused because the password is wrong, use themarkm2002-10-181-0/+4
| | | | | | | older "BAD SU" syslog message that folks prefer. There is quite a bit more tweaking that can be done with other similar messages. Asked for by: tjr
* Add myselfadamw2002-10-181-0/+1
| | | | Approved by: pat (mentor)
* Everyone else is doing it! (adding their birthdays)trhodes2002-10-181-0/+1
|
* New committer's first commit(birthday).maho2002-10-181-0/+1
|
* New committer first committion.daichi2002-10-181-0/+1
| | | | addition my birthday.
* Style: use sa_handler instead of __sigaction_u.__sa_handler.tjr2002-10-171-1/+1
|
* Use .Fl/Ar for flags and arguments.charnier2002-10-171-4/+6
|
* Introduce option enumeration the standard way.charnier2002-10-171-2/+4
|
* Dekerberise. The corresponding userland stuff has been dekerberisedmarkm2002-10-162-172/+7
| | | | for ages, and no-one seems to have noticed. Viva PAM!
* Dekerberise. The corresponding userland stuff has been dekerberisedmarkm2002-10-162-175/+24
| | | | | | for ages, and no-one seems to have noticed. Viva PAM! Fix some easy/trivial warnings while I'm here.
* Add section number to .Xr directive.charnier2002-10-161-6/+6
|
* The .Nm utilitycharnier2002-10-161-1/+2
|
* Introduce enumerate of options using the standard way.charnier2002-10-161-12/+10
| | | | Remove .Pp between items.
* Introduce enumerate of options using the standard way:charnier2002-10-162-4/+8
|
* Do not reuse flag name in its definition. Remove inadequate sentence.charnier2002-10-162-14/+6
|
* Spellingcharnier2002-10-165-10/+13
|
OpenPOWER on IntegriCloud