summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Use %+ to print data using LC_TIMEache1995-08-051-2/+2
|
* expr(1) didn't comply to Posix.2 and its own man page: anyjoerg1995-08-041-1/+13
| | | | | | | | comparisions have been made as string comparisions, even in cases where both operands clearly qualified as integers. The fix is to make the parser properly analyzing whether an operand is a valid integer or not.
* Set NOSHARED=true, having this binary static makes it much easier torgrimes1995-07-241-0/+2
| | | | | | fix /usr/lib/*.so problems. Submitted by: davidg
* Move first PATH initialization after sensing for interactive,ache1995-07-071-10/+12
| | | | first relative path warning was disabled in old case
* Do the same check for interactive shell (PATH warning)ache1995-07-071-2/+3
| | | | like in csh.c
* Produce importpath warning only for true interactive shells,ache1995-07-071-2/+3
| | | | close PR 598
* Improve the recently changed and an old error message: don't report probebde1995-07-042-7/+5
| | | | errors.
* stty fails with a non-obvious error message if it's run on a non-ttyjoerg1995-07-021-3/+5
| | | | | | | | | | | | | | | | stream, such as a rsh or vi pipeline. The error message is: stty: TIOCGETD: Operation not supported It's immediately obvious to the knowledgable hacker type, but not exactly comforting to the user who's not native to unix. It's especially confusing if there's a stty command in their .cshrc and it's showing up on rsh output. (Fixes PR #bin/573) Submitted by: peter@haywire.dialix.com (Peter Wemm)
* Improve the handling of large minor numbers:bde1995-06-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cpio/copyout.c: Don't output a file if the major, minor or totality of its rdev would be truncated. Print a message about the skipped files to stderr but don't report the error in the exit status. cpio's abysmal error handling doesn't allow continuing after an error, and the rdev checks had to be misplaced to avoid the problem of returning an error code from routines that return void. pax/pax.h: Use the system macros for major(), minor() and makedev(). pax already checks _all_ output conversions for overflow. This has the undesirable effect that failure to convert relatively useless fields such as st_dev for regular files causes files not to be output. pax doesn't report exactly which fields couldn't be converted. tar/create.c: Don't output a file if the major or minor its rdev would be truncated. Print a message about the skipped files to stderr and report the error in the exit status. tar/tar.c: For not immediately fatal errors, exit with status 1, not the error count (mod 256). All: Minor numbers are limited to 21 bits in pax's ustar format and to 18 bits in archives created by gnu tar (gnu tar wastes 3 bits for padding). pax's and cpio's ustar format is incompatible with gnu tar's ustar format for other reasons (see cpio/README).
* 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
OpenPOWER on IntegriCloud