1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00
openbsd-src/bin/csh
guenther b05220827c Now that we have dup2(), csh can use it instead of close()+dup().
Also, as used here, dup/dup2 will clear the close-on-exec flag, so
delete the superfluous fcntl(F_SETFD,0) calls

ok deraadt@
2024-08-20 23:40:39 +00:00
..
USD.doc
alloc.c Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes. 2018-09-18 17:48:22 +00:00
char.c Clean up cruft made visible by the NLS unifdefing: 2015-10-26 16:27:04 +00:00
char.h unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set) 2015-10-26 15:01:15 +00:00
const.c Include hostname in shell prompts by default 2017-12-12 00:18:58 +00:00
csh.1 escape "An" in a %T call, so groff does not flag it as an error; 2023-03-30 16:16:32 +00:00
csh.c block SIGHUP in the same places where SIGCHLD is blocked to protect 2024-07-28 15:31:22 +00:00
csh.h Fix multiple variable definitions to avoid errors with -fno-common. 2020-08-30 22:23:47 +00:00
dir.c Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
dir.h Fix multiple variable definitions to avoid errors with -fno-common. 2020-08-30 22:23:47 +00:00
dol.c Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
error.c Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes. 2018-09-18 17:48:22 +00:00
exec.c Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
exp.c backout last week of csh diffs. They are disasterously broken, on i386 2018-09-18 06:56:09 +00:00
extern.h remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
file.c I observed "csh i < file-containing-^T" to hit tenex(), which proceeds to 2020-10-06 01:40:43 +00:00
func.c correct indentation; no functional change 2024-04-23 13:34:50 +00:00
glob.c blkfree() takes no action for NULL pointer so callers can avoid checking. 2018-09-08 01:28:39 +00:00
hist.c Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
init.c Kill the alloc command, which tried to measure behaviour based on sbrk. 2014-10-16 18:23:26 +00:00
lex.c When system calls indicate an error they return -1, not some arbitrary 2019-06-28 13:34:58 +00:00
Makefile remove misc. depend and yacc nits that no longer matter. 2017-07-10 21:30:37 +00:00
misc.c Fix some minor issues found by coverity. 2018-10-24 06:01:03 +00:00
parse.c Fix some minor issues found by coverity. 2018-10-24 06:01:03 +00:00
pathnames.h
proc.c block SIGHUP in the same places where SIGCHLD is blocked to protect 2024-07-28 15:31:22 +00:00
proc.h Fix multiple variable definitions to avoid errors with -fno-common. 2020-08-30 22:23:47 +00:00
sem.c Now that we have dup2(), csh can use it instead of close()+dup(). 2024-08-20 23:40:39 +00:00
set.c Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00
str.c Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes. 2018-09-18 17:48:22 +00:00
time.c Delete obsolete /* ARGSUSED */ lint comments. 2023-03-08 04:43:04 +00:00