You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by od...@apache.org on 2007/11/07 15:58:38 UTC
svn commit: r592771 - in
/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix:
freebsd/hysl.c linux/hysl.c makefile
Author: odeakin
Date: Wed Nov 7 06:58:37 2007
New Revision: 592771
URL: http://svn.apache.org/viewvc?rev=592771&view=rev
Log:
Move hysl.c into os specific directories to allow for further platform ports.
Added:
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hysl.c (with props)
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hysl.c (with props)
Modified:
harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile
Added: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hysl.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hysl.c?rev=592771&view=auto
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hysl.c (added)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hysl.c Wed Nov 7 06:58:37 2007
@@ -0,0 +1,19 @@
+/*
+ * 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 the generic Unix version of this file */
+#include "../hysl.c"
Propchange: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/freebsd/hysl.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hysl.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hysl.c?rev=592771&view=auto
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hysl.c (added)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hysl.c Wed Nov 7 06:58:37 2007
@@ -0,0 +1,19 @@
+/*
+ * 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 the generic Unix version of this file */
+#include "../hysl.c"
Propchange: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/linux/hysl.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile?rev=592771&r1=592770&r2=592771&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/makefile Wed Nov 7 06:58:37 2007
@@ -27,7 +27,7 @@
$(SHAREDSUB)hygp.o hyipcmutex.o hymem.o \
$(HY_OS)/hymmap.o $(SHAREDSUB)hynls.o hynlshelpers.o hyosdump.o \
$(SHAREDSUB)hyport.o $(SHAREDSUB)hyportcontrol.o hyportptb.o \
- hysharedhelper.o hyshmem.o hyshsem.o hysl.o hysock.o \
+ hysharedhelper.o hyshmem.o hyshsem.o $(HY_OS)/hysl.o hysock.o \
$(SHAREDSUB)hystr.o $(SHAREDSUB)hystrftime.o $(SHAREDSUB)hystsl.o \
hysysinfo.o hytime.o $(SHAREDSUB)hytlshelpers.o hytty.o $(HY_OS)/hyvmem.o