summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Of these programs, only df and ps aren't compatible with FreeBSD/Alpha.jb1998-05-091-4/+4
| | | | | | All the rest work! Actually, I don't know if chio works because I can't test that. df can be built using NetBSD's mount.h. ps depends on libkvm so there is no point trying.
* Backed out previous backout. Put y.tab.h back in SRCS.bde1998-05-061-10/+6
|
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-0633-257/+227
|
* Correct use of .Nm, .An and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-062-13/+15
|
* Backed out previous commit. It was tested, but not for the case wherebde1998-05-051-4/+8
| | | | | a separate object tree doesn't exist. Crufty makefiles will have to put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
* Fixed races in `make -jN' using new yacc rules.bde1998-05-041-8/+4
|
* Simplified using new yacc rules and by not generating y.tab.h.bde1998-05-041-10/+4
|
* When calling a shell function, remember whether exit status is tested.cracauer1998-05-041-2/+5
| | | | | | This is needed for the '-e' option. See the PR for more details. PR: 6047 Reviewed by: PR submitter, silence on review request.
* Add note about BLOCKSIZE variable to -s flag.imp1998-04-291-2/+3
|
* Backed out most of rev.1.19 (explicit dependencies of object filesbde1998-04-261-19/+1
| | | | on generated headers). This is now handled generally in bsd.prog.mk.
* Fix nasty error in len_octal, result not initializedache1998-04-251-2/+2
|
* Fix ctype error #1 - chars must be unsignedache1998-04-251-2/+2
|
* Remove the bogus -? option after reading the getopt() manual :)des1998-04-243-8/+6
|
* o Removed two unused variables (f_dirname and f_newline) in ls.cdes1998-04-243-27/+58
| | | | | | | | | | | | | | | o Added the -H and -P options for treatment of symbolic links. o Removed the #ifdef BSD4_4_LITE, since it does not seem to do anything useful o Fixed up prn_octal() so its output looks more like that of AT&T Unices when -b is given. The next two lines apply only to the first two changes above: PR: bin/6140 Submitted by: Max Euston
* Updated references to the behaviour of ls(1).des1998-04-241-20/+15
| | | | | PR: bin/6140 Submitted by: Max Euston
* o Renamed '-b' (show unprintables in octal) to '-B'des1998-04-245-25/+97
| | | | | | | | o Added a new '-b' which behaves as in AT&T Unices (show unprintables in octal, using C escape codes when possible) o Added '?' to the getopt() string, since the code in the switch considers it as a valid option.
* Added -b option to display unprintables in octal.des1998-04-216-11/+71
| | | | PR: 1315
* Spelling/typo fixes: (preceeded, friday).rnordier1998-04-201-3/+3
|
* Rats. I was too quick. Work needs to be done on the non-Kerberosmarkm1998-03-261-3/+3
| | | | case. Re-enable SUID mode.
* KTH announced a weakness in their implementation of KerberosIV.markm1998-03-263-15/+30
| | | | | | FreeBSD was not vulnerable, but their fix had some useful features. Incorporate the best of those - rcp(1) no longer needs to be SUID to root.
* .Sh AUTHOR -> .Sh AUTHORScharnier1998-03-193-14/+24
| | | | Use .An/.Aq
* Some things only work on i386.jb1998-03-131-3/+7
|
* Fixed existence test for secure sources (don't test for secure objects).bde1998-03-061-4/+4
| | | | Fixed some formatting.
* Don't assume sigset_t and int are equivalent.jraynard1998-02-287-31/+31
|
* Exit with a nonzero status if we get killed by a SIGINT. POSIX.2bde1998-02-241-4/+5
| | | | | | | | | specifies exiting with a zero status if the file was copied successfully, and with a nonzero status if an error occurred. We are too sloppy to tell if the file was copied successfully when we get killed by a SIGINT, but it is unlikely to have been. Added a comment about related sloppiness (calling exit() from a signal handler).
* Add 'f' flag to the optstring.dima1998-02-181-2/+2
|
* cosmetic change for optstringdima1998-02-181-2/+2
|
* Explicitly describe the rules the shell uses to search for a filejdp1998-02-121-1/+10
| | | | sourced by the "." command.
* spellingeivind1998-02-111-2/+2
| | | | Obtained from: OpenBSD (src/bin/chio/chio.c rev 1.7) by todd@openbsd.org
* Fix printing for bytes read > 4G.asami1998-02-112-4/+4
| | | | Reviewed by: bde
* Back out my previous attempt to fix SIGINT/SIGTERM behaviourcracauer1998-02-061-16/+0
|
* Fix handling of SIGINT/SIGQUIT for foreground subprocesses. Mostcracauer1998-02-061-1/+17
| | | | | | | | | | | | | | | | urgent need is when you run sh around a program that intentionally uses SIGQUIT/SIGINT for asynchronous events, i.e. $EDITOR started from system(2), like many mailers do. This fixes PR bin/1206 and possibly bin/4241. The solution committed has been tested for a large number of possible cases (see recent discussion on cvs-committers). I completed a make world, made sure 'make world' is interruptable and used the changed /bin/sh as a login shell all day, including job control and using SIGQUIT-catching programs (to write this message :-). PR: bin/1206 Reviewed by: discussion on cvs-commiters
* Display VSZ much more accurately now.dyson1998-02-021-3/+2
|
* setpwent now has a void return type, so remove the now bogus cast.steve1998-02-011-3/+3
|
* Cast a size_t to a long to avoid a gcc warning.jb1998-01-251-3/+3
|
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-2/+2
| | | | the default.
* Fixed syntax error in normally-unconfigured code in previous commit.bde1998-01-171-2/+2
|
* Fixed handling of short writes. Previously, we stopped copying andbde1998-01-161-5/+17
| | | | | | printed a bogus warning with a stale errno if write() returns a short count. Now we continue copying. We still print a bogus warning if write() returns an "impossible" short count of 0.
* Make a couple of the stat flags dependent on the sys/stat.h header filejb1998-01-091-1/+9
| | | | | | | | | | | that this source is compiled against. This source is referenced by install which is needed as a build tool and must be able to compile against NetBSD headers and libraries if we have a hope of supporting another architecture. With this change, that's two working programs down and 3945 (?) to go. The other one was make, but that didn't need any changes to work under FreeBSD/Alpha. 8-)
* Oops, back out rev 1.5, it wasn't my intention to also commit thejoerg1998-01-071-2/+1
| | | | -g. ;)
* Use the correct value in the call to swab(3) with conv=swab. Previously,joerg1998-01-072-3/+4
| | | | | | | | | | dd if=/dev/zero of=/dev=null obs=23520 conv=swab coredumped. Please somebody review it, i'm not 105 % sure i'm understanding all this mess correctly. Detected by: Holm Tiffe <holm@geophysik.tu-freiberg.de>
* Correct a bogon in an example.steve1998-01-021-2/+2
| | | | | PR: 5415 Submitted by: Sergei S. Laskavy <laskavy@pc759.cs.msu.su>
* Ensure stdout is line buffered.helbig1997-12-312-3/+7
| | | | Change "pat" -> "re" in man page.
* Added $Id$.alex1997-12-291-0/+2
|
* Use consistent spelling,hoek1997-12-251-2/+2
| | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :)
* Add (BSD) copyright headers.brian1997-12-212-0/+56
|
* Don't strip trailing slashes (for the initial rmdir). It breaksbde1997-12-191-9/+1
| | | | | | | | | | | | | | | | | following of the symlink for `rmdir symlink/' and is unnecessary for ordinary directories (POSIX doesn't require rmdir(1) to do anything for trailing slashes; it requires rmdir(2) to let them "refer to a directory", and following the symlink for symlink/ is what BSD does). This also fixes bugs in the slash-stripping code (for paths consisting entirely of slashes, the pointer into the string was decremented to "before" the beginning of the string, and the path was at best stripped to "". The behaviour is unchanged except for the final directory for `rmdir -p ...'. There is no alternative to stripping intermediate slashes since they must be specified. The sloppy slash-stripping code is adequate for intermediate directories, since the all-slashes case fails early.
* It's more portable to use <errno.h> than <sys/errno.h>eivind1997-12-151-2/+2
| | | | Pointed-out-by: bde (a long while ago)
* Revert 1.15 - duplicate code (initialization).eivind1997-12-151-5/+0
| | | | Pointed-out-by: bde
* Make code slightly more robust towards change by calculating sizeeivind1997-12-121-2/+2
| | | | | | in-place. Obtained from: OpenBSD ar_subs.c rev 1.7 by Tood Miller <millert@openbsd.org)
OpenPOWER on IntegriCloud