summaryrefslogtreecommitdiffstats
path: root/bin/sh/redir.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r272575: sh: Eliminate some gotos.jilles2015-09-131-15/+14
* MFC r263777: sh: Fix possible memory leaks and double frees with unexpectedjilles2014-04-141-10/+11
* MFC r263195: sh: Add some consts.jilles2014-04-051-2/+2
* Sync sh(1) in stable/10 to head.jmmv2014-03-091-4/+5
* sh: Remove unnecessary reset functions.jilles2013-08-161-12/+0
* sh: Remove #define MKINIT.jilles2013-07-251-2/+1
* sh: Remove mkinit.jilles2013-07-251-6/+3
* sh: Use O_CLOEXEC and F_DUPFD_CLOEXEC instead of separate fcntl() call.jilles2013-05-051-3/+2
* sh: Write as much into the heredoc pipe as possible, to avoid forking.jilles2013-04-021-5/+13
* sh: Expand here documents in the current process.jilles2013-02-031-10/+12
* sh: Remove special code for shell scripts without magic number.jilles2011-02-041-4/+0
* sh: Check if dup2 for redirection from/to a file succeeds.jilles2010-12-311-1/+6
* sh: Check whether dup2 was successful for >&FD and <&FD.jilles2010-10-241-2/+5
* In the spirit of r90111, depend on c89 and remove the "STATIC" macroobrien2010-10-131-4/+4
* Consistently use "STATIC" for all functions in order to be able to setobrien2010-10-131-1/+1
* Fix some cases where file descriptors from redirections leak to programs.jilles2009-11-291-15/+7
* Fix various things about SIGINT handling:jilles2009-11-221-2/+5
* Fix race condition in noclobber option.jilles2009-06-201-7/+19
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
* Replace home-grown dup2() implementation with actual dup2() calls. Thisdes2004-01-211-32/+8
* Changes following CScout analysis:dds2003-07-051-1/+1
* Remove dead code which supported systems without O_APPEND, O_CREAT or SIGTSTP.tjr2002-09-291-30/+0
* Convert the remaining callers of errmsg() to use strerror(), and removetjr2002-09-291-11/+11
* Don't assume file descriptors fit in a short, use an int instead.tjr2002-07-181-1/+1
* Close file descriptors when [n]>&- and [n]<&- redirections are used.tjr2002-07-091-1/+2
* Consistently use FBSDIDobrien2002-06-301-2/+2
* Implement the -C (-o noclobber) option, which prevents existing regulartjr2002-05-191-0/+11
* o __P has been reovedimp2002-02-021-19/+15
* The fix for >/dev/stdout, including Tor Egge's fix for the bug in thebabkin2002-01-131-4/+4
* backout rev 1.14, it's breaking things.alfred2001-12-241-1/+3
* Added ability to do ">/dev/stdout". The apsfilter people are anxiousbabkin2001-12-221-3/+1
* Implement the <> redirection operator.brian2000-10-031-0/+21
* Include strerror(errno) in error messages after failed system calls.cracauer1999-11-291-1/+1
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
* Add rcsid. Spelling.charnier1998-05-181-3/+5
* Fix redirection of unopened file descriptors and nuke registersteve1997-04-281-9/+27
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
* Merge in NetBSD mods and -Wall cleaning.steve1996-12-141-9/+11
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is apeter1996-09-011-18/+18
* o rename ulimit -p into ulimit -u, so we are in agreement with bashjoerg1995-10-211-1/+6
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
* Added $Id$dg1994-09-241-0/+2
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+343
OpenPOWER on IntegriCloud