← Commit list

09da627a2

Eric Andersen
Eric Andersen
2002-10-22
FAILED Duration: 5s

Subject

Fix warning

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+1 -0
@@ -10877,6 +10877,7 @@ static void redirect(union node *redir, int flags)
INTOFF;
newfd = openredirect(n);
if ((flags & REDIR_PUSH) && sv->renamed[fd] == EMPTY) {
+ i = fd;
if (newfd == fd) {
try++;
} else if ((i = fcntl(fd, F_DUPFD, 10)) == -1) {