New strerror-like function

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10043 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-05-31 22:39:16 +00:00
parent bb5032befa
commit b786b93998
24 changed files with 215 additions and 151 deletions

View file

@ -1672,7 +1672,7 @@ NSDictionary *locale)
LABEL (form_strerror):
/* Print description of error ERRNO. */
string =
(unichar *) strerror(save_errno);
(unichar *) GSLastErrorStr(save_errno);
is_long = 0; /* This is no wide-char string. */
goto LABEL (print_string);
LABEL (form_character):