Index: trunk/psLib/src/sys/psMemory.c
===================================================================
--- trunk/psLib/src/sys/psMemory.c	(revision 7901)
+++ trunk/psLib/src/sys/psMemory.c	(revision 8232)
@@ -8,6 +8,6 @@
 *  @author Robert Lupton, Princeton University
 *
-*  @version $Revision: 1.74 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2006-07-14 02:26:25 $
+*  @version $Revision: 1.75 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2006-08-08 23:32:23 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -33,5 +33,5 @@
 #include "psLine.h"
 #include "psRegion.h"
-#include "psErrorText.h"
+
 
 #define P_PS_MEMMAGIC (psPtr )0xdeadbeef   // Magic number in psMemBlock header
@@ -126,5 +126,5 @@
     if (ptr->refCounter < 1) {
         psError(PS_ERR_MEMORY_CORRUPTION, false,
-                PS_ERRORTEXT_psMemory_MULTIPLE_FREE,
+                _("Block %lu, allocated at %s:%d, freed multiple times at %s:%d."),
                 (unsigned long)ptr->id, ptr->file, ptr->lineno, file, lineno);
     }
@@ -148,5 +148,5 @@
     if (m == NULL) {
         psError(PS_ERR_MEMORY_CORRUPTION, true,
-                PS_ERRORTEXT_psMemory_NULL_BLOCK);
+                _("NULL memory block found."));
         return 1;
     }
@@ -155,5 +155,5 @@
         // using an unreferenced block of memory, are you?
         psError(PS_ERR_MEMORY_CORRUPTION, true,
-                PS_ERRORTEXT_psMemory_DEREF_BLOCK_USE,
+                _("Memory block %lu was freed but still being used."),
                 (unsigned long)m->id);
         return 1;
@@ -162,5 +162,5 @@
     if (m->startblock != P_PS_MEMMAGIC || m->endblock != P_PS_MEMMAGIC) {
         psError(PS_ERR_MEMORY_CORRUPTION, true,
-                PS_ERRORTEXT_psMemory_UNDERFLOW,
+                _("Memory block %lu is corrupted; buffer underflow detected."),
                 (unsigned long)m->id);
         return 1;
@@ -168,5 +168,5 @@
     if (*(psPtr *)((int8_t *) (m + 1) + m->userMemorySize) != P_PS_MEMMAGIC) {
         psError(PS_ERR_MEMORY_CORRUPTION, true,
-                PS_ERRORTEXT_psMemory_OVERFLOW,
+                _("Memory block %lu is corrupted; buffer overflow detected."),
                 (unsigned long)m->id);
         return 1;
@@ -506,5 +506,5 @@
         psMemBlock* ptr = ((psMemBlock* ) vptr) - 1;
 
-        psAbort(__func__,PS_ERRORTEXT_psMemory_MULTIPLE_FREE,
+        psAbort(__func__,_("Block %lu, allocated at %s:%d, freed multiple times at %s:%d."),
                 (unsigned long)ptr->id, ptr->file, ptr->lineno, filename, lineno);
     }
