--- ./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)