glib/Makefile.am gmodule/Makefile.am Current GNU tools do understand the

2005-06-24  Tor Lillqvist  <tml@novell.com>

	* glib/Makefile.am
	* gmodule/Makefile.am
	* gobject/Makefile.am: Current GNU tools do understand the
	PRIVATE keyword.

	* glib/gfileutils.c (g_mkdir_with_parents): Return error with
	EINVAL also for empty pathnames.
	(g_build_pathname_va): Fix typo.
This commit is contained in:
Tor Lillqvist 2005-06-24 13:26:45 +00:00 committed by Tor Lillqvist
parent 793a9e4dcd
commit 80d0d5690f
10 changed files with 48 additions and 25 deletions

View File

@ -1,3 +1,12 @@
2005-06-24 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am (install-libtool-import-lib): Current GNU tools
do understand the PRIVATE keyword.
* glib/gfileutils.c (g_mkdir_with_parents): Return error with
EINVAL also for empty pathnames.
(g_build_pathname_va): Fix typo.
Thu Jun 23 15:52:08 2005 Manish Singh <yosh@gimp.org>
* glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32

View File

@ -1,3 +1,12 @@
2005-06-24 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am (install-libtool-import-lib): Current GNU tools
do understand the PRIVATE keyword.
* glib/gfileutils.c (g_mkdir_with_parents): Return error with
EINVAL also for empty pathnames.
(g_build_pathname_va): Fix typo.
Thu Jun 23 15:52:08 2005 Manish Singh <yosh@gimp.org>
* glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32

View File

@ -1,3 +1,12 @@
2005-06-24 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am (install-libtool-import-lib): Current GNU tools
do understand the PRIVATE keyword.
* glib/gfileutils.c (g_mkdir_with_parents): Return error with
EINVAL also for empty pathnames.
(g_build_pathname_va): Fix typo.
Thu Jun 23 15:52:08 2005 Manish Singh <yosh@gimp.org>
* glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32

View File

@ -1,3 +1,12 @@
2005-06-24 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am (install-libtool-import-lib): Current GNU tools
do understand the PRIVATE keyword.
* glib/gfileutils.c (g_mkdir_with_parents): Return error with
EINVAL also for empty pathnames.
(g_build_pathname_va): Fix typo.
Thu Jun 23 15:52:08 2005 Manish Singh <yosh@gimp.org>
* glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32

View File

@ -202,15 +202,6 @@ if OS_WIN32
export_symbols = -export-symbols glib.def
install-libtool-import-lib:
# Don't put the binary compatibility entries in the import lib!
# (Unfortunately the GNU linker doesn't yet understand the PRIVATE
# directive in .def files.)
#
for entry in `grep PRIVATE glib.def | sed -e 's/PRIVATE//'`; do \
file=`$(NM) -A .libs/libglib-2.0.dll.a | tr -d '\r' | grep -E $$entry'$$' | head -n 1 | cut -d: -f2`; \
ar d .libs/libglib-2.0.dll.a $$file; \
done
$(RANLIB) .libs/libglib-2.0.dll.a
$(INSTALL) .libs/libglib-2.0.dll.a $(DESTDIR)$(libdir)
$(INSTALL) glib.def $(DESTDIR)$(libdir)/glib-2.0.def

View File

@ -76,7 +76,7 @@ g_mkdir_with_parents (const gchar *pathname,
{
gchar *fn, *p;
if (pathname == NULL)
if (pathname == NULL || *pathname == '\0')
{
errno = EINVAL;
return -1;
@ -1755,7 +1755,7 @@ g_build_path (const gchar *separator,
#ifdef G_OS_WIN32
static gchar *
g_build_filename_va (const gchar *first_element,
g_build_pathname_va (const gchar *first_element,
va_list args,
gchar **str_array)
{

View File

@ -1,3 +1,8 @@
2005-06-24 Tor Lillqvist <tml@novell.com>
* Makefile.am (install-libtool-import-lib): Current GNU tools do
understand the PRIVATE keyword.
2005-06-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.7.0 ===

View File

@ -55,11 +55,6 @@ if OS_WIN32
export_symbols = -export-symbols $(srcdir)/gmodule.def
install-libtool-import-lib:
# Don't put the binary compatibility entries in the import lib!
for entry in `grep PRIVATE gmodule.def | sed -e 's/PRIVATE//'`; do \
file=`nm -A .libs/libgmodule-2.0.dll.a | tr -d '\r' | grep -E $$entry'$$' | head -n 1 | cut -d: -f2`; \
ar d .libs/libgmodule-2.0.dll.a $$file; \
done
$(INSTALL) .libs/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)
$(INSTALL) $(srcdir)/gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def

View File

@ -1,3 +1,8 @@
2005-06-24 Tor Lillqvist <tml@novell.com>
* Makefile.am (install-libtool-import-lib): Current GNU tools do
understand the PRIVATE keyword.
2005-06-19 Matthias Clasen <mclasen@redhat.com>
* gparam.h (GParamFlags): Avoid a warning. (#308295,

View File

@ -54,15 +54,6 @@ if OS_WIN32
export_symbols = -export-symbols gobject.def
install-libtool-import-lib:
# Don't put the bug compatibility entries in the import lib!
# (Unfortunately the GNU linker doesn't yet understand the PRIVATE
# directive in .def files.)
#
for entry in `grep PRIVATE gobject.def | sed -e 's/PRIVATE//'`; do \
file=`$(NM) -A .libs/libgobject-2.0.dll.a | grep $$entry | head -n 1 | cut -d: -f2`; \
ar d .libs/libgobject-2.0.dll.a $$file; \
done
$(RANLIB) .libs/libgobject-2.0.dll.a
$(INSTALL) .libs/libgobject-2.0.dll.a $(DESTDIR)$(libdir)
$(INSTALL) gobject.def $(DESTDIR)$(libdir)/gobject-2.0.def