summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix the deletion of trailing newlines with backquote expansion.guido1995-03-011-2/+4
| | | | | | Reviewed by: Submitted by: Obtained from:
* 1000000 usec -> 1 sec 0 usec; fix.jkh1995-02-161-2/+2
| | | | Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
* Include <limits.h> to get the definition of INT_MAX - don't depend onbde1995-02-031-1/+2
| | | | namespace pollution in <time.h>.
* Fix bogus format string; fixes problem reported by Wolfram Schneider.dg1995-01-251-2/+2
|
* More koshering [ul]case fix, don't use pre-initialized tables at all,ache1995-01-172-76/+14
| | | | treat 0xFF as valid character.
* Make conv=[lu]case works with localized ctype (8bit)ache1995-01-171-2/+12
|
* Submitted by: David Muir Sharnoffats1995-01-141-2/+2
| | | | | domainame has referenced getdomainname(2) instead of getdomainname(3). bug report docs/137.
* fixed `s' to set dot to last line affected, not the last line inalm1995-01-141-1/+4
| | | | a substitution range.
* What I think is a more correct fix for the handling of backslashespaul1995-01-111-3/+3
| | | | inside backquotes. Reversed my previous fix.
* Fix a bug with handling backslash escapes inside some quotes.paul1995-01-091-2/+2
| | | | Should solve our problems with edit-pr.
* Don't strip off the last slash in the pathname "/". cp used tobde1994-12-301-18/+15
| | | | | | | | | | | | | | stat the pathname "" in order to decide that the pathname "/" is a directory. This caused `cp kernel /' to fail if the kernel has the POSIX behaviour of not allowing the pathname "" to be an alias for ".". It presumably also caused `cp /etc/motd /' to fail in the unlikely event that "." is not stat'able. Be more careful about concatenating pathnames: don't check that the pathname fits until prefixes have been discarded (the check was too strict). Print the final pathname in error messages. Terminate the target directory name properly for error messages. Don't add a slash between components if there is already a slash.
* Document the arch flag. It has always worked in 2.0.bde1994-12-271-1/+3
| | | | | | Document aliases for the flags. The formatting of the section describing the flags is poor.
* Obtained from: partly from 1.1.5bde1994-12-261-2/+4
| | | | | Convert "" to "." for "cd" and "cd ''". chdir("") is required to fail on POSIX systems.
* Obtained from: partly from 386BSD-0.1.2.4bde1994-12-261-14/+17
| | | | | | | | | | | | | Fix several bugs involving the obsolescent -d and -t options: -d 0 and -t 0 were ignored -t -600 was a usage error -d 'atoi is not suitable for parsing args' and -t duh were not usage errors Change some error messages to say which call to settimeofday failed. Restore casts of NULL in function calls. Finish conversion to using err() instead of perror().
* Make ls recognize the COLUMNS environmental variable, evenjoerg1994-12-181-2/+6
| | | | | | | in cases where it does not run on a terminal. This is important e.g. for commands like env COLUMNS=132 ls -CR | lpr -Psome-wide-printer
* src/bin/ed will never build DES encumbered ed again. That is the jobjkh1994-12-181-7/+1
| | | | for secure/bin/ed ...
* Use lstat() instead of stat() for checking if the final source file exists,bde1994-12-061-3/+3
| | | | | so that `ln -fs' works when the source is a symlink pointing to a non- existent file.
* Re-apply an old patchkit days fix of mine for mempages:dg1994-11-241-1/+2
| | | | | | | | | * PATCHES MAGIC LEVEL PATCH THAT GOT US HERE * -------------------- ----- ---------------------- * CURRENT PATCH LEVEL: 1 00051 * -------------------- ----- ---------------------- * * 14 Aug 92 David Greenman Fixed NEWVM mempages calculation
* Add DISTRIBUTION=krb for Kerberos case.wollman1994-11-201-1/+2
|
* Fix an error to prevent some core dumps from ps.ats1994-11-101-2/+3
| | | | | | | | You can get ps easily to core dump, if you are running a "make depend" on a kernel in one window and a "ps -auxww" in another. The ww will try to give you the full argument list of the command that can now be 64Kb large, but ps expected only 4Kb large arg arrays and doesn't check for overflows.
* Add end of line check so mkinit doesn't produce garbage if you have apst1994-11-061-2/+2
| | | | | | | | MKINIT line that doesn't have a comment on it (we have at least two). This mkinit program was written by someone who obviously doesn't believe in defensive programming. :-( There's a LOT of work that needs to be done on this thing. :-( :-( :-(
* Get this braindead, mongoloid shell look in /stand for pwd if it can'tjkh1994-11-061-3/+8
| | | | | | | | | | find it in /bin. This is something of a kludge, I know, but consider my limited alternatives: I can't make this an execvp() without making people scream that I introduced a failure point or slowed down pwd, and I can't make it an optional macro since crunch doesn't let you pass arbitrary command-line args to the build of one of its crunch-ees. This is the simplest, if not the nicest looking, solution I could come up with.
* Fix group permissions check for group list size > 1ache1994-11-051-3/+13
| | | | Pointed by Bruce
* Fix root -w case according to manpage (-x & -r cases already accords)ache1994-11-051-4/+7
| | | | Pointed by Bruce.
* Cosmetique, missing tab/spaces after patchache1994-11-051-6/+6
|
* More complex implementation of previos superuser fixache1994-11-051-2/+10
| | | | because rw and x bit treats differently infact
* test produce wrong results for superuser, i.e. tellsache1994-11-051-2/+2
| | | | that file is unreadable when it is readable infact.
* Nuked #ifdef __386BSD__ since this is not appropriate and no longer defineddg1994-11-031-4/+2
| | | | in our 2.6.1 gcc port.
* Don't check existence of -lcrypt to decide if DES is employed,phk1994-10-291-2/+2
| | | | instead check that "NOCRYPT" isn't defined.
* Use kvm_uread instead of kvm_read to access the upages.dg1994-10-181-2/+3
|
* Back out ctype fix, unneded with new ctypeache1994-10-091-2/+2
|
* Skip 'cua' 3 chars like 'tty' 3 charsache1994-10-021-2/+3
|
* On second thought...back out previous commit.dg1994-10-024-9/+5
|
* Include rtprio.hdg1994-10-024-5/+9
|
* libcompat removedache1994-10-021-3/+3
|
* First level of changes for bringing in eBones (kerberos).csgr1994-09-291-5/+13
| | | | | | | | - Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile, and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions, and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY DEFINE ONE OF THESE. - Make Makefiles kerberos-aware.
* Actually implement this correctly.wollman1994-09-261-5/+2
|
* Added $Id$dg1994-09-24259-1/+382
|
* Remove bogus cast that was introduced in the previous commit.bde1994-09-211-1/+1
|
* Remove redundant declarations that were added in the previous commit.bde1994-09-212-6/+1
|
* Make ls ctype-awareache1994-09-211-1/+1
|
* fix ln to accept -f again. Thanks Bruce. Seems that Joe Grosch isn'tphk1994-09-201-1/+1
| | | | | quite as safe as I thought. I will have to look much closer on his patches. Damn.
* Applied patch to make -Wall and -Dlint shut up.phk1994-09-201-2/+4
| | | | | Reviewed by: phk Submitted by: Josef Grosch <joeg@gagme.wwa.com>
* The former patch to sync.c was short-lived. Bruce pointed out thatphk1994-09-201-2/+3
| | | | "Now it is has 2 portability bugs, which is a lot for 5 lines of working code"
* /home/phk/jgphk1994-09-201-2/+2
|
* Applied patch to make -Wall and -Dlint shut up.phk1994-09-205-11/+17
| | | | | Reviewed by: phk Submitted by: Josef Grosch <joeg@gagme.wwa.com>
* Add support for '-k' option to print file allocation space in 'K' instead ofpst1994-09-192-2/+11
| | | | | | | system blocks. This is semi-original code, not the same way this crufty option was handled in FreeBSD 1.x.
* Added domainname.wollman1994-09-181-3/+5
|
* A new domainname(1) command based on hostname(1), this time with a correctwollman1994-09-183-0/+146
| | | | manual page.
* With '!' being made into a keyword (yech!), case cases didn't work properly.sef1994-09-141-11/+13
| | | | | | | | | | This should fix it (passed my test cases). Originally discovered with perl's Configure (well, in FreeBSD, I don't know how the NetBSD folks discovered it). Reviewed by: sef Submitted by: jtc@cygnus.com Obtained from: NetBSD
OpenPOWER on IntegriCloud