commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1156082 - in /commons/sandbox/runtime/trunk/src/main/native: Makefile.msc.in Makefile.unx.in os/bsdx/sendfile.c os/darwin/sendfile.c os/linux/sendfile.c os/solaris/sendfile.c os/win32/sendfile.c
Date Wed, 10 Aug 2011 09:42:48 GMT
Author: mturk
Date: Wed Aug 10 09:42:47 2011
New Revision: 1156082

URL: http://svn.apache.org/viewvc?rev=1156082&view=rev
Log:
Add sendfile native stub file

Added:
    commons/sandbox/runtime/trunk/src/main/native/os/bsdx/sendfile.c   (with props)
    commons/sandbox/runtime/trunk/src/main/native/os/darwin/sendfile.c   (with props)
    commons/sandbox/runtime/trunk/src/main/native/os/linux/sendfile.c   (with props)
    commons/sandbox/runtime/trunk/src/main/native/os/solaris/sendfile.c   (with props)
    commons/sandbox/runtime/trunk/src/main/native/os/win32/sendfile.c   (with props)
Modified:
    commons/sandbox/runtime/trunk/src/main/native/Makefile.msc.in
    commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in

Modified: commons/sandbox/runtime/trunk/src/main/native/Makefile.msc.in
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/Makefile.msc.in?rev=1156082&r1=1156081&r2=1156082&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/Makefile.msc.in (original)
+++ commons/sandbox/runtime/trunk/src/main/native/Makefile.msc.in Wed Aug 10 09:42:47 2011
@@ -97,6 +97,7 @@ WIN32_SOURCES=\
 	$(TOPDIR)\os\win32\security.c \
 	$(TOPDIR)\os\win32\selectset.c \
 	$(TOPDIR)\os\win32\semaphore.c \
+	$(TOPDIR)\os\win32\sendfile.c \
 	$(TOPDIR)\os\win32\service.c \
 	$(TOPDIR)\os\win32\shmem.c \
 	$(TOPDIR)\os\win32\sockopts.c \

Modified: commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in?rev=1156082&r1=1156081&r2=1156082&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in (original)
+++ commons/sandbox/runtime/trunk/src/main/native/Makefile.unx.in Wed Aug 10 09:42:47 2011
@@ -81,18 +81,22 @@ UNIX_SOURCES=\
 
 BSDX_SOURCES=\
 	$(TOPDIR)/os/darwin/kqueue.c \
+	$(TOPDIR)/os/bsdx/sendfile.c \
 	$(TOPDIR)/os/bsdx/os.c
 DARWIN_SOURCES=\
 	$(TOPDIR)/os/darwin/kqueue.c \
+	$(TOPDIR)/os/darwin/sendfile.c \
 	$(TOPDIR)/os/darwin/os.c
 HPUX_SOURCES=\
 	$(TOPDIR)/os/hpux/os.c
 LINUX_SOURCES=\
 	$(TOPDIR)/os/linux/epoll.c \
 	$(TOPDIR)/os/linux/misc.c \
+	$(TOPDIR)/os/linux/sendfile.c \
 	$(TOPDIR)/os/linux/os.c
 SOLARIS_SOURCES=\
 	$(TOPDIR)/os/solaris/port.c \
+	$(TOPDIR)/os/solaris/sendfile.c \
 	$(TOPDIR)/os/solaris/os.c
 
 LIBSOURCES=\

Added: commons/sandbox/runtime/trunk/src/main/native/os/bsdx/sendfile.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/bsdx/sendfile.c?rev=1156082&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/bsdx/sendfile.c (added)
+++ commons/sandbox/runtime/trunk/src/main/native/os/bsdx/sendfile.c Wed Aug 10 09:42:47 2011
@@ -0,0 +1,28 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "acr/clazz.h"
+#include "acr/memory.h"
+#include "acr/jniapi.h"
+#include "acr/port.h"
+#include "acr/time.h"
+#include "acr/iodefs.h"
+#include "acr/netapi.h"
+#include "acr/ring.h"
+#include "acr/misc.h"
+#include "arch_opts.h"
+#include "arch_sync.h"
+

Propchange: commons/sandbox/runtime/trunk/src/main/native/os/bsdx/sendfile.c
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/runtime/trunk/src/main/native/os/darwin/sendfile.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/darwin/sendfile.c?rev=1156082&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/darwin/sendfile.c (added)
+++ commons/sandbox/runtime/trunk/src/main/native/os/darwin/sendfile.c Wed Aug 10 09:42:47
2011
@@ -0,0 +1,28 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "acr/clazz.h"
+#include "acr/memory.h"
+#include "acr/jniapi.h"
+#include "acr/port.h"
+#include "acr/time.h"
+#include "acr/iodefs.h"
+#include "acr/netapi.h"
+#include "acr/ring.h"
+#include "acr/misc.h"
+#include "arch_opts.h"
+#include "arch_sync.h"
+

Propchange: commons/sandbox/runtime/trunk/src/main/native/os/darwin/sendfile.c
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/runtime/trunk/src/main/native/os/linux/sendfile.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/linux/sendfile.c?rev=1156082&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/linux/sendfile.c (added)
+++ commons/sandbox/runtime/trunk/src/main/native/os/linux/sendfile.c Wed Aug 10 09:42:47
2011
@@ -0,0 +1,28 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "acr/clazz.h"
+#include "acr/memory.h"
+#include "acr/jniapi.h"
+#include "acr/port.h"
+#include "acr/time.h"
+#include "acr/iodefs.h"
+#include "acr/netapi.h"
+#include "acr/ring.h"
+#include "acr/misc.h"
+#include "arch_opts.h"
+#include "arch_sync.h"
+

Propchange: commons/sandbox/runtime/trunk/src/main/native/os/linux/sendfile.c
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/runtime/trunk/src/main/native/os/solaris/sendfile.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/solaris/sendfile.c?rev=1156082&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/solaris/sendfile.c (added)
+++ commons/sandbox/runtime/trunk/src/main/native/os/solaris/sendfile.c Wed Aug 10 09:42:47
2011
@@ -0,0 +1,28 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "acr/clazz.h"
+#include "acr/memory.h"
+#include "acr/jniapi.h"
+#include "acr/port.h"
+#include "acr/time.h"
+#include "acr/iodefs.h"
+#include "acr/netapi.h"
+#include "acr/ring.h"
+#include "acr/misc.h"
+#include "arch_opts.h"
+#include "arch_sync.h"
+

Propchange: commons/sandbox/runtime/trunk/src/main/native/os/solaris/sendfile.c
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/runtime/trunk/src/main/native/os/win32/sendfile.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/sendfile.c?rev=1156082&view=auto
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/sendfile.c (added)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/sendfile.c Wed Aug 10 09:42:47
2011
@@ -0,0 +1,28 @@
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "acr/clazz.h"
+#include "acr/memory.h"
+#include "acr/jniapi.h"
+#include "acr/port.h"
+#include "acr/time.h"
+#include "acr/iodefs.h"
+#include "acr/netapi.h"
+#include "acr/ring.h"
+#include "acr/misc.h"
+#include "arch_opts.h"
+#include "arch_sync.h"
+

Propchange: commons/sandbox/runtime/trunk/src/main/native/os/win32/sendfile.c
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message