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  
 

NOTE:
https://www.austingroupbugs.net/view.php?id=697

message:
(0004947)
geoffclare (manager)
2020-08-28 08:21
edited on: 2020-10-08 16:32

...
The *posix_getdents*() function shall start reading at the current file
offset in the open file description associated with *fildes*. On successful
return, the file offset shall be incremented to point to the directory
entry immediately following the last entry whose information was returned
in *buf*, o*r to point to end-of-file if there are no more directory
entries*. On failure, the value of the file offset is unspecified. The
current file offset can be set and retrieved using *lseek*() on the open
file description associated with *fildes*. The behavior is unspecified if
*lseek*() is used to set the file offset to a value other than zero or a
value returned by a previous call to *lseek*() on the same open file
description.
...
*ERRORS*

The *posix_getdents*() function shall fail if:
...
[ENOENT]

The current file offset is not located at a valid directory entry.



Added above annotation since it appears the document modifications made it
into a release.

Waiting response for glibc mailing list.



On Wed, Jun 16, 2021 at 3:07 PM Albrecht Schlosser ***@***.***>
wrote:

> Okay, let's wait. Looking forward to your news...
>
> —
> 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-862727377>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AA6DEU4OCFLOAKGASHQRECDTTEHA3ANCNFSM46WEVEKA>
> .
>


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'.