This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: const char *argz for argz_extract, argz_next


Roland McGrath <roland@frob.com> writes:

> It seems to me that the `argz' parameters to `argz_extract' and `argz_next'
> ought to be `const char *' instead of `char *', since those functions do
> not touch the memory.  Anyone have a problem with this change?

I cannot think why.  I think I added several consts to Miles' code and
so this maybe only a leftover.  Go on and install it.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]