mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
Fix link error in relocatability wrappers, due to xalloc_die().
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2007-12-24 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Fix link error due to xalloc_die().
|
||||
* lib/progreloc.c: When NO_XMALLOC is defined, use areadlink instead
|
||||
of xreadlink.
|
||||
* lib/relocwrapper.c: Update comments.
|
||||
* build-aux/install-reloc: Remove xreadlink.c from file list.
|
||||
* modules/relocatable-prog-wrapper (Files): Remove xreadlink.h and
|
||||
xreadlink.c.
|
||||
Reported by Левашев Иван <octagram@bluebottle.com>.
|
||||
|
||||
2007-12-24 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Split setenv module into setenv and unsetenv. Get rid of setenv.h.
|
||||
|
@@ -131,7 +131,6 @@ func_verbose $compile_command \
|
||||
"$srcdir"/relocwrapper.c \
|
||||
"$srcdir"/progname.c \
|
||||
"$srcdir"/progreloc.c \
|
||||
"$srcdir"/xreadlink.c \
|
||||
"$srcdir"/areadlink.c \
|
||||
"$srcdir"/readlink.c \
|
||||
"$srcdir"/canonicalize-lgpl.c \
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/* Provide relocatable programs.
|
||||
Copyright (C) 2003-2006 Free Software Foundation, Inc.
|
||||
Copyright (C) 2003-2007 Free Software Foundation, Inc.
|
||||
Written by Bruno Haible <bruno@clisp.org>, 2003.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
@@ -43,10 +43,16 @@
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "xreadlink.h"
|
||||
#include "canonicalize.h"
|
||||
#include "relocatable.h"
|
||||
|
||||
#ifdef NO_XMALLOC
|
||||
# include "areadlink.h"
|
||||
# define xreadlink areadlink
|
||||
#else
|
||||
# include "xreadlink.h"
|
||||
#endif
|
||||
|
||||
#ifdef NO_XMALLOC
|
||||
# define xmalloc malloc
|
||||
# define xstrdup strdup
|
||||
|
@@ -19,11 +19,11 @@
|
||||
relocwrapper
|
||||
-> progname
|
||||
-> progreloc
|
||||
-> xreadlink
|
||||
-> areadlink
|
||||
-> readlink
|
||||
-> canonicalize-lgpl
|
||||
-> malloca
|
||||
-> readlink
|
||||
-> relocatable
|
||||
-> setenv
|
||||
-> malloca
|
||||
|
@@ -8,8 +8,6 @@ lib/relocwrapper.c
|
||||
lib/progname.h
|
||||
lib/progname.c
|
||||
lib/progreloc.c
|
||||
lib/xreadlink.h
|
||||
lib/xreadlink.c
|
||||
lib/areadlink.h
|
||||
lib/areadlink.c
|
||||
lib/readlink.c
|
||||
|
Reference in New Issue
Block a user