Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 1998 15:35:20 -0400 (EDT)
From:      cmascott@world.std.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7132: xview-lib 3.2.1 port: FreeBSD patch error
Message-ID:  <199806301935.PAA10467@europa.my.pc>

next in thread | raw e-mail | index | archive | help

>Number:         7132
>Category:       ports
>Synopsis:       xview-lib 3.2.1 port: FreeBSD patch error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 30 12:40:03 PDT 1998
>Last-Modified:
>Originator:     Carl Mascott
>Organization:
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

>Description:

patch-ad contains an error (misplaced parenthesis).
The effect of the faulty line is to discard the
return value of the function and to set

	ne = NOTIFY_IMMEDIATE

>How-To-Repeat:

	N/A

>Fix:
	
diff -ru bad_patches/patch-ad patches/patch-ad
--- bad_patches/patch-ad	Sat Oct 25 09:39:15 1997
+++ patches/patch-ad	Sat Jun 27 19:52:04 1998
@@ -1162,7 +1162,7 @@
   	    fprintf(stderr, "%s in unknown destroy status\n", arg1);
   	    goto Error;
   	}
-! 	if ((ne = notify_post_destroy(client, status), NOTIFY_IMMEDIATE) != NOTIFY_OK) {
+! 	if ((ne = notify_post_destroy(client, status, NOTIFY_IMMEDIATE)) != NOTIFY_OK) {
   	    if (!(status == DESTROY_CHECKING &&
   		  ne == NOTIFY_DESTROY_VETOED)) {
   		notify_perror("notify_destroy");

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806301935.PAA10467>