bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] Proposed Module: canonicalize-lgpl


From: Bruno Haible
Subject: Re: [bug-gnulib] Proposed Module: canonicalize-lgpl
Date: Fri, 3 Nov 2006 14:58:05 +0100
User-agent: KMail/1.9.1

Paul Eggert wrote:
> I'd prefer something more like fts, where
> the code itself is the same in both modules ...
> Can't we slim it down to one copy? 

Hmm, in terms of maintainability, borrowing an implementation from glibc
doesn't cost much, since the code in glibc doesn't change often. Either way,
we'd have 2 implementations:
   canonicalize == canonicalize-lgpl != glibc canonicalize
or
   canonicalize != canonicalize-lgpl == glibc canonicalize

We cannot easily merge this into a single implementation, because with the
added canonicalize_mode_t argument and the use of file_name_concat, the
gnulib canonicalize differs significantly from the one in glibc.

Bruno




reply via email to

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