Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2002 06:59:29 -0800 (PST)
From:      Brian Feldman <green@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20835 for review
Message-ID:  <200211081459.gA8ExTbr042994@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20835

Change 20835 by green@green_laptop_2 on 2002/11/08 06:58:30

	* Remember to close specifications files in setfsmac(8) when
	  done with them.
	* Like sebsd_setfiles(8), print the number of specifications
	  read in from each file.

Affected files ...

.. //depot/projects/trustedbsd/mac/sbin/setfsmac/setfsmac.c#3 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sbin/setfsmac/setfsmac.c#3 (text+ko) ====

@@ -202,6 +202,8 @@
 		if (freeline)
 			free(line);
 	}
+	fclose(fp);
+	warnx("%s: read %u specifications", file, spec->nentries);
 	STAILQ_INSERT_TAIL(&specs->head, spec, link);
 }
 

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?200211081459.gA8ExTbr042994>