Index: /trunk/psLib/src/sys/psString.c
===================================================================
--- /trunk/psLib/src/sys/psString.c	(revision 7652)
+++ /trunk/psLib/src/sys/psString.c	(revision 7653)
@@ -13,6 +13,6 @@
  *  @author David Robbins, MHPCC
  *
- *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-07 03:22:06 $
+ *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-06-23 20:29:39 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -286,2 +286,11 @@
     return i;
 }
+/*
+ * Used by PS_FILE_LINE
+ */
+const char *p_psFileLine(const char *file, int line)
+{
+    static char msg[100];
+    sprintf(msg, "%s:%d", file, line);
+    return msg;
+}
Index: /trunk/psLib/src/sys/psString.h
===================================================================
--- /trunk/psLib/src/sys/psString.h	(revision 7652)
+++ /trunk/psLib/src/sys/psString.h	(revision 7653)
@@ -14,6 +14,6 @@
  *  @author David Robbins, MHPCC
  *
- *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-07 03:22:06 $
+ *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-06-23 20:29:39 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -30,6 +30,7 @@
 #define PS_STRING(S)  #S
 
-/** This macro expands to "file:line" */
-#define PS_FILE_LINE __FILE__ ":" PS_STRING(__LINE__)
+/** This macro returns a (static buffer containing) "file:line" */
+const char *p_psFileLine(const char *file, int line);
+#define PS_FILE_LINE p_psFileLine(__FILE__,__LINE__)
 
 // Doxygen group tags
