Using xstrdup()?

Michael [Plouj] Ploujnikov ploujj at gmail.com
Fri Oct 13 10:53:48 CDT 2006


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 at talbotville.com>
Date: Oct 13, 2006 10:36 AM
Subject: Re: Using xstrdup()?
To: "Michael [Plouj] Ploujnikov" <ploujj at gmail.com>


On Thursday 12 October 2006 20:13, you wrote:
> On 10/12/06, Andrew Talbot <Andrew.Talbot at 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:
>
> http://source.winehq.org/ident?i=xstrdup
>

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



More information about the wine-devel mailing list