r146267 - in /trunk/gcc/ada: ChangeLog g-socket...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Fri Apr 17 13:39:00 GMT 2009
Author: charlet
Date: Fri Apr 17 13:39:10 2009
New Revision: 146267
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146267
Log:
2009-04-17 Thomas Quinot <quinot@adacore.com>
PR ada/35953
* g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb,
g-socket.ads (GNAT.Sockets.Thin.C_Send,
GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms.
Replace calls to send(2) with equivalent sendto(2) calls.
(GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram.
(GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not
report an error in that case. Factor code common to the two versions
(datagram and stream) in common routine Stream_Write.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/g-socket.adb
trunk/gcc/ada/g-socket.ads
trunk/gcc/ada/g-socthi-mingw.adb
trunk/gcc/ada/g-socthi-mingw.ads
trunk/gcc/ada/g-socthi-vms.adb
trunk/gcc/ada/g-socthi-vms.ads
trunk/gcc/ada/g-socthi-vxworks.adb
trunk/gcc/ada/g-socthi-vxworks.ads
trunk/gcc/ada/g-socthi.adb
trunk/gcc/ada/g-socthi.ads
trunk/gcc/ada/g-stsifd-sockets.adb
More information about the Gcc-cvs
mailing list