diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-02-28 09:24:51 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-02-28 09:24:51 +0000 |
commit | 5a9ab9d3c2fc90596156badc88d67f87e3f04349 (patch) | |
tree | 849597eadf3907683189352f16b23ab9875ba107 /japanese/FreeWnn-server | |
parent | a32b65b01b79f5660a642091e1bb79a06f0a173c (diff) | |
download | ports-5a9ab9d3c2fc90596156badc88d67f87e3f04349.tar.gz ports-5a9ab9d3c2fc90596156badc88d67f87e3f04349.zip |
Notes
Diffstat (limited to 'japanese/FreeWnn-server')
-rw-r--r-- | japanese/FreeWnn-server/files/patch-ab | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/japanese/FreeWnn-server/files/patch-ab b/japanese/FreeWnn-server/files/patch-ab new file mode 100644 index 000000000000..5bcae60ee528 --- /dev/null +++ b/japanese/FreeWnn-server/files/patch-ab @@ -0,0 +1,19 @@ +--- ./Wnn/jserver/de.c.org Thu Aug 18 18:31:23 1994 ++++ ./Wnn/jserver/de.c Fri Feb 28 01:13:16 1997 +@@ -264,7 +264,16 @@ + fclose(stdin); + fclose(stdout); + if(!noisy){ ++#ifndef __FreeBSD__ + fclose(stderr); ++#else /* __FreeBSD__ */ ++ int fd = open("/dev/null", O_WRONLY); ++ if (fd < 0) { ++ xerror("Cannot open /dev/null\n"); ++ } ++ dup2(fd, 2); ++ close(fd); ++#endif /* __FreeBSD__ */ + } + + #if defined(hpux) || defined(SOLARIS) |