Fixes for some minro thread-safety issues.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25759 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2007-12-19 14:39:44 +00:00
parent 5d3735746b
commit f6148c5a48
14 changed files with 7195 additions and 6812 deletions

View file

@ -780,6 +780,10 @@ static char **_gnu_noobjc_env = NULL;
proc_fs_error:
#ifdef HAVE_STRERROR
/* Don't care about thread safety of strerror() here as this is only
* called in the initial thread and there shouldn't be any other
* threads at this point.
*/
fprintf(stderr, "Couldn't open file %s when starting gnustep-base; %s\n",
proc_file_name, strerror(errno));
#else /* !HAVE_FUNCTION_STRERROR */