[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: bug in os/x version of conserver

Bryan Stansell bryan@conserver.com
Wed, 26 Oct 2005 12:26:54 -0700 (PDT)


On Wed, Oct 26, 2005 at 07:57:38PM +0100, Arthur Clune wrote:
> See attached files, including my ./configure. Just took me a few  
> minutes to recreate it since I'd replaced the config file with a  
> working version.

thanks for sending the config file.  yep...there's a bug.  here's a fix
to get around it (might not be my final fix, but perhaps).  figured
everyone might want it, just in case...

*** cutil.c.old	Wed Oct 26 12:18:39 2005
--- cutil.c	Wed Oct 26 12:17:23 2005
***************
*** 3187,3193 ****
  	    OutOfMem();
      }
  
!     if (s != (SUBST *)0 && repl != (char **)0) {
  	static STRING *result = (STRING *)0;
  
  	if (result == (STRING *)0)
--- 3187,3193 ----
  	    OutOfMem();
      }
  
!     if (s != (SUBST *)0 && repl != (char **)0 && *repl != (char *)0) {
  	static STRING *result = (STRING *)0;
  
  	if (result == (STRING *)0)

Bryan