apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject svn commit: r813056 - /apr/apr/trunk/file_io/os2/link.c
Date Wed, 09 Sep 2009 17:43:57 GMT
Author: bjh
Date: Wed Sep  9 17:43:57 2009
New Revision: 813056

URL: http://svn.apache.org/viewvc?rev=813056&view=rev
Log:
OS/2: Add "not implemented" stub for apr_file_link() as OS/2 doesn't support
links.

Added:
    apr/apr/trunk/file_io/os2/link.c   (with props)

Added: apr/apr/trunk/file_io/os2/link.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/os2/link.c?rev=813056&view=auto
==============================================================================
--- apr/apr/trunk/file_io/os2/link.c (added)
+++ apr/apr/trunk/file_io/os2/link.c Wed Sep  9 17:43:57 2009
@@ -0,0 +1,23 @@
+/* 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 "apr_arch_file_io.h"
+
+APR_DECLARE(apr_status_t) apr_file_link(const char *from_path, const char *to_path)
+{
+    /* OS/2 doesn't support links */
+    return APR_ENOTIMPL;
+}

Propchange: apr/apr/trunk/file_io/os2/link.c
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message