php-src/main/streams
Nikita Popov 9ec61e43d4 Fix pipe detection and stream position handling
There are two related changes here:
1. Also check for S_ISCHR/FILE_TYPE_CHAR when checking for pipes, so
   that we detect ttys as well, which are also not seekable.
2. Always set position=-1 (i.e. ftell will return false) when a pipe
   is detected. Previously position=0 was sometimes used, depending on
   whether we're on Windows/Linux and whether the FD or FILE codepath
   was used.
2019-09-05 18:29:15 +02:00
..
cast.c Fix use-after-free in stream freeing during shutdown 2019-06-27 09:45:23 +02:00
filter.c Replace strncat in filter implementation 2019-08-23 16:18:50 +02:00
glob_wrapper.c Report errors from stream read and write operations 2019-07-22 17:17:28 +02:00
memory.c Report errors from stream read and write operations 2019-07-22 17:17:28 +02:00
mmap.c Remove local variables 2019-02-03 21:03:00 +01:00
php_stream_context.h Remove local variables 2019-02-03 21:03:00 +01:00
php_stream_filter_api.h Remove local variables 2019-02-03 21:03:00 +01:00
php_stream_glob_wrapper.h Remove copy argument from php_glob_stream_get_path/pattern 2019-06-19 17:27:09 +02:00
php_stream_mmap.h Remove local variables 2019-02-03 21:03:00 +01:00
php_stream_plain_wrapper.h Remove local variables 2019-02-03 21:03:00 +01:00
php_stream_transport.h Enable TLS 1.3 by default 2019-04-28 17:37:43 +01:00
php_stream_userspace.h Remove local variables 2019-02-03 21:03:00 +01:00
php_streams_int.h Remove yearly range from copyright notice 2019-01-30 11:03:12 +02:00
plain_wrapper.c Fix pipe detection and stream position handling 2019-09-05 18:29:15 +02:00
streams.c Fixed bug #78396 2019-08-12 10:45:13 +02:00
transports.c Remove local variables 2019-02-03 21:03:00 +01:00
userspace.c Report errors from stream read and write operations 2019-07-22 17:17:28 +02:00
xp_socket.c Report errors from stream read and write operations 2019-07-22 17:17:28 +02:00