[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS libidn/gl
From: |
libidn-commit |
Subject: |
CVS libidn/gl |
Date: |
Tue, 13 Mar 2007 10:45:32 +0100 |
Update of /home/jas/self/public-cvs/libidn/gl
In directory mocca:/home/jas/self/src/libidn/gl
Modified Files:
dummy.c getopt_.h
Log Message:
Update.
--- /home/jas/self/public-cvs/libidn/gl/dummy.c 2005/05/26 14:42:00 1.7
+++ /home/jas/self/public-cvs/libidn/gl/dummy.c 2007/03/13 09:45:32 1.8
@@ -1,5 +1,5 @@
/* A dummy file, to prevent empty libraries from breaking builds.
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@ -25,6 +25,20 @@
Compiling this file, and adding its object file to the library, will
prevent the library from being empty. */
+/* Some systems, such as Solaris with cc 5.0, refuse to work with libraries
+ that don't export any symbol. You might get an error like:
+
+ > cc ... libgnu.a
+ > ild: (bad file) garbled symbol table in archive ../gllib/libgnu.a
+
+ Compiling this file, and adding its object file to the library, will
+ prevent the library from exporting no symbols. */
+
+#ifdef __sun
+/* This declaration ensures that the library will export at least 1 symbol. */
+int dummy;
+#else
/* This declaration is solely to ensure that after preprocessing
this file is never empty. */
typedef int dummy;
+#endif
--- /home/jas/self/public-cvs/libidn/gl/getopt_.h 2006/11/15 13:45:33
1.7
+++ /home/jas/self/public-cvs/libidn/gl/getopt_.h 2007/03/13 09:45:32
1.8
@@ -1,5 +1,5 @@
/* Declarations for getopt.
- Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2005,2006
+ Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2005,2006,2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -101,7 +101,7 @@
# endif
#endif
-#ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
@@ -216,7 +216,7 @@
#endif
-#ifdef __cplusplus
+#ifdef __cplusplus
}
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CVS libidn/gl,
libidn-commit <=