* environ.cc (getearly): Force correct dereference order when inspecting
environ table.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2006-04-24  Christopher Faylor  <cgf@timesys.com> | ||||
|  | ||||
| 	* environ.cc (getearly): Force correct dereference order when | ||||
| 	inspecting environ table. | ||||
|  | ||||
| 2006-04-24  Corinna Vinschen  <corinna@vinschen.de> | ||||
|  | ||||
| 	* select.cc (thread_pipe): Raise sleep time only every 8th iteration. | ||||
|   | ||||
| @@ -233,7 +233,7 @@ getearly (const char * name, int *) | ||||
|     { | ||||
|       len = strlen (name); | ||||
|       for (; *ptr; ptr++) | ||||
| 	if (strncasematch (name, *ptr, len) && *ptr[len] == '=') | ||||
| 	if (strncasematch (name, *ptr, len) && (*ptr)[len] == '=') | ||||
| 	  return *ptr + len + 1; | ||||
|     } | ||||
|   else if ((len = GetEnvironmentVariable (name, NULL, 0)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user