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

Re: Patch to fix FTBFS of pvm on GNU/Hurd



Hi,

On Fri, Apr 15, 2011 at 03:55:49PM +0200, Svante Signell wrote:
> On Fri, 2011-04-15 at 01:08 +0200, Emilio Pozuelo Monfort wrote:
> > On 15/04/11 00:10, Samuel Thibault wrote:
> > > Svante Signell, le Thu 14 Apr 2011 23:18:32 +0200, a écrit :

> > And I wouldn't do #ifdef #else #endif, since strdup is portable.
> > Just use it unconditionally instead of strcpy.
> 
> I chose not to use it unconditionally, then I would have to rewrite
> major parts of this program. It contains very old code, first entry
> 1993, latest revision 2004. Since then it seems to have accumulated a
> lot of patches, the debian count is 22 (23 with mine).

I don't understand. Why would using strdup() unconditionally require
more rewrite than using it only for GNU?

-antrik-


Reply to: