FLTK logo

Re: [fltk/fltk] scandir_posix.c readentry should check for ENOENT (#238)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] scandir_posix.c readentry should check for ENOENT (#238) Mark Olesen Jun 16, 2021  
 

https://code.woboq.org/userspace/glibc/sysdeps/posix/readdir.c.html
Check out the comment on line 68:

*/* On some systems getdents fails with ENOENT when the*
* open directory has been rmdir'd already. POSIX.1*
* requires that we treat this condition like normal EOF. */*
*if* (bytes
<https://code.woboq.org/userspace/glibc/sysdeps/posix/readdir.c.html#6bytes>
< 0 && errno
<https://code.woboq.org/userspace/glibc/include/errno.h.html#29> == ENOENT
<https://code.woboq.org/userspace/include/asm-generic/errno-base.h.html#6>)
bytes
<https://code.woboq.org/userspace/glibc/sysdeps/posix/readdir.c.html#6bytes>
= 0;


config.h attached
For this problem I am using MSDOS 7.1
I am using wmake
project: https://github.com/markjolesen/fltkal




On Wed, Jun 16, 2021 at 10:33 AM Albrecht Schlosser <
***@***.***> wrote:

> @markjolesen <https://github.com/markjolesen>: Can you please tell us how
> you're setting up your system, on which kind of "DOS" you're working, and
> particularly whether you're using configure or CMake or any other type of
> (hand-made?) configuration?
>
> It might also be helpful if you could post your config.h file from the
> build directory. TIA
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/fltk/fltk/issues/238#issuecomment-862529618>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AA6DEU534E5U4XDZMLHHNZ3TTDG6TANCNFSM46WEVEKA>
> .
>


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.