Drop the pipe() macro. Defining macros outside of its namespace that look
authorTor Lillqvist <tml@novell.com>
Sun, 13 May 2007 20:46:59 +0000 (20:46 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 13 May 2007 20:46:59 +0000 (20:46 +0000)
commit20d47d6f9b0930c1da15942aad847265aee1aaa4
tree458774becdec3b503b6955a2be11088b68d6d14e
parent441285045df70ddb5e6704c9596e64ba96857bc5
Drop the pipe() macro. Defining macros outside of its namespace that look

2007-05-13  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.h: Drop the pipe() macro. Defining macros outside of
its namespace that look like POSIX functions is not GLib's
business in my opinion. This means pipe()-using code that has
relied on this definition will need changing to call _pipe() on
Windows, and make the decision itself on what size pipe buffer to
use, and whether to use text or binary mode, and whether the pipe
handles should be inheritable or not.

* glib/gspawn-win32.c (make_pipe): Use _pipe() instead of pipe().

svn path=/trunk/; revision=5490
ChangeLog
glib/gspawn-win32.c
glib/gwin32.h