diff options
author | June McEnroe <june@causal.agency> | 2022-01-21 22:26:28 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-01-21 22:26:28 -0500 |
commit | 22fb2a07db173532462d90ad875a06254e932773 (patch) | |
tree | f1452b68dad10fa2a6d43223a992eefa93cedf75 /src/jobs.c | |
parent | dash: Just zero mailsize on changemail (diff) | |
download | dash-22fb2a07db173532462d90ad875a06254e932773.tar.gz dash-22fb2a07db173532462d90ad875a06254e932773.zip |
dash: Stop this stat64 nonsense
Diffstat (limited to 'src/jobs.c')
-rw-r--r-- | src/jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jobs.c b/src/jobs.c index 8fb9d4b..4b90918 100644 --- a/src/jobs.c +++ b/src/jobs.c @@ -197,7 +197,7 @@ setjobctl(int on) return; if (on) { int ofd; - ofd = fd = open64(_PATH_TTY, O_RDWR); + ofd = fd = open(_PATH_TTY, O_RDWR); if (fd < 0) { fd += 3; while (!isatty(fd)) @@ -888,7 +888,7 @@ static void forkchild(struct job *jp, union node *n, int mode) ignoresig(SIGQUIT); if (jp->nprocs == 0) { close(0); - if (open64(_PATH_DEVNULL, O_RDONLY) != 0) + if (open(_PATH_DEVNULL, O_RDONLY) != 0) sh_error("Can't open %s", _PATH_DEVNULL); } } |