bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] build: avoid link failure on systems using gnulib's fcntl bu


From: Bruno Haible
Subject: Re: [PATCH] build: avoid link failure on systems using gnulib's fcntl but not open
Date: Sun, 28 Mar 2010 01:39:24 +0100
User-agent: KMail/1.9.9

> After cleaning up the @GNULIB_XYZ@ variables for possible use in tests-related
> modules, now the same for the GNULIB_XYZ C macros.

Here's the change for the modules 'malloc', 'realloc', 'sigpipe'. These modules
cannot be used among tests-related modules, due to the way the GNULIB_MALLOC_GNU
macro etc. are used in the middle of functions in lib/*.c.


2010-03-27  Bruno Haible  <address@hidden>

        Add a remark about certain modules.
        * modules/malloc (Comment): New section.
        * modules/realloc (Comment): Likewise.
        * modules/sigpipe (Comment): Likewise.

--- modules/malloc.orig Sun Mar 28 01:31:00 2010
+++ modules/malloc      Sun Mar 28 01:30:28 2010
@@ -1,6 +1,11 @@
 Description:
 malloc() function that is glibc compatible.
 
+Comment:
+This module should not be used as a dependency from a test module,
+otherwise when this module occurs as a tests-related module, it will
+have side effects on the compilation of the main modules in lib/.
+
 Files:
 lib/malloc.c
 
--- modules/realloc.orig        Sun Mar 28 01:31:01 2010
+++ modules/realloc     Sun Mar 28 01:30:28 2010
@@ -1,6 +1,11 @@
 Description:
 realloc() function that is glibc compatible.
 
+Comment:
+This module should not be used as a dependency from a test module,
+otherwise when this module occurs as a tests-related module, it will
+have side effects on the compilation of the main modules in lib/.
+
 Files:
 lib/realloc.c
 
--- modules/sigpipe.orig        Sun Mar 28 01:31:01 2010
+++ modules/sigpipe     Sun Mar 28 01:30:28 2010
@@ -1,6 +1,11 @@
 Description:
 Emulation of POSIX compatible SIGPIPE behaviour.
 
+Comment:
+This module should not be used as a dependency from a test module,
+otherwise when this module occurs as a tests-related module, it will
+have side effects on the compilation of the main modules in lib/.
+
 Files:
 m4/sigpipe.m4
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]