1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Update to 2.8.6

PR:		102611
Submitted by:	Christian Laursen <xi@borderworlds.dk> (maintainer)
This commit is contained in:
Erwin Lansing 2006-08-28 16:37:30 +00:00
parent 4aeb506487
commit 407e3084de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171558
3 changed files with 4 additions and 22 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= nbd-server
PORTVERSION= 2.8.5
PORTVERSION= 2.8.6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nbd

View File

@ -1,3 +1,3 @@
MD5 (nbd-2.8.5.tar.bz2) = 2c993cfb867875c024fc983d8d34ae0a
SHA256 (nbd-2.8.5.tar.bz2) = dc77166f086712fa0d1ff63997d487d99eaac238819b1aebff9a8fddfcc0b835
SIZE (nbd-2.8.5.tar.bz2) = 151053
MD5 (nbd-2.8.6.tar.bz2) = 8b4365853a01b24b97e0473a2f17cea4
SHA256 (nbd-2.8.6.tar.bz2) = 0ccf16ae9d36d3499cee0cf578fa0c327b757a8515464bd4e7bf17b4d61f161a
SIZE (nbd-2.8.6.tar.bz2) = 151582

View File

@ -1,18 +0,0 @@
diff -urN nbd-2.8.3.orig/nbd-server.c nbd-2.8.3/nbd-server.c
--- nbd-2.8.3.orig/nbd-server.c Thu Dec 22 21:37:20 2005
+++ nbd-server.c Sun Jan 8 16:45:30 2006
@@ -363,12 +363,12 @@
* is severely wrong)
**/
void sigchld_handler(int s) {
- int* status=NULL;
+ int status;
int* i;
pid_t pid;
int done=0;
- while(!done && (pid=wait(status)) > 0) {
+ while(!done && (pid=wait(&status)) > 0) {
if(WIFEXITED(status)) {
msg3(LOG_INFO, "Child exited with %d", WEXITSTATUS(status));
msg3(LOG_INFO, "pid is %d", pid);