bug-gnulib
[Top][All Lists]
Advanced

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

Re: findprog: don't exit => exit-free base_name, dir_name, etc


From: Paul Eggert
Subject: Re: findprog: don't exit => exit-free base_name, dir_name, etc
Date: Fri, 29 Aug 2008 13:03:37 -0700
User-agent: Gnus/5.101 (Gnus v5.10.10) Emacs/22.2 (gnu/linux)

Eric Blake <address@hidden> writes:

> how about we go one step
> further, and have a deprecation period, where for a year or so, we provide
> mbase_name (returns NULL on failure) and xbase_name (calls xmalloc on
> failure) but no base_name.

There's a better solution that doesn't involve waiting a year, and
deprecation, and so forth (problems that gnulib is supposed to avoid).
We just change the name of the unprefixed function.  Its name already
reflects that; it is called "base_name" because it means something
different from the standard "basename".

So I propose that we simply change the name of "base_name" to
"gbasename" (or whatever other name you like), and do something
similar with the other functions.




reply via email to

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