newlib-cygwin/winsup/cygwin/fhandler
Corinna Vinschen 62ca95721a Cygwin: posix_getdents: implement per SUS Base Specifications Issue 8 draft
- Basically maintain a hidden DIR* inside fhandlers.

- lseek has to be tweaked to allow basic seeking on the directory
  descriptor.

- the current implementation does not keep the dir positions
  between duplicated descriptor in sync.  In fact, every descriptor
  keeps its own copy of the DIR* and after dup/fork/exec, the
  directory position is reset to 0, i. e., to the start of the
  directory, as if rewinddir() has been called on the new descriptors.

  While this behaviour isn't yet covered by the Issue 8 draft,
  a bug report along these lines exists and will probably be
  picked up for TC1.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2024-01-31 20:11:58 +01:00
..
base.cc Cygwin: posix_getdents: implement per SUS Base Specifications Issue 8 draft 2024-01-31 20:11:58 +01:00
clipboard.cc Cygwin: clipboard: Only SEEK_SET and SEEK_CUR are supported 2023-08-09 16:56:02 +02:00
console.cc Cygwin: fstat(): Fix st_rdev returned by fstat() for /dev/tty. 2023-07-08 08:03:22 +09:00
cygdrive.cc
dev.cc
dev_disk.cc Cygwin: /dev/disk: Append '#N' if the same name appears more than once 2023-11-21 19:40:37 +01:00
dev_fd.cc
disk_file.cc Cygwin: fallocate(2): drop useless zeroing pointer 2023-12-04 10:20:55 +01:00
dsp.cc Cygwin: dsp: Improve minimum buffser size estimation. 2023-10-30 19:58:38 +09:00
fifo.cc Cygwin: select: don't report read ready on a FIFO never opened for writing 2022-10-19 08:17:50 -04:00
floppy.cc
mixer.cc Cygwin: Implement sound mixer device. 2023-09-01 21:33:38 +09:00
mqueue.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
netdrive.cc
nodevice.cc
null.cc
pipe.cc Cygwin: fhandler: rename ftruncate method to fallocate 2023-11-28 10:52:05 +01:00
proc.cc Cygwin: cpuinfo: Linux 6.5 additions 2023-09-01 20:40:54 +02:00
process.cc Cygwin: ctty: Replace ctty constant with more descriptive macros. 2023-03-07 10:51:29 +09:00
process_fd.cc
procnet.cc
procsys.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
procsysvipc.cc
pty.cc Cygwin: pty: Fix failure to clear switch_to_nat_pipe flag. 2023-08-19 14:53:10 +09:00
random.cc
raw.cc
registry.cc Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
serial.cc Cygwin: serial: Fix a copy-paste error in DTR setup 2022-11-29 11:47:27 +01:00
signalfd.cc
socket.cc
socket_inet.cc
socket_local.cc
socket_unix.cc
tape.cc
termios.cc Cygwin: termios: Refactor the function is_console_app(). 2023-08-28 18:20:57 +09:00
timerfd.cc
virtual.cc
windows.cc
zero.cc