tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: constification ?
In article <1208714433.692356.916.nullmailer%galant.ukfsn.org@localhost>,
Iain Hibbert <plunky%rya-online.net@localhost> wrote:
>Hi,
>
>What is the feeling about constification of libc? I have seen problems
>sometimes where FreeBSD has already done these (eg passing const strings
>to dirname(3) and basename(3) breaks on NetBSD) and wonder if we should
>follow..
>
>now I was writing something using uuid(3) and find that comparing against
>a const value won't build, are there objections to the patch below that
>constifies uuid(3) ?
>
>so far as I understand, this sort of thing doesn't actually change the ABI
>at all (just makes the API more liberal) so doesn't require a version
>bump?
I think that we should follow. I don't think it breaks the ABI even for
c++ because these are all c functions.
christos
Home |
Main Index |
Thread Index |
Old Index