diff options
Diffstat (limited to 'misc/dync/patches/patch-ab')
-rw-r--r-- | misc/dync/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/dync/patches/patch-ab b/misc/dync/patches/patch-ab new file mode 100644 index 00000000000..729b0aeee7d --- /dev/null +++ b/misc/dync/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2000/08/24 22:55:22 wiz Exp $ + +--- dync.c.orig Thu Aug 13 17:21:13 1998 ++++ dync.c +@@ -147,7 +147,7 @@ + { + char cmd[MaxCmdLen]; + +- return (asystem(cmd, sizeof(cmd), "%s %s | %s ELF", FILE_CMD, prog, GREP_CMD) == 0); ++ return (asystem(cmd, sizeof(cmd), "%s %s | %s ELF > /dev/null 2>&1", FILE_CMD, prog, GREP_CMD) == 0); + } + + /* print usage message and die */ |