bug-libtool
[Top][All Lists]
Advanced

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

Re: [libtool 2.2.11a] testsuite: 48 69 92 failed [cygwin]


From: Ralf Wildenhues
Subject: Re: [libtool 2.2.11a] testsuite: 48 69 92 failed [cygwin]
Date: Sat, 19 Jun 2010 22:46:57 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Charles Wilson wrote on Sat, Jun 19, 2010 at 09:26:54PM CEST:
> +  putenv (LT_MODULE_PATH_VAR "=\"\"");

We shouldn't pass a const string to putenv, and let's not set the
variable to "" but to the empty string, e.g.,

  static char path_var[] = LT_MODULE_PATH_VAR "=";
  (void) putenv (path_var);

or, even better, check return value.

Thanks,
Ralf



reply via email to

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