FreeBSD Bugzilla – Attachment 17135 Details for
Bug 31208
Fix bugs in net/generic-nqs. Now it really works!
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.18 KB, created by
shuhei
on 2001-10-10 22:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
shuhei
Created:
2001-10-10 22:40:01 UTC
Size:
2.18 KB
patch
obsolete
>diff -uNr /usr/ports/net/generic-nqs/Makefile generic-nqs/Makefile >--- /usr/ports/net/generic-nqs/Makefile Wed Oct 10 21:56:06 2001 >+++ generic-nqs/Makefile Wed Oct 10 22:18:31 2001 >@@ -9,7 +9,7 @@ > > PORTNAME= Generic-NQS > PORTVERSION= 3.50.9 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net > MASTER_SITES= ${MASTER_SITE_LOCAL} > MASTER_SITE_SUBDIR= fenner >diff -uNr /usr/ports/net/generic-nqs/files/nqs.sh generic-nqs/files/nqs.sh >--- /usr/ports/net/generic-nqs/files/nqs.sh Wed Jul 5 13:36:41 2000 >+++ generic-nqs/files/nqs.sh Sun Oct 7 17:48:40 2001 >@@ -8,7 +8,7 @@ > fi > ;; > stop) >- killall nqsdaemon && echo -n ' nqs' >+ killall -KILL nqsdaemon netdaemon loaddaemon && echo -n ' nqs' > ;; > *) > echo "Usage: `basename $0` {start|stop}" >&2 >diff -uNr /usr/ports/net/generic-nqs/files/patch-ah generic-nqs/files/patch-ah >--- /usr/ports/net/generic-nqs/files/patch-ah Thu Jan 1 01:00:00 1970 >+++ generic-nqs/files/patch-ah Sat Oct 6 10:22:14 2001 >@@ -0,0 +1,19 @@ >+--- Source-Tree/nqsdaemon/all-systems/nqs_mai.c.orig Sun Mar 19 13:19:21 2000 >++++ Source-Tree/nqsdaemon/all-systems/nqs_mai.c Sat Oct 6 10:21:00 2001 >+@@ -247,8 +247,14 @@ >+ argv [0] = "mail"; >+ argv [1] = maildest; >+ argv [2] = (char *) 0; >+- execve ("/bin/mail", argv, /* Execve() mail program */ >+- envp); >++ { >++ struct stat stb; >++ if (stat("/bin/mail", &stb) != -1) >++ execve ("/bin/mail",/* Execve() mail program */ >++ argv, envp); >++ else if (stat("/usr/bin/mail", &stb) != -1) >++ execve ("/usr/bin/mail", argv, envp); >++ } >+ _exit (1); >+ } >+ else if (pid == -1) return (-1); /* Fork failed */ >diff -uNr /usr/ports/net/generic-nqs/files/patch-ai generic-nqs/files/patch-ai >--- /usr/ports/net/generic-nqs/files/patch-ai Thu Jan 1 01:00:00 1970 >+++ generic-nqs/files/patch-ai Tue Oct 9 10:52:38 2001 >@@ -0,0 +1,14 @@ >+--- Source-Tree/pipeclient/all-systems/pipeclient.c.orig Sun Mar 19 13:19:42 2000 >++++ Source-Tree/pipeclient/all-systems/pipeclient.c Tue Oct 9 10:51:53 2001 >+@@ -1059,7 +1059,11 @@ >+ signal(SIGPIPE, catch_sigpipe); >+ >+ do { >++#if HAS_BSD_PIPE >++ interconn(); >++#else >+ interset(-1); >++#endif >+ interclear (); >+ interw32i (rawreq->orig_seqno); >+ interw32u (rawreq->orig_mid);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31208
: 17135