<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gawk.git/pc/Makefile, branch feature/stringfix</title>
<subtitle>git.savannah.gnu.org: git/gawk.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/'/>
<entry>
<title>Fix the MinGW build and sync its tests with mainline,</title>
<updated>2017-01-21T15:13:21+00:00</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2017-01-21T15:13:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=e3e911b992f11a567cca0a0ed6ed04ef5f9e21f7'/>
<id>e3e911b992f11a567cca0a0ed6ed04ef5f9e21f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes toward release and test tarball.</title>
<updated>2016-05-30T20:05:19+00:00</updated>
<author>
<name>Arnold D. Robbins</name>
<email>arnold@skeeve.com</email>
</author>
<published>2016-05-30T20:05:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=db17f0d20a03bd851e8e4f005eb6304ad6a93c12'/>
<id>db17f0d20a03bd851e8e4f005eb6304ad6a93c12</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation warnings in MinGW builds.</title>
<updated>2016-05-12T07:34:32+00:00</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2016-05-12T07:34:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=7458e696b5563f64e4da81ae95f88c7f36896ab8'/>
<id>7458e696b5563f64e4da81ae95f88c7f36896ab8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation errors and warnings with MinGW 3.21 and later.</title>
<updated>2016-03-16T17:13:19+00:00</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2016-03-16T17:13:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=f32d60edb8a3325e27953787b7fb9f051423b6bc'/>
<id>f32d60edb8a3325e27953787b7fb9f051423b6bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years on files changed in 2014.</title>
<updated>2014-03-31T19:17:13+00:00</updated>
<author>
<name>Arnold D. Robbins</name>
<email>arnold@skeeve.com</email>
</author>
<published>2014-03-31T19:17:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=69d85d51dfd0f2e3b464585633d270f06fa1e846'/>
<id>69d85d51dfd0f2e3b464585633d270f06fa1e846</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support |&amp; on MS-Windows, both for sockets and for pipes.</title>
<updated>2013-06-01T10:03:29+00:00</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2013-06-01T10:03:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=5482bf19246965d6839fe9df1aec0785f0b1a329'/>
<id>5482bf19246965d6839fe9df1aec0785f0b1a329</id>
<content type='text'>
 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix building, installing, and testing extensions on MS-Windows.</title>
<updated>2013-05-14T13:26:29+00:00</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2013-05-14T13:26:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=242f84cd211a13c4056d228aaa9bc1f57aa21763'/>
<id>242f84cd211a13c4056d228aaa9bc1f57aa21763</id>
<content type='text'>
 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make buildable on DJGPP.</title>
<updated>2013-03-04T13:56:17+00:00</updated>
<author>
<name>Arnold D. Robbins</name>
<email>arnold@skeeve.com</email>
</author>
<published>2013-03-04T13:56:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=9e0c24df04a136c9128770e1f2ea8cdaac268e1c'/>
<id>9e0c24df04a136c9128770e1f2ea8cdaac268e1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable dynamic extensions for MinGW.</title>
<updated>2013-02-11T18:38:17+00:00</updated>
<author>
<name>Arnold D. Robbins</name>
<email>arnold@skeeve.com</email>
</author>
<published>2013-02-11T18:38:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=ba18cde06b1c80426fdc9d5e6dff793d44bb0bc8'/>
<id>ba18cde06b1c80426fdc9d5e6dff793d44bb0bc8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'gawk-4.0-stable'</title>
<updated>2013-01-01T17:06:56+00:00</updated>
<author>
<name>Arnold D. Robbins</name>
<email>arnold@skeeve.com</email>
</author>
<published>2013-01-01T17:06:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gawk.git/commit/?id=ae526a956180e702ff09f3ff011ee5f01678189d'/>
<id>ae526a956180e702ff09f3ff011ee5f01678189d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
