Backport configure fixes from 8.1
Stdio: Make sendfile configure test more robust
Build [Configure]: Include <stdlib.h> in tests using exit()
Stdio: Convert file.c into a cmod.
Merge branch 'grubba/pty-handling' into 8.0 * grubba/pty-handling: I/O [NT]: Fixed typo. Stdio [NT]: Fixed compilation error when no struct termios. Diagnostics [NT]: Fixed multiple issues with FD_DEBUG. I/O [NT]: Enable some termios functions on NT. I/O [NT]: Implemented TIOCGWINSZ and TIOCSWINSZ ioctls. I/O: Make termios code dependent on presence of tcgetattr(). Stdio: Fix get_all_args() call to support Pike 8.0 and earlier. Stdio.File: Added tcdrain() and tcsetsize().
Merge branch 'grubba/pty-handling' * grubba/pty-handling: Diagnostics [NT]: Fixed multiple issues with FD_DEBUG. I/O [NT]: Enable some termios functions on NT. I/O [NT]: Implemented TIOCGWINSZ and TIOCSWINSZ ioctls. I/O: Make termios code dependent on presence of tcgetattr().
I/O: Make termios code dependent on presence of tcgetattr(). Preparation for supporting some termios operations on NT. Preparation for #10013.
Merge branch 'grubba/pty-handling' into 8.0 * grubba/pty-handling: Build [Linux]: openpty(3BSD) may be hidden in libutil.
Merge branch 'grubba/pty-handling' * grubba/pty-handling: Build [Linux]: openpty(3BSD) may be hidden in libutil.
Build [Linux]: openpty(3BSD) may be hidden in libutil.
Merge branch 'grubba/pty-handling' into 8.0 * grubba/pty-handling: Process [NT]: Fixed typo in previous commit. Process [NT]: Support UTF-8 in create_process(). I/O [NT]: Added low_dwim_utf8_to_utf16(). I/O [NT]: Fixed some typos. I/O [NT]: Added dynamic lookup of symbols needed for pty handling. I/O [NT]: Added fallbacks for some stuff needed for pty handling. Build [Stdio]: Make systems without termios.h (ie NT) happy again. Stdio: Make Coverity happy. [CID 1457890] Stdio: Fixed some inverted tests in my_openpty(). Stdio: Removed extraneous and broken #include of <pty.h>. Stdio: Added support for PROP_TTY to pipe(). Stdio: Some pty-handling cleanup.
Merge branch 'grubba/pty-handling' into grubba/pty-handling-8.1 * grubba/pty-handling: Process [NT]: Fixed typo in previous commit. Process [NT]: Support UTF-8 in create_process(). I/O [NT]: Added low_dwim_utf8_to_utf16(). I/O [NT]: Fixed some typos. I/O [NT]: Added dynamic lookup of symbols needed for pty handling. I/O [NT]: Added fallbacks for some stuff needed for pty handling. Build [Stdio]: Make systems without termios.h (ie NT) happy again. Stdio: Make Coverity happy. [CID 1457890] Stdio: Fixed some inverted tests in my_openpty(). Stdio: Removed extraneous and broken #include of <pty.h>. Stdio: Added support for PROP_TTY to pipe(). Stdio: Some pty-handling cleanup.
Merge branch 'grubba/fdlib' into grubba/pty-handling-new * grubba/fdlib: (55 commits) I/O [NT]: Use read-write locking for fd_busy and fd_to_{socket,handle()}. I/O [NT]: Fixed typo. I/O [NT]: Avoid blocking on read from pipes with data. Added some paranoia System [NT]: Normalize the drive letter explicitly in normalize_path(). System [NT]: More normalize_path() fixes. Configure [Solaris]: Fixed quoting level issue. System [NT]: Fixed trailing slashes from normalize_path(). I/O [Solaris]: Fix getcwd() on Solaris. I/O [NT]: Fixed a few warnings. I/O [NT]: Moved bulk of normalize_path() to fdlib. System [NT]: Update normalize_path() to use UTF8. I/O [NT]: Get rid of DO_NOT_WARN(). I/O [NT]: Added some more FD_DEBUG. I/O [NT]: Fixed typo in FD_DEBUG code. Build [NT]: Always use or own implementation of _dosmaperr(). Build [NT]: Improved support for MSVC 2010 (aka MSC 1600). I/O [NT]: Fixed deadlock. I/O [NT]: Updated FD_DEBUG diagnostics. I/O [NT]: Survive invalid UTF-16 surrogate pairs. ...
Stdio: Added support for PROP_TTY to pipe().
Merge branch 'grubba/fdlib' into grubba/pty-handling * grubba/fdlib: (55 commits) I/O [NT]: Use read-write locking for fd_busy and fd_to_{socket,handle()}. I/O [NT]: Fixed typo. I/O [NT]: Avoid blocking on read from pipes with data. Added some paranoia System [NT]: Normalize the drive letter explicitly in normalize_path(). System [NT]: More normalize_path() fixes. Configure [Solaris]: Fixed quoting level issue. System [NT]: Fixed trailing slashes from normalize_path(). I/O [Solaris]: Fix getcwd() on Solaris. I/O [NT]: Fixed a few warnings. I/O [NT]: Moved bulk of normalize_path() to fdlib. System [NT]: Update normalize_path() to use UTF8. I/O [NT]: Get rid of DO_NOT_WARN(). I/O [NT]: Added some more FD_DEBUG. I/O [NT]: Fixed typo in FD_DEBUG code. Build [NT]: Always use or own implementation of _dosmaperr(). Build [NT]: Improved support for MSVC 2010 (aka MSC 1600). I/O [NT]: Fixed deadlock. I/O [NT]: Updated FD_DEBUG diagnostics. I/O [NT]: Survive invalid UTF-16 surrogate pairs. ...
Merge branch 'grubba/pty-handling' * grubba/pty-handling: Stdio: Added support for PROP_TTY to pipe(). Stdio: Some pty-handling cleanup.
Merge commit '722771973bd' into patches/lyslyskom22891031 * commit '722771973bd': (6177 commits) Verify that callablep responses are aligned with reality. ...
Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap * commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits) Removed the old typechecker. ...
Merge remote-tracking branch 'origin/master' into new_utf8
Merge remote-tracking branch 'origin/8.1' into gobject-introspection
Merge branch 'grubba/fdlib' into 8.0 * grubba/fdlib: (36 commits) I/O [NT]: Updated FD_DEBUG diagnostics. I/O [NT]: Moved FD_SETSIZE definition to global.h. I/O [NT]: Use new low-level functions from Process. I/O [NT]: Added some assertions. I/O [NT]: Added serialization of access to fd handles. I/O [NT]: Use the new low-level functions. I/O [NT]: Added some low-level fd handling functions. Build [NT]: Fix typo of EACCES. I/O [NT]: Document some internal data structures. Stdio: Cleanup File()->truncate(). Configure: Moved tests for truncate64() and ftruncate64(). Stdio [NT]: Fixed warning on NT. Stdio [NT]: Added detection constant __HAVE_UTF8_FS__. I/O [NT]: Added note about the intent of fdlib. Stdio [NT]: Update get_dir() to accept/return UTF8. Stdio [NT]: Cleanup filesystem_stat(). Stdio [NT]: Clean up getcwd(). I/O [NT]: Added fd_get_current_dir_name(). Configure: Check for getwd() and get_current_dir_name(). Stdio [NT]: Clean up cd(). ...
Merge branch 'grubba/fdlib' into 8.1 * grubba/fdlib: Stdio: Cleanup File()->truncate(). Configure: Moved tests for truncate64() and ftruncate64().
Configure: Moved tests for truncate64() and ftruncate64().
Merge branch 'grubba/fdlib' into 8.1 * grubba/fdlib: (25 commits) Stdio [NT]: Fixed warning on NT. Stdio [NT]: Added detection constant __HAVE_UTF8_FS__. I/O [NT]: Added note about the intent of fdlib. Stdio [NT]: Update get_dir() to accept/return UTF8. Stdio [NT]: Cleanup filesystem_stat(). Stdio [NT]: Clean up getcwd(). I/O [NT]: Added fd_get_current_dir_name(). Configure: Check for getwd() and get_current_dir_name(). Stdio [NT]: Clean up cd(). I/O [NT]: Added fd_chdir(). Stdio [NT]: Clean up mv(). I/O [NT]: Added fd_rename(). I/O [NT]: Added facility for dynamic lookup of library symbols. Stdio [NT]: Clean up mkdir(). I/O [NT]: Added fd_mkdir(). Configure: Moved API test of mkdir(). Stdio [NT]: Clean up rm(). I/O [NT]: Added fd_unlink(). I/O [NT]: Added fd_rmdir(). Stdio [NT]: Clean up file_truncate(). ...
Configure: Check for getwd() and get_current_dir_name().
Configure: Moved API test of mkdir().
Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63 * commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits) ...
sys/types.h has been part of POSIX since issue 1. It was randomly guarded in configure tests, so lets use it without ifdef.
Build [Stdio]: Prefer <termios.h> to <sys/termios.h>. Use the same header file consistently. Fixes compilation warnings on FreeBSD 10.3.
Stdio: include fstype name on systems that provide it as a string (Darwin)
Stdio: filesystem_stat() on Linux should now set fstype.
Build [Linux]: Don't link with libbind. Libbind is obsolete since many years back, and contains symbols that conflict with libc. Fixes use of getaddrinfo() on FC4.
No need to check for limits.h. It's part of C89 and we don't use HAVE_LIMITS_H everywhere.
Add constants for IP Type Of Service settings
build: remove check for ssize_t and add check for io.h
build: help build on Windows
Added nano-second resolution file-timestamp support to stat
Added access() This is access(2), there is currently no version for windows.
Stdio: Some system header files hide IPPROTO_IPV6 in an enum. The WIN32 SDK 6.0 ws2def.h header file hides the symbol IPPROTO_IPV6 in an anonymous enum typedefed to IPPROTO. Improves support for IPv6 on WIN32.
files -> _Stdio with minimal changes.
Stdio: Fix compilation issues on OSes without dirfd(3C). Some operating systems (like eg Solaris 10) do not have dirfd(3C). Fallback to indexing the DIR with dd_fd or d_fd to get the fd.
Stdio: Fix linking issues with static libgmp. Linking of Pike failed with "undefined reference to `__gmpz_import'" when libgmp was a static library (due to the Gmp module being linked into the pike binary before the _Stdio module). This fixes the issue by also linking _Stdio with libgmp.
Stdio.File: removed notify() This API has never been completed and does not work as advertised. Also, dnotify has has been superseded by inotify in 2005 which is supported as System.Inotify.
Merge remote-tracking branch 'origin/8.0' into string_alloc Conflicts: src/stralloc.c
perror test is not used.
Merge branch '8.0' into gobject-introspection
Merge remote-tracking branch 'origin/7.9' into pdf
Merge remote-tracking branch 'origin/7.9' into ba