I'm forwarding this because I originally broke the thread by replying to the author directly. This message is supposed to come before the previous message. ---------- Forwarded message ---------- From: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Oct 13, 2006 10:36 AM Subject: Re: Using xstrdup()? To: "Michael [Plouj] Ploujnikov" <ploujj(a)gmail.com> On Thursday 12 October 2006 20:13, you wrote:
On 10/12/06, Andrew Talbot <Andrew.Talbot(a)talbotville.com> wrote:
Hi,
I want to use xstrdup() in winebuild/search.c. What do I need to do to make this function available in this file, please?
See if these examples can help you:
Hi Michael, Thanks for this. I've since noticed that plain strdup() has already been used in this file, so I shall just use that, with an assert() to catch the unlikely case of failure. Thanks again, -- Andy. -- () ASCII Ribbon Campaign /\ - against HTML mail & vCards