Revision: 45522
http://brlcad.svn.sourceforge.net/brlcad/?rev=45522&view=rev
Author: brlcad
Date: 2011-07-16 10:44:08 +0000 (Sat, 16 Jul 2011)
Log Message:
-----------
don't need _bu_ prefix on HIDDEN funcs, use file prefix.
Modified Paths:
--------------
brlcad/trunk/src/libbu/file.c
Modified: brlcad/trunk/src/libbu/file.c
===================================================================
--- brlcad/trunk/src/libbu/file.c 2011-07-16 10:42:03 UTC (rev 45521)
+++ brlcad/trunk/src/libbu/file.c 2011-07-16 10:44:08 UTC (rev 45522)
@@ -1,4 +1,4 @@
-/* S T A T . C
+/* F I L E . C
* BRL-CAD
*
* Copyright (c) 2004-2011 United States Government as represented by
@@ -136,7 +136,7 @@
* specified file.
*/
HIDDEN int
-_bu_file_access(const char *path, int access_level)
+file_access(const char *path, int access_level)
{
struct stat sb;
int mask = 0;
@@ -209,21 +209,21 @@
int
bu_file_readable(const char *path)
{
- return _bu_file_access(path, R_OK);
+ return file_access(path, R_OK);
}
int
bu_file_writable(const char *path)
{
- return _bu_file_access(path, W_OK);
+ return file_access(path, W_OK);
}
int
bu_file_executable(const char *path)
{
- return _bu_file_access(path, X_OK);
+ return file_access(path, X_OK);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits