* errno.cc (errmap): Correct DIRECTORY mapping to ENOTDIR.

This commit is contained in:
Christopher Faylor 2000-05-06 03:33:10 +00:00
parent b5c5e30da7
commit 2a1064aad6
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Fri May 5 23:32:07 2000 Christopher Faylor <cgf@cygnus.com>
* errno.cc (errmap): Correct DIRECTORY mapping to ENOTDIR.
2000-05-04 Mumit Khan <khan@xraylith.wisc.edu> 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
* Makefile.in (install): Install profile startup and library. * Makefile.in (install): Install profile startup and library.

View File

@ -885,7 +885,7 @@ echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS" CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then elif test $ac_cv_prog_cc_g = yes; then
CFLAGS="-g -O2" CFLAGS="-gstabs+ -O2"
else else
CFLAGS="-O2" CFLAGS="-O2"
fi fi

View File

@ -43,7 +43,7 @@ dnl normal versions of a library), tasteless as that idea is.
if test "$ac_test_CFLAGS" = set; then if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS" CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then elif test $ac_cv_prog_cc_g = yes; then
CFLAGS="-g -O2" CFLAGS="-gstabs+ -O2"
else else
CFLAGS="-O2" CFLAGS="-O2"
fi fi

View File

@ -79,7 +79,7 @@ errmap[] =
X (NO_DATA, EPIPE), X (NO_DATA, EPIPE),
X (PIPE_NOT_CONNECTED, ECOMM), X (PIPE_NOT_CONNECTED, ECOMM),
X (MORE_DATA, EAGAIN), X (MORE_DATA, EAGAIN),
X (DIRECTORY, EISDIR), X (DIRECTORY, ENOTDIR),
X (PIPE_CONNECTED, EBUSY), X (PIPE_CONNECTED, EBUSY),
X (PIPE_LISTENING, ECOMM), X (PIPE_LISTENING, ECOMM),
X (NO_TOKEN, EINVAL), X (NO_TOKEN, EINVAL),