summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Additionly print strerror(errno), when getwd() fails to startache1995-06-181-2/+2
| | | | | in initial directory. Obtained from: idea from NetBSD
* Fix error:ache1995-06-181-5/+12
| | | | | | which /bin/ls .//bin/ls Obtained from: NetBSD
* When filec active, TCSANOW was used in any case instead ofache1995-06-181-5/+5
| | | | | sensing TCSADRAIN/TCSAFLUSH Obtained from: NetBSD
* Don't unlink the target file if the copy failed. This behaviour isn'tbde1995-06-141-8/+7
| | | | | | | | | | documented and is incompatible with gnu cp. It has very few good effects (it recovers some disk space) and many bad ones: - special files are unlinked after certain errors. - the data may not be recoverable if the source is a special file or fifo. - unlinking destroys the target attributes as well as the target data. - unlinking doesn't actually remove the target data if the target is multiply linked.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Remove trailing whitespace.rgrimes1995-05-3066-320/+320
| | | | Reviewed by: phk
* Describe -m optionache1995-05-061-2/+11
|
* typo there --> theiradam1995-05-051-9/+16
|
* From "Philippe Charnier" <charnier@lirmm.fr>:dg1995-05-051-1/+5
| | | | | | | | | There is a bug in sh: the built in command "fc -l" generates a core dump (*NULL in not_fcnumber). According to the sh manual page (fc -l [-nr] [first [last]]), fc -l is a correct sequence (in that case, values are defaulted to -16 and -1) but fails when first is not given.
* Support nonstandard (not yet all supported) flow control options. `ctsflow'bde1995-04-292-7/+32
| | | | | | | | | and `rtsflow' are the components of `crtscts'. `dtrflow' and `dsrflow' are new and not yet supported. `dtrflow' may be useful for Cyclades serial careds, which have h/w support for it and no h/w support for `rtsflow'. print.c: Report NTTYDISC in case the line is in this obsolescent state.
* Fix `stty' on the output of `stty -g'. The changes for the gfmt1 optionbde1995-04-291-1/+2
| | | | weren't TIOCSETD'd unless another option changed something.
* Fix bugs:ache1995-04-283-14/+11
| | | | | | | cchars2 not used can't set or report MIN or TIME == 255 TIOCSETD on wrong fd PPPDISC is not reported
* Install with default BINOWN (as it once used to be).dg1995-04-151-2/+1
|
* Install setgid kmem rather than setuid root. The problem with procfs thatdg1995-04-151-2/+3
| | | | was breaking this before has been fixed.
* Allow root to delete uchg/uappnd filesache1995-04-132-30/+68
|
* date(1) didn't emit a final newline if the format had been specifiedjoerg1995-04-032-5/+5
| | | | | | with `+'. This breaks tradition and violates Posix 1003.2. Discoverd by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
* Add braces to fix wrong if-if-else-if nesting that broke `cp -pR' forbde1995-04-021-4/+6
| | | | fifos.
* Make build work, even if there is no obj subdir.phk1995-03-301-3/+11
|
* Having BLOCKSIZE=K and using "-k" option ls would use 2K block size...phk1995-03-231-4/+6
|
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-1925-103/+120
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* Fix previous fix that removes an unnecessary space; the output is nowdg1995-03-091-3/+6
| | | | just like it was in 1.1.5.
* Allow 0 as a signal number to match the man page.jkh1995-03-051-2/+2
| | | | Noticed by: Mike Murphy <mrm@Sceard.COM>
* Use `interactive' (foreground) delivery by default. The old behaviourjoerg1995-03-052-2/+10
| | | | | | | | of queuing mails only can be restored by uncommenting a CFLAGS+= line in the makefile, so sites that _really_ need this (perhaps some huge mail hubs) can still have it. The majority of FreeBSD boxes is better served with an immediate delivery (and last time i've been asking on the list, nobody complained).
* 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.
OpenPOWER on IntegriCloud