summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-223-6/+10
|
* Partially fix (well, work around) warnings inspired by lint, amarkm2002-02-221-2/+2
| | | | commercial lint and WARNS=4.
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-221-2/+3
|
* Warnings fixes inspired by lint, a commercial lint and WARNS=4.markm2002-02-221-5/+4
|
* Warning fix. Enter into the spirit of getopt(3) a bit more.markm2002-02-221-0/+2
|
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-227-36/+35
|
* Fix warnings inspired by lint, a commercial lint and WARNS=4markm2002-02-221-9/+8
|
* Revert wchan functionality. Add 'mwchan' to supply new duel mutex/msleepdillon2002-02-215-3/+34
| | | | | | functionality and make it the default. With additional improvements by: Mark Peek <mp@FreeBSD.org>
* Remove extraneous blank linejedgar2002-02-191-1/+0
|
* Use acl_dup() to duplicate an ACL instead of rolling our ownjedgar2002-02-191-14/+2
|
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-192-0/+4
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* Remove now-obsolete __STDC__ ifdefs, remove redundant NULL definition andimp2002-02-183-14/+1
| | | | include stdlib.h for NULL.
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-171-7/+13
|
* When blocked on a mutex, display the mutex name via the wchan string fielddillon2002-02-161-1/+4
| | | | | so we can at least tell the difference between being blocked in Giant and being blocked in some other mutex.
* Document the 'M' state.des2002-02-161-0/+2
|
* Move user_from_uid to pwd.himp2002-02-142-0/+4
| | | | | | | | | | | | | Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files. NetBSD has these defined in those files, and others too that I've not done. Approved by: terminal room kabal Reviewed by: jhb, phk
* Install complete.tcsh and csh-mode.el into ${SHAREDIR}/examples/tcsh.mp2002-02-121-0/+3
| | | | | | PR: misc/34800 (from Steven Grady) Submitted by: phantom (patch) MFC after: 3 days
* Repo-copied `src/bin/pwd/realpath.1' to `src/bin/realpath/realpath.1',mike2002-02-111-68/+0
| | | | as part of the move to seperate realpath(1) into its own directory.
* o Remove old code from pwd(1); realpath(1) is now in its own directory.mike2002-02-113-19/+4
| | | | | o Fix some unordered includes in pwd(1). o Connect realpath(1) to the build.
* Move the realpath(1) source into its own directory. Previously, itmike2002-02-112-0/+74
| | | | shared sources with pwd(1).
* Use the getprogname(3) function instead of directly accessingmike2002-02-101-4/+2
| | | | | | `__progname'. Submitted by: dd
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Correct a logic bug that snuck in and broke multiplication of off_ts.green2002-02-071-1/+1
|
* Fix the race between the stat() and the mkdir().zarzycki2002-02-051-16/+19
| | | | Reviewed by: jkh
* Add -L option (SUSv3) to pwd(1). Fix a bug, where realpath(1) wouldmike2002-02-042-28/+84
| | | | | | | | complain about paths starting with `-', by not calling getopt(3). Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> Obtained from: NetBSD (partially) MFC after: 1 month
* Correct inadvertent style botches in previous commit.kris2002-02-045-11/+7
|
* Lock down with WFORMAT=1 except those directories with unfixed warnings.kris2002-02-0410-1/+16
| | | | Tested on i386 and alpha.
* __printflike() should really be __printf0like() since verrx() cankris2002-02-041-1/+1
| | | | accept a NULL format string.
* Add a __printflike() attribute to silence warning with FORMAT_AUDIT=1kris2002-02-041-1/+2
|
* Use __FBSDID() and clean up the vendor tags.markm2002-02-035-21/+27
|
* WARNS=4 fixes, plus a healthy dose of fixes inspired by lint.markm2002-02-037-72/+84
|
* WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extramarkm2002-02-0310-235/+239
| | | | cleanup courtesy of automatic checking (lint).
* Work around a buffer overflow problem on argv that has been exposedknu2002-02-031-6/+16
| | | | | | | | | | | | | | | | | | after making test(1) a sh(1) builtin; sh(1) coredumps when you run something like this: sh -c 'test ! `true 1`' The cause is that the test(1) code totally depends on the presence of two extra cells at the end of argv that are filled with NULL's. The reason why the bug hasn't been exposed would be because the C startup code kindly prepares argv with some extra zeroed cells for a program. I know this is not the best fix, but since there are argv++'s without boundary checks everywhere, I'd rather patch it up like this (preparing a copy of argv with extra NULL's) for the moment. MFC after: 3 days
* Use a more correct method of copying entire ACLs (fixesjedgar2002-02-031-3/+16
| | | | operation under Linux).
* Fix unused variable.imp2002-02-021-0/+1
|
* missed a few registersimp2002-02-021-3/+3
|
* Ooops, forgot to remove the registers here.imp2002-02-0214-318/+318
|
* %.* takes an int, not a size_t.imp2002-02-021-1/+2
|
* o __P has been reovedimp2002-02-0262-1412/+780
| | | | | | | | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o Change int foo() { ... to int foo(void) { ...
* o __P has been reovedimp2002-02-0242-1809/+447
| | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
* o __P has been reovedimp2002-02-0211-348/+207
| | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o gc some #ifdef sun ... #endif code Approved by: arch@, new style(9)
* o __P has been reovedimp2002-02-0211-156/+106
| | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9)
* Modernization effort for bin/c*:imp2002-02-026-129/+67
| | | | | | | | | | | | o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9)
* Drag cat(1) kicking and screaming into the late 1980's:imp2002-02-021-21/+11
| | | | | | | | | | | | o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9)
* Refer to the original mode of the file, not the mode of the originalsheldonh2002-02-011-3/+3
| | | | | | | file. PR: docs/34224 Submitted by: "Gary W. Swearingen" <swear@blarg.net>
* Remove a stray `:' after `v' in the getopt() call.ru2002-01-281-2/+2
| | | | Submitted by: bde
* GC the -W option. kvm(3) doesn't read swap for almost 10 years.ru2002-01-282-21/+7
| | | | | | PR: docs/34134 Reviewed by: bde, peter MFC after: 1 month
* Commit general cleanups (separate get_num() and get_off_t() functions togreen2002-01-253-59/+109
| | | | | debogosify some of the command-line string-number conversions into an unsigned and signed variant.)
* Prevent overflowing the buffer that stores the command arguments.mikeh2002-01-201-4/+8
| | | | | | PR: bin/19422 Not objected to by: -audit MFC after: 3 weeks
* Add missed includes.sobomax2002-01-153-0/+3
| | | | Reviewed by: md5
OpenPOWER on IntegriCloud