diff src/os/linux/vm/hpi_linux.hpp @ 222:2a1a77d3458f

6718676: putback for 6604014 is incomplete Reviewed-by: kvn, jrose
author never
date Tue, 24 Jun 2008 16:00:14 -0700
parents a61af66fc99e
children c18cbe5936b8
line wrap: on
line diff
--- a/src/os/linux/vm/hpi_linux.hpp	Tue Jun 24 10:43:29 2008 -0700
+++ b/src/os/linux/vm/hpi_linux.hpp	Tue Jun 24 16:00:14 2008 -0700
@@ -70,6 +70,10 @@
   RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, (unsigned int) flags));
 }
 
+inline int hpi::raw_send(int fd, char *buf, int nBytes, int flags) {
+  return send(fd, buf, nBytes, flags);
+}
+
 inline int hpi::timeout(int fd, long timeout) {
   julong prevtime,newtime;
   struct timeval t;