From: Jeshua Lacock (jeshua@OpenOSX.com)
Date: Thu May 23 2002 - 16:47:52 EDT
Greetings,
I have attached an extremely simple patch that fixes a potential bug 
that prevented AbiWord from launching under certain localization 
conditions.
*** orig/abiword-1.0.1/abi/src/af/util/xp/ut_string.cpp Sun Apr 28 
17:52:28 2002
--- new/abiword-1.0.1/abi/src/af/util/xp/ut_string.cpp  Thu May 23 
13:30:56 2002
***************
*** 132,137 ****
--- 132,140 ----
   char * UT_strdup(const char * szSource)
   {
+       if (szSource == NULL)
+               return(NULL);
+
         UT_ASSERT(szSource);
         int len = strlen(szSource)+1;
Cheers,
Jeshua Lacock __________________________
Programmer/Owner            Phone:   760.935.4736
http://OpenOSX.com           Fax:        760.935.4845
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
This archive was generated by hypermail 2.1.4 : Thu May 23 2002 - 16:52:30 EDT