Date: Thu, 16 Nov 2006 19:12:31 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110120 for review Message-ID: <200611161912.kAGJCVcr065862@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110120 Change 110120 by millert@millert_macbook on 2006/11/16 19:11:37 Handle 'NULLOK' Affected files ... .. //depot/projects/trustedbsd/sedarwin8/policies/test/mac_parse.pl#3 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/policies/test/mac_parse.pl#3 (text+ko) ==== @@ -211,6 +211,9 @@ print CFILE "\tUSE_LABEL($var, TASKTYPE);\n"; } elsif ($type =~ /struct label/) { + if ($flags =~ /NULLOK/) { + print CFILE "\tif ($var != NULL)\n\t"; + } if ($firsttype ne "") { print CFILE "\tUSE_LABEL($var, $firsttype);\n"; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611161912.kAGJCVcr065862>