summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* The fix for >/dev/stdout, including Tor Egge's fix for the bug in thebabkin2002-01-131-4/+4
| | | | | | | | original attempt of the fix. And yes, this time I've tried to build world with it and it succeeded. Submitted by: Tor Egge MFC after: 1 week
* mdoc(7) police: tidy up.ru2002-01-091-54/+87
|
* Put the "mtxname" keyword in alphabetical order (t comes after s) sopeter2002-01-051-1/+1
| | | | that the keyword is recognized.
* Bruce thought some of the comments I added were not clear enough. This ismckay2002-01-011-8/+8
| | | | a combination of my words and his. We will stop fiddling now. :-)
* Fixed style bug (unsorting of SRCS) in rev.1.15.bde2001-12-291-1/+1
|
* Fixed style bugs in revs. 1.6, 1.10 and 1.12.bde2001-12-291-3/+2
|
* Fixed missing DPADD and disordered LDADD in rev.1.17bde2001-12-291-1/+2
| | | | | | Fixed setting of WARNS in rev.1.16. Options should normally be set using using "?=", not using "=", so that the setting is easy to override on the command line, and setting WARNS to 0 should not be an exception.
* LSCOLOURS should be spelt LSCOLORS.joe2001-12-291-1/+1
| | | | Submitted by: Jordan DeLong <fracture@allusion.net
* Remove part of a diff committed at the end of the file.ben2001-12-291-20/+0
|
* Force raw printing of non-printable characters via the -w option.joe2001-12-292-3/+12
| | | | PR: bin/28007
* Restore these files to shiny KNF.joe2001-12-292-82/+88
|
* Convert some spaces into tabs that I missed first time around.joe2001-12-281-30/+30
|
* Revert most of rev 1.42, to restore KNF style.joe2001-12-281-49/+49
| | | | Requested by: bde
* Add a new flag, -h which when combined with the -l option causesjoe2001-12-286-5/+107
| | | | | | | | file sizes to be displayed with unit suffixes; Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to three or less. Submitted by: nik
* Make it clearer what changed to a user using the old format of LSCOLORS.joe2001-12-281-3/+3
|
* Mop up some warnings.joe2001-12-284-4/+5
|
OpenPOWER on IntegriCloud