Revision: 45931
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45931&view=rev
Author:   starseeker
Date:     2011-08-11 22:10:29 +0000 (Thu, 11 Aug 2011)

Log Message:
-----------
We need a static buffer here, otherwise our path disappears on us.

Modified Paths:
--------------
    brlcad/trunk/src/libbu/progname.c

Modified: brlcad/trunk/src/libbu/progname.c
===================================================================
--- brlcad/trunk/src/libbu/progname.c   2011-08-11 21:17:58 UTC (rev 45930)
+++ brlcad/trunk/src/libbu/progname.c   2011-08-11 22:10:29 UTC (rev 45931)
@@ -46,7 +46,7 @@
 {
     /* private stash */
     static const char *ipwd = NULL;
-    char buffer[MAXPATHLEN] = {0};
+    static char buffer[MAXPATHLEN] = {0};
     const char *pwd = NULL;
 
     /* already found the path before */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to