summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Replace incomplete malloc prototype with #include <stdlib.h>jb1998-02-201-2/+2
| | | | to get the proper one.
* Add #include <stdlib.h> to get prototype for malloc().jb1998-02-201-0/+1
|
* Add #include <string.h> to get prototypes.jb1998-02-206-4/+10
|
* Add #include <stdlib.h> to get prototype for malloc(). Without this,jb1998-02-201-1/+2
| | | | | the compiler assumes an int return. On alpha this is enough to ruin ya day.
* Add #include <string.h> to get prototypes for functions that gccjb1998-02-205-0/+5
| | | | has builtin (and wants to know that the prototypes match).
* Make it more convenient to query NICs other than InterNIC. Explain in thewollman1998-02-192-34/+81
| | | | man page what each database contains.
* Missing newline when euid != ruid.steve1998-02-181-3/+3
| | | | | PR: 5778 Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
* Add #include <string.h> to get prototype for memcpy().jb1998-02-151-1/+2
|
* gcc on alpha complains about nested comments. A comment in thisjb1998-02-151-1/+1
| | | | | | file referred to a path ending in "/*" which was reasonable to me, but gcc wasn't so sure. So now the comment refers to a path ending in "*".
* Cleanup code so that long lines to be quoted don't get truncated.steve1998-02-141-13/+11
| | | | | PR: 5679 Reviewed by: Bruce Evans <bde@zeta.org.au>
* Fix top sorting of idle processes. top used p_cpticks as a tie-breakerpeter1998-02-141-3/+3
| | | | | | | but that isn't suitable (it gets zeroed each second apparently). PR: bin/4957 Submitted-by: Dan Nelson <dnelson@emsphone.com>
* Fix very rare but dangerous bug:ache1998-02-131-1/+3
| | | | | | | | | | | for some DES passwords crypt(real_password, salt) is equal to crypt("", salt); It means that this user (and not only he) can login without entering password at all, just pressing Return. So if empty password entered and crypted password is not empty, invalidate any crypt result by assigning ":"
* Fixed a comment. The module size is (unfortunately) in K, but it is notbde1998-02-121-2/+2
| | | | in pages.
* Update to reflect the current Jewish calendar.steve1998-02-081-12/+12
| | | | | PR: 5683 Submitted by: jgrosch@MooseRiver.com
* locate(1) is no longer started by /etc/weekly.alex1998-02-071-5/+5
|
* Reset SGINT and SIGQUIT handling to default when asking for passwords.guido1998-02-051-1/+5
| | | | | | | | | Otherwise, when pressing the INT ke at the password prompt, the password will be displayed. Now login will be killed. Probably the same will have to be done for the LOGIN_CAP_AUTH case. I have not done that. Reviewed by: Joerg Wunsch
* Convert to mdoc. Move Id to the top.charnier1998-02-041-82/+91
|
* Don't print garbage when user enters EOF at name prompt.pst1998-02-031-3/+4
| | | | | PR: 5565 Submitted by: Jens Schweikhardt
* PR: bin/5529cwt1998-02-021-2/+2
| | | | | | | Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net> Do not misinterpret file names with a digit in the 2nd column as a tab stop specification.
* Convert to mdoc format. Header -> Id.charnier1998-02-021-357/+395
|
* Search for proper executables, ignore directorieshelbig1998-02-011-3/+3
|
* ulimit does not have its own manpage as it is a shell builtin.steve1998-02-011-2/+1
| | | | | PR: 5582 Submitted by: Craig Leres <leres@ee.lbl.gov>
* Add rcsid. RU#. Use err(3) instead of local redefinition. Convert man page tocharnier1998-01-2813-499/+337
| | | | mdoc format. Add usage(). Remove rcs $ Log $ -> use cvs log instead.
* Add two new options:wosch1998-01-252-11/+39
| | | | | | | | -i Do not overwrite files. -s Do not strip output pathname to base filename. By default uuencode deletes any prefix ending with the last slash '/' for security purpose.
* Use -literal to make for a more pleasing list.steve1998-01-251-1/+1
| | | | | PR: 5547 Submitted by: Matthew Hunt <mph@pobox.com>
* Add a sysmk -> /dev/null definition ready for a coming change tojb1998-01-252-0/+2
| | | | makesyscalls.sh.
* Random data is no longer based on the time of day, rather the randomsteve1998-01-241-3/+4
| | | | | | | number device. Also clearly state that sequential data is the default. PR: 5553 Submitted by: Jonathan Hanna <pangolin@rogers.wave.ca>
* Printers under FreeBSD are /dev/lpt*msmith1998-01-221-2/+2
|
* Fix DOS keyboard handling to use standard pointer addresses instead ofjlemon1998-01-211-11/+19
| | | | | an index into a private array. Submitted by: Randall Hopper <rhh@ct.picker.com>
* Converted to Lite2 mount interface - don't use numeric filesystembde1998-01-201-17/+13
| | | | | | | | | | | | types. The NetBSD compatibility cruft was more correct for -current than FreeBSD's own code. It just used NetBSD #defines instead of string literals for the filesystem names. NetBSD's MOUNT_UFS is "ffs", so using a literal "ufs" gives wrong results, but this is unimportant, especially for bootstrapping. Fixed style bugs in trymmap(). Fixed some disordered declarations.
* Converted to Lite2 mount interface - decide filesystem types by namebde1998-01-201-3/+3
| | | | instead of by number.
* Merged from Lite2. This was mostly already done, mostly indirectlybde1998-01-201-5/+9
| | | | | | | via wollman's changes in rev.1.2 being adopted by Lite2 and the nfsv3 changes in rev.1.3 being adopted by both FreeBSD and Lite2. We were only missing lookup of the type number for nfs (MOUNT_NFS doesn't exist in Lite2).
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-1/+0
| | | | the default.
* Started getting rid of the compatibility cruft for the Lite1 mount()bde1998-01-171-9/+11
| | | | | | | | and the pre-Lite2 vfsconf interfaces. For lsvfs, use the new interface for getvfsbyname(), and use the old interface for getvfsent() explicitly instead of depending on macro hacks in <sys/mount.h>. This is an intermediate step.
* Handle option -j correctly.helbig1998-01-151-3/+3
| | | | | Synchronize usage message with man page. PR: bin/5488
* Add #ifdefs for __NetBSD__ in the rest of the places where __FreeBSD__jb1998-01-151-12/+12
| | | | | | | | | is defined so that this program behaves the same when built with either set of tools. The only difference is where the pre-processor is found. And that is a bug - it should check the CPP environment variable and the path before just assuming that the compiled in path is OK. I guess we should be using -Y ${WORLDPATH}/usr/bin/cpp during a bootstrap build.
* Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) andcharnier1998-01-1412-60/+82
| | | | add usage().
* Add rcsid, remove unused #includes, change exit(-1).charnier1998-01-141-4/+7
|
* Change MAP_FAILED to type void *.alex1998-01-131-3/+3
| | | | Typo fix.
* Change message 103, trailing \n is not needed when using errx(3).charnier1998-01-124-8/+8
|
* Use Id instead of Header. Change message 103, trailing \n is not neededcharnier1998-01-124-8/+8
| | | | when using errx(3).
* Use Id instead of Header. Sort #includes. Use err(3) and change exit(-1).charnier1998-01-121-23/+19
|
* changed 1st appeared in clause -- about to import into -stableobrien1998-01-121-3/+3
|
* Update for new common calendar.steve1998-01-121-25/+125
| | | | Submitted by: Josef Grosch <jgrosch@superior.mooseriver.com>
* Reword the synopsis line so that it makes sense.steve1998-01-121-2/+2
|
* Add an option (-M) to install to disable use of mmap(2). This is kindapeter1998-01-112-7/+14
| | | | | | handy at the moment with -current's mmap+unlink interactions.. The problems seem worst when using INSTALL="install -C" in /etc/make.conf. This could well come in handy in the future too.
* A partial frontal lobotomy for find if using the NetBSD libc whichjb1998-01-103-1/+12
| | | | | | | | | doesn't know about getvfsbyname() and the vfsconf structure. This disables the -fstype option if compiled with a pre-processor that defines __NetBSD__. With the FreeBSD built pre-processor, find can only be built with the FreeBSD libc. So when running with a NetBSD kernel, FreeBSD's libc will have to return ENOSYS for things that NetBSD doesn't support. That's life in a hybrid world.
* Revert to previous behaviour, only generate NLST for explicit "nlist"msmith1998-01-091-3/+3
| | | | | command. Submitted by: wollman
* Revert the changes yet again, after some email from Bruce. Sorry.sef1998-01-095-13/+13
|
* Add __NetBSD__ in a couple of places to allow this program tojb1998-01-091-3/+5
| | | | | compile under NetBSD, but behave like FreeBSD. For the time being, look for NetBSD's cpp in /usr/bin.
OpenPOWER on IntegriCloud