bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] [PATCH] hide symbols for helper xmalloc/xrealloc/xfree fu


From: Robert Millan
Subject: [Bug-readline] [PATCH] hide symbols for helper xmalloc/xrealloc/xfree functions
Date: Thu, 4 Jun 2009 15:58:05 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi!

libreadline is exporting symbols for its internal helper
xmalloc/xrealloc/xfree functions.  These function names are
quite common, but might not behave exactly the same way as
readline expects.

Attached patch fixes the problem by adding a "hidden" attribute to
them.

I'm also attaching a test case.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."

Attachment: symbol_visibility.diff
Description: Text Data

Attachment: test.c
Description: Text Data


reply via email to

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