d94d6330a1
moreutils is a growing collection of the unix tools that nobody thought to write long ago when unix was young, including amongst others: lckdo: execute a program with a lock held mispipe: pipe two commands, returning the exit status of the first pee: tee standard input to pipes sponge: soak up standard input and write to a file ts: timestamp standard input vidir: edit a directory in your text editor vipe: insert a text editor into a pipe zrun: automatically uncompress arguments to command
12 lines
357 B
Plaintext
12 lines
357 B
Plaintext
$OpenBSD: patch-ifne_c,v 1.1.1.1 2011/05/04 14:11:59 sthen Exp $
|
|
--- ifne.c.orig Sun May 1 13:12:58 2011
|
|
+++ ifne.c Sun May 1 13:13:20 2011
|
|
@@ -23,6 +23,7 @@
|
|
#include <sys/wait.h>
|
|
#include <sys/types.h>
|
|
#include <string.h>
|
|
+#include <signal.h>
|
|
#define streq(a, b) (!strcmp((a), (b)))
|
|
|
|
static void stdin_to_stream(char *buf, ssize_t r, FILE *outf) {
|