summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
1996-12-10"the the" purgeTheo de Raadt
1996-12-09support pax '-s replstr' option in tar mode too. this can be used toTheo de Raadt
deal with cleaning up absolute paths
1996-12-09revert to spawning compress-ing program. normally we want extracts usingTheo de Raadt
'z' to also work on .Z files, but libz does not deal with compressed data. Hacking the code to deal well with pipes has proven very hard.
1996-12-07handle -t & -l in more cases; netbsd pr#2869, hubert.feyrer@rz.uni-regensburg.deTheo de Raadt
1996-12-04use TCSADRAIN instead of TCSANOW, to avoid dropping characters.Todd C. Miller
Fix from NetBSD (christos), reported by Chris Torek.
1996-12-01Parser fix from NetBSD (christos)Todd C. Miller
- ! was only recognized in the beginning of pipelines. Now we are recognizing it everywhere like ksh, so the following works. ! if [ a = b ]; then ! echo c && ! true; else ! echo d; fi
1996-11-30Install ksh as sh too.Jason Downs
1996-11-24Fix truncation of options list in getopts builtin.Todd C. Miller
Noticed by Matthieu Herrb <Mathieu.Herrb@mipnet.fr>
1996-11-24Fix core dump if -xz and archive does not exist (doh!)Todd C. Miller
1996-11-24Sync w/ NetBSD (christos)Todd C. Miller
Fix miscellaneous getopts problems: - the 3 argument version of getopts would not reset properly - OPTARG did not get cleared after a non argument option was found - OPTIND was not set properly after a non argument option.
1996-11-2464-bit cleanup + pedantic -W flagsNiklas Hallqvist
1996-11-21syncJason Downs
1996-11-21Update to 5.2.12.Jason Downs
1996-11-12-Wall happinessNiklas Hallqvist
1996-11-03sh can now be started in a directory whose fully qualified pathnamebitblt
is between 255 and MAXPATHLEN-1 characters.
1996-11-02Fix my fix!Todd C. Miller
1996-11-02Fix eval of $1, a typo, and a thinko.Todd C. Miller
1996-11-02useful useage, abbreviateable commandsTheo de Raadt
1996-11-02Update from NetBSD (christos)Todd C. Miller
Quote all imported environment variables.
1996-10-28Don't strip off the last slash in the pathname "/". cp used toThorsten Lockert
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. Fix from FreeBSD
1996-10-27compileTodd C. Miller
1996-10-27Don't honor $HOME if >= MAXPATHLENTodd C. Miller
1996-10-27Initial cut -C support in paxtar. Exceeds GNU tar by quite a bit.Jason Downs
General pax still seems to work ok.
1996-10-27-z can now list/extra compressed files too. Uses new gz_iszipped() function.Todd C. Miller
1996-10-20Sync with NetBSD. Adds better POSIX compliance amongst others.Todd C. Miller
1996-10-13Update to version 5.2.11.Jason Downs
1996-10-12Back out my sprintf -> snprintf changes where they don't make sense andTodd C. Miller
use good ole strcpy() instead. Also use perror() instead of fprintf() where it makes sense.
1996-10-12use HOSTCC; from daleTheo de Raadt
1996-10-08Attempt at cleanup.michaels
1996-10-01Move ksh.1 to ksh.1tbl, fixing all of it's problems in one massive paradigmJason Downs
shift. Or something like that.
1996-10-01Integrate pdksh 5.2.9.Jason Downs
1996-09-28Back out last change, getopt on OpenBSD returns -1, not EOFimp
1996-09-28Fix the return value of test of getopt. It is documented to returnimp
EOF when there are no more args to process. This happens also to be a trivial difference between FreeBSD and OpenBSD which FreeBSD has right. Shouldn't break anything because EOF is #defined to be -1 on BSD systems.
1996-09-27unused sample way of getting around type missing in ash; from woods@weird.comTheo de Raadt
1996-09-24remove lint, reduce executable size.michaels
1996-09-22Use zopen for compress-style compressed archivesThorsten Lockert
Use libz for gzip-style compressed archives
1996-09-16/tmp//_shXXXXXX -> /tmp/_shXXXXXXTodd C. Miller
1996-09-16These should always be static.Jason Downs
1996-09-16Use $STATIC.Jason Downs
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-09-15fix a typo and vsprintf -> vsnprintf paranoiaTodd C. Miller
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-09-15Don't complain if setsockopt() fails. It will fail if we used rcmdsh()Todd C. Miller
instead of rcmd() and there's no easy way to detect which we used now.
1996-09-15document ``ulimit'' builtin.Todd C. Miller
1996-09-14WHen we fail to open tape device, only print an error message if errnoTodd C. Miller
is non-zero. If errno is 0 then the remote mt already did the message...