minix/lib/libc/posix
Thomas Cort 66b369c62c opendir(3): on success, don't clobber errno
The opendir(3) function was setting errno to ENOTDIR even
when the directory existed and was opened successfully. This
caused git to falsely detect an error.

This change moves the errno assignment into the failure code
block. It also adds a test to test24 to check for errno
changing when opendir(3) returns success.
2011-06-29 19:58:41 +02:00
..
__exit.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_access.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_alarm.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_cfgetispeed.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_cfgetospeed.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_cfsetispeed.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_cfsetospeed.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_chdir.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_chmod.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_chown.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_chroot.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_close.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_closedir.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_creat.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_dup.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_dup2.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_execl.c Fixed missing __UNCONST macro definition in previous patch. 2010-03-30 13:08:14 +00:00
_execle.c Fixed missing __UNCONST macro definition in previous patch. 2010-03-30 13:08:14 +00:00
_execlp.c Fixed missing __UNCONST macro definition in previous patch. 2010-03-30 13:08:14 +00:00
_execv.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_execve.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_execvp.c cdecl calling convention requires to push arguments on the stack in a 2010-03-30 09:36:46 +00:00
_fchmod.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_fchown.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_fcntl.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_fork.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_fpathconf.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_fstat.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_fstatfs.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_fstatvfs.c libc stubs for statvfs, contributed by Buccapatnam Tirumala, Gautam. 2010-06-23 23:51:29 +00:00
_fsync.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_getcwd.c Remove U16_t and most other similar types. Rewrite functions to ansi-style 2010-04-21 11:05:22 +00:00
_getegid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_geteuid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_getgid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_getgroups.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_getitimer.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_getpgrp.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_getpid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_getppid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_getuid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_ioctl.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_isatty.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_kill.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_killpg.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_link.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_lseek.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_lstat.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_mkdir.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_mkfifo.c Remove the types Dev_t, _mnx_Gui, _mnx_Uid, and similar. 2010-04-13 10:58:41 +00:00
_mknod.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_mmap.c int to endpoint_t conversions in mmap 2010-06-09 09:14:53 +00:00
_nanosleep.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_open.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_opendir.c opendir(3): on success, don't clobber errno 2011-06-29 19:58:41 +02:00
_pathconf.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_pause.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_pipe.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_ptrace.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_read.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_readdir.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_readlink.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_rename.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_rewinddir.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_rmdir.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_select.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_setgid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_setitimer.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_setsid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_setuid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_sigaction.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_sigpending.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_sigprocmask.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_sigreturn.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_sigset.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_sigsuspend.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_sleep.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_stat.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_statvfs.c libc stubs for statvfs, contributed by Buccapatnam Tirumala, Gautam. 2010-06-23 23:51:29 +00:00
_stime.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_symlink.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_sync.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_tcdrain.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_tcflow.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_tcflush.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_tcgetattr.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_tcsendbreak.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_tcsetattr.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_time.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_times.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_truncate.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_ucontext.c Removed unused variables, added const where possible. 2010-04-07 11:25:51 +00:00
_umask.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_uname.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
_unlink.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_utime.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_wait.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_waitpid.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
_write.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
charclass.h - new pread(), fnmatch() calls 2010-02-25 17:08:08 +00:00
fnmatch.c - new pread(), fnmatch() calls 2010-02-25 17:08:08 +00:00
getloadavg.c Move minix/paths.h to paths.h 2010-11-06 20:40:15 +00:00
getopt.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
gettimeofday.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
glob.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
Makefile.inc Import poll() from NetBSD's libnbcompat 2010-07-26 20:46:04 +00:00
nice.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
poll.c Import poll() from NetBSD's libnbcompat 2010-07-26 20:46:04 +00:00
pread.c - new pread(), fnmatch() calls 2010-02-25 17:08:08 +00:00
priority.c Remove legacy MM, FS, and FS_PROC_NR macros 2010-06-08 13:58:01 +00:00
pwrite.c lib - a pwrite() implementation (Contributed by Buccapatnam Tirumala, Gautam) 2010-06-22 22:04:43 +00:00
usleep.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00