mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
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:
parent
16e6526498
commit
e980ba412c
14 changed files with 7195 additions and 6812 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue