aboutsummaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
authorVincent Celier <celier@gnat.com>2004-10-27 14:27:16 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2004-10-27 14:27:16 +0200
commit41cbab340832a48787eee35753755f2b3f4ec8fd (patch)
tree9b4f8b09d35bcb15d0b087c6989f50b3771498c7 /gcc/errors.c
parent6bfad5e135f38daff582c7c35588769295df30ac (diff)
downloadgcc-41cbab340832a48787eee35753755f2b3f4ec8fd.zip
gcc-41cbab340832a48787eee35753755f2b3f4ec8fd.tar.gz
gcc-41cbab340832a48787eee35753755f2b3f4ec8fd.tar.bz2
2004-10-26 Vincent Celier <celier@gnat.com>
Thomas Quinot <quinot@act-europe.fr> * g-socthi-vms.adb, g-socthi-mingw.adb, g-socthi-vxworks.ads: (C_Writev): Change MSG_Forced_Flags to Constants.MSG_Forced_Flags as there is no use of GNAT.Sockets.Constants. Remove remaining pragma Import for C_Write Remove C_Read and C_Write from internal implementation unit GNAT.Sockets.Thin, as their usage for sockets is non-portable (using the read and write functions from the system runtime library is fine on UNIX but won't work under Windows). * g-socket.adb: (Abort_Selector): Use C_Send instead of C_Write. (Check_Selector): Use C_Recv instead of C_Read. Selectors are the GNAT.Sockets abstraction to perform a select() call on a set of descriptors. To allow abortion of an ongoing select operation, some data is written to a dedicated socket that is always monitored. Under Windows, the write and read library functions cannot operate on sockets, so we need to use send and recv instead, which is portable across all supported platforms. * g-socthi.ads: Remove C_Read and C_Write from internal implementation unit GNAT.Sockets.Thin, as their usage for sockets is non-portable (using the read and write functions from the system runtime library is fine on UNIX but won't work under Windows). From-SVN: r89638
Diffstat (limited to 'gcc/errors.c')
0 files changed, 0 insertions, 0 deletions