aboutsummaryrefslogtreecommitdiffstats
path: root/pc
Commit message (Collapse)AuthorAgeFilesLines
* Update pc/Makefile.tst some more.Arnold D. Robbins2015-05-292-3/+6
|
* Update pc/Makefile.tst.Arnold D. Robbins2015-05-292-2/+8
|
* Changes for 4.1.3 release.Arnold D. Robbins2015-05-192-3/+7
|
* Update pc/Makefile.tst.Arnold D. Robbins2015-05-122-1/+11
|
* Update pc/Makefile.tst.Arnold D. Robbins2015-05-042-2/+16
|
* Make 4.1.2 release.Arnold D. Robbins2015-04-292-3/+7
|
* Small fix in pc/Makefile.tst.Arnold D. Robbins2015-04-252-3/+8
|
* Fix bogus failures of test suite on MS-WindowsEli Zaretskii2015-04-173-18/+53
| | | | | | | | | | | | | * testoutcmp.awk (END): Attempt a series of massages on the actual output to match it to the expected result, when the number of exponent digits is different. Also, edit "nul" into "null", to account for the difference in the null device name. This removes "failures" due to Windows-specific issues that do not indicate real problems in Gawk, just some non-portable assumptions about the expected results. * Makefile.tst (profile5, exit, hsprint, posix, double2, fmttest): Remove the "expect to fail" message for MinGW, and use the testoutcmp.awk script to loosely compare actual output to expected one.
* * Makefile.tst (negtime): Mark this test as an expected failure with MinGW.Eli Zaretskii2015-04-172-0/+2
|
* Fix test suite for MinGWEli Zaretskii2015-04-172-0/+3
| | | | * Makefile.tst (abs_top_builddir): Define.
* Fix building extensions on MS-WindowsEli Zaretskii2015-04-172-1/+5
| | | | * Makefile.ext ($(SIMPLE_EXTENSIONS)): Really use -static-libgcc.
* Update pc/Makefile.tst.Arnold D. Robbins2015-04-163-11/+31
|
* Avoid dependency on libgcc DLL in the extensions.Eli Zaretskii2015-04-082-5/+12
|
* Allow to redirect profile to stdout more portably.Eli Zaretskii2015-04-082-1/+6
|
* Update pc/Makefile.tst and pc/config.h.Arnold D. Robbins2015-04-073-20/+89
|
* Bump test version.Arnold D. Robbins2015-02-261-3/+3
|
* Update id test in pc/Makefile.tst.Arnold D. Robbins2014-11-212-0/+5
|
* Bump version.Arnold D. Robbins2014-11-191-3/+3
|
* Update pc/Makefile.tst.Arnold D. Robbins2014-11-132-4/+27
|
* OS/2 fixes.Arnold D. Robbins2014-11-112-2/+8
|
* Add configure option to enable severe portability problems.Arnold D. Robbins2014-09-271-0/+6
|
* Update pc/Makefile.tst.Arnold D. Robbins2014-09-232-14/+69
|
* Bump version to do a test tar ball.Arnold D. Robbins2014-05-211-3/+3
|
* Further fix in pc/Makefile.tst.Arnold D. Robbins2014-04-171-2/+1
|
* Update pc/Makefile.tst.Arnold D. Robbins2014-04-172-1/+10
|
* Make release tar ball.Arnold D. Robbins2014-04-082-3/+7
|
* Bump version is pc/config.h after doing so for tarball.Arnold D. Robbins2014-04-031-3/+3
|
* Update copyright years on files changed in 2014.Arnold D. Robbins2014-03-312-1/+12
|
* Bump version for beta tarball.Arnold D. Robbins2014-03-211-3/+3
|
* Bump version for test release.Arnold D. Robbins2014-03-171-3/+3
|
* Bump version for test tarball.Arnold D. Robbins2014-02-151-3/+3
|
* pc/Makefile.tst: Include original test/Makefile.in lines as comments.Scott Deifik2014-02-032-8/+13
|
* Bump version for test tarball.Arnold D. Robbins2014-01-311-3/+3
|
* Fix the test suite for the pc ports.Eli Zaretskii2014-01-282-3/+11
| | | | | | | | | test/strftime.awk: If DATECMD variable is non-empty, use it instead of the literal "date" as the 'date'-like command. pc/Makefile.tst (strftime): Pass the value of 'date' command through the DATECMD variable. (readdir): Adapt to changes in test/readdir0.awk.
* Next tarball, bumps version.Arnold D. Robbins2014-01-261-3/+3
|
* Add expected failure warnings in pc/Makefile.tst.Arnold D. Robbins2014-01-252-3/+8
|
* Sync pc/Makefile.tst with mainline test/Makefile.am.Arnold D. Robbins2014-01-242-9/+17
|
* Sync pc/Makefile.tst with mainline.Arnold D. Robbins2014-01-202-2/+19
|
* Fix pc/Makefile.tst per the changes in the test suite.Eli Zaretskii2014-01-152-1/+10
| | | | | | | * pc/Makefile.tst (mbprintf4, profile5, backbigs1, backsmalls1): Announce expected failures. (fts): Fail gracefully, to avoid bailing out of the test suite too early.
* Make 'system' and pipe writes consistent with pipe reads on MinGW.Eli Zaretskii2014-01-152-16/+16
| | | | | | | | | * popen.c (os_system): Use spawnl, and quote the command line, to be consistent with what gawk_popen does. (os_popen) [__MINGW32__]: Don't scriptify the command, to be consistent with gawk_popen. (os_pclose) [__MINGW32__]: Update to match os_open: no need to unlink the script file.
* Update version for test tarball.Arnold D. Robbins2014-01-141-9/+3
|
* DJGPP fixes, including update pc/Makefile.tst.Arnold D. Robbins2013-12-103-822/+893
|
* Bump version for test distribution.Arnold D. Robbins2013-11-281-3/+6
|
* Minor cleanups for init_socket function.Arnold D. Robbins2013-06-032-1/+7
|
* Support |& on MS-Windows, both for sockets and for pipes.Eli Zaretskii2013-06-0110-25/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | io.c (SHUT_RD) [SD_RECEIVE]: Define to SD_RECEIVE. (SHUT_WR) [SD_SEND]: Define to SD_SEND. (SHUT_RDWR) [SD_BOTH]: Define to SD_BOTH. (FD_TO_SOCKET, closemaybesocket) [!FD_TO_SOCKET]: New macros. (SOCKET_TO_FD, SOCKET) [!SOCKET_TO_FD]: New macros. (PIPES_SIMULATED): Define only for DJGPP. (pipe) [__MINGW32__]: Define to call _pipe, unless PIPES_SIMULATED is defined. (init_io) [HAVE_SOCKETS]: Call init_sockets. (iop_close, socketopen): Call closemaybesocket instead of close. (redirect) [__MINGW32__]: Call wait_any with a non-zero argument. (devopen) [__EMX__ || __MINGW32__]: Don't call stat on network pseudo-filenames. (two_way_open) [HAVE_SOCKETS]: Switch input and output to binary mode if appropriate. (two_way_open) [!PIPES_SIMULATED]: Use the __EMX__ code for MinGW as well. [__MINGW32__] Call spawnl to invoke $ComSpec and pass it a suitably quoted command line. (two_way_open) [__MINGW32__]: Wait only for a specified process ID. If successful, update the exit status of the exited process. Don't use signals that are undefined on MinGW. (two_way_open) [!PIPES_SIMULATED]: Use the __EMX__ code for MinGW as well. (min): Define only if not already defined. (read_with_timeout) [__MINGW32__]: Allow reading from sockets with timeout. (gawk_fclose) [__MINGW32__]: Close the underlying socket as well. getopt.c: Include stdlib.h for MinGW as well. pc/popen.h (SIGKILL) [__MINGW32__]: Define. (kill, quote_cmd): New prototypes. pc/popen.c: Include popen.h and errno.h. (popen, pclose, system): Undefine macros. (WIN32_LEAN_AND_MEAN) [__MINGW32__]: Define and include windows.h. (kill, quote_cmd) [!PIPES_SIMULATED]: New functions. (os_popen): Make the function definition match its prototype exactly. pc/gawkmisc.pc [HAVE_SOCKETS]: Include socket.h and windows.h. (socket, setsockopt, bind, connect, listen, accept, recvfrom) (shutdown): Undefine macros. (os_close_on_exec) [__MINGW32__]: Non-trivial implementation. (init_sockets, socket_to_fd, w32_socket, w32_setsockopt) (w32_bind, w32_connect, w32_listen, w32_accept, valid_socket) (w32_closesocket, w32_recvfrom, w32_shutdown) [HAVE_SOCKETS]: New functions for MinGW, emulate Posix sockets specified by file descriptors. pc/config.h (HAVE_GETADDRINFO, HAVE_SOCKADDR_STORAGE) (HAVE_SOCKETS) [__MINGW32__]: Define. pc/config.sed (HAVE_GETADDRINFO, HAVE_SOCKADDR_STORAGE) (HAVE_SOCKETS) [__MINGW32__]: Define. pc/Makefile.tst (fmtspcl): Announce expected failure only if not built with MPFR. (inetecht, inetdayt): For MinGW, warn about time-outs. (beginfile1, clos1way, getlndir): Announce expected failure only with DJGPP. (exit): Describe the failure on MinGW. (readdir): Explain why test might fail with bad ls.exe. pc/Makefile (mingw32, mingw32-readline, mingw32-mpfr) (mingw32-readline-mpfr): Add -lws2_32 to the link flags. (gawkmisc$O): Depend on socket.h. (io$O): Depend on socket.h and in.h. (popen$O): New dependency. posix/gawkmisc.c (init_sockets): New dummy function. extension/filefuncs.c [_WIN32]: Define WIN32_LEAN_AND_MEAN before including windows.h. extension/readdir.c [__MINGW32__]: Define WIN32_LEAN_AND_MEAN before including windows.h. extension/filefuncs.c [HAVE_GETSYSTEMTIMEASFILETIME]: Define WIN32_LEAN_AND_MEAN before including windows.h. test/clos1way.awk: Don't use features of Posix shells, to allow this test to work on Windows. test/beginfile2.sh: Leave one blank between the left quote and the following slash. Use non-absolute name for a non-existent file. This is to avoid breakage on Windows due to MSYS transformation of Posix style /foo/bar absolute file names. test/beginfile2.ok: Adapt to changes in beginfile2.sh.
* Replace obsolete AC_STRUCT_ST_BLKSIZE macro.Arnold D. Robbins2013-05-272-4/+4
|
* Fix building, installing, and testing extensions on MS-Windows.Eli Zaretskii2013-05-144-14/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test/Makefile.in (mpfr-tests, shlib-tests): Add a blank character between ' and /FOO/ in Gawk command lines, for the benefit of testing under MSYS Bash. test/filefuncs.awk (BEGIN): Call 'stat' on gawkapi.o, not on gawk, which does not exist on systems that produce gawk.exe. README_D/README.pc: Update the pc build and test instructions. pc/Makefile.tst (AWK): Set AWKLIBPATH so extensions could be found. (LS): New variable. (check): Add back shlib-tests and shlib-msg-end. (readdir): Add a warning regarding inode reporting by ls.exe. (fts, fork, fork2): Add message about expected failure on MinGW. pc/Makefile (install): Install the extensions. (install-strip): Likewise. pc/Makefile.ext: New file. io.c (devopen) [__EMX__ || __MINGW32__]: Produce EISDIR on MinGW when an attempt to open() a directory fails. (two_way_open) [__EMX__ || __MINGW32__]: When trying to open() a directory fails with EISDIR, assign FAKE_FD_VALUE to the file descriptor and attributes of a directory to its mode bits. This is needed to support the readdir extension. gawkapi.h (FAKE_FD_VALUE): New macro, used in io.h and in extension/gawkdirfd.h. extension/rwarray.c [__MINGW32__]: Include winsock2.h instead of arpa/inet.h. extension/readdir.c [__MINGW32__]: Include windows.h. Include gawkapi.h before gawkdirfd.h, since the former defines FAKE_FD_VALUE needed by the latter. (ftype): Accept an additional argument, the directory that is being read. Callers changed. [!DT_BLK]: Produce the file's type by calling 'stat' on it, if the dirent structure doesn't provide that. (get_inode): New function, to produce inode values on MS-Windows. (dir_get_record): Use it. extension/inplace.c (chown, link) [__MINGW32__]: Redirect to existing library functions. (mkstemp) [__MINGW32__]: New function, for MinGW, which doesn't have it in its library. (do_inplace_end) [__MINGW32__]: Remove the old file before renaming the new, since 'rename' on Windows cannot overwrite existing files. extension/gawkdirfd.h (ENOTSUP): Define to ENOSYS if not already defined. (DIR_TO_FD): If not defined yet, define to FAKE_FD_VALUE. extension/filefuncs.c (get_inode) [_WIN32]: New function, produces the file index used on Windows as its inode. (fill_stat_array) [_WIN32]: Use it.
* Gawk 4.1.0 release.Arnold D. Robbins2013-05-102-3/+7
|
* Update pc/Makefile.tst.Arnold D. Robbins2013-05-092-5/+26
|
* Fix the problem with MPFR build on Windows.Eli Zaretskii2013-05-052-0/+7
| | | | | pc/config.sed (HAVE_MPFR): Don't #undef; it will be defined by pc/Makefile as needed.