Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2002 22:29:22 -0700 (PDT)
From:      Adam Migus <amigus@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 9706 for review
Message-ID:  <200204140529.g3E5TM690045@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9706

Change 9706 by amigus@amigus_ganyopa on 2002/04/13 22:29:12

	Fixed a simple test-for-null bug.  Fixed a comment.

Affected files ...

... //depot/projects/trustedbsd/mac/lib/libc/posix1e/mac_biba.c#3 edit

Differences ...

==== //depot/projects/trustedbsd/mac/lib/libc/posix1e/mac_biba.c#3 (text+ko) ====

@@ -46,7 +46,7 @@
 
 /*
  * Biba labels take the following format:
- * [optional bibasingle][optional mlsrange]
+ * [optional bibasingle][optional bibarange]
  * bibasingle: {low,0-65535,high,equal}
  * bibarange: ([bibasingle]-[bibasingle])
  */
@@ -104,7 +104,7 @@
 	 */
 
 	string_single = strsep(&string, "(");
-	if (*string_single == '\0' && label == NULL) {
+	if (*string_single == '\0' && string == NULL) {
 		/* No interesting elements to parse, flags already zero'd. */
 		return (0);
 	}

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




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