PERFORCE change 20835 for review

Brian Feldman green at freebsd.org
Fri Nov 8 14:59:29 GMT 2002


http://perforce.freebsd.org/chv.cgi?CH=20835

Change 20835 by green at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list