bug-global
[Top][All Lists]
Advanced

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

Re: Problems on solaris 2.7 with global 4.1


From: Main User
Subject: Re: Problems on solaris 2.7 with global 4.1
Date: Fri, 27 Jul 2001 13:16:40 -0500

Hi,
I think it might be some problem in strbuf_xxx because if you do

#if 0
               STRBUF *env = strbuf_open(0);

               strbuf_puts(env, "GTAGSDBPATH=");
               strbuf_puts(env, dbpath);
               putenv(strbuf_value(env));
               strbuf_close(env);
#else
               char *env;
               env = malloc (256);
               sprintf (env, "%s=%s", "GTAGSDBPATH", dbpath);
               putenv (env);  /*putenv now owns the malloc'd memory */
#endif

it seems to work.

FYI
Bob


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]