From owner-p4-projects Sat Apr 13 22:29:28 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E7B9037B416; Sat, 13 Apr 2002 22:29:22 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3660737B404 for ; Sat, 13 Apr 2002 22:29:22 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3E5TM690045 for perforce@freebsd.org; Sat, 13 Apr 2002 22:29:22 -0700 (PDT) (envelope-from amigus@tislabs.com) Date: Sat, 13 Apr 2002 22:29:22 -0700 (PDT) Message-Id: <200204140529.g3E5TM690045@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to amigus@tislabs.com using -f From: Adam Migus Subject: PERFORCE change 9706 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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