Revision: 54075
http://brlcad.svn.sourceforge.net/brlcad/?rev=54075&view=rev
Author: brlcad
Date: 2012-12-17 18:46:30 +0000 (Mon, 17 Dec 2012)
Log Message:
-----------
reapply the comment change that was intended in r54067. fclose() after
bu_temp_file() shouldn't be optional.
Revision Links:
--------------
http://brlcad.svn.sourceforge.net/brlcad/?rev=54067&view=rev
Modified Paths:
--------------
brlcad/trunk/include/bu.h
Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h 2012-12-17 18:44:11 UTC (rev 54074)
+++ brlcad/trunk/include/bu.h 2012-12-17 18:46:30 UTC (rev 54075)
@@ -3282,7 +3282,7 @@
char filename[MAXPATHLEN];
fp = bu_temp_file(&filename, MAXPATHLEN); // get file name
...
- fclose(fp); // optional, auto-closed on exit
+ fclose(fp); // close the file when you're done
...
fp = bu_temp_file(NULL, 0); // don't need file name
bu_fchmod(fileno(fp), 0777);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits