You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2009/09/09 19:43:57 UTC
svn commit: r813056 - /apr/apr/trunk/file_io/os2/link.c
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