Source-Changes archive

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

Re: CVS commit: basesrc



>Module Name:   basesrc
>Committed By:  tron
>Date:          Tue Jul 20 08:59:15 UTC 1999
>Modified Files:
>       basesrc/usr.sbin/bind/include: namespace.h
>Log Message:
>Remap "_res" to "bind_res" to fix link warnings on ELF systems.

        I believe the above is to avoid the difference in size of _res.

        Is it really safe to rename it?  lib/libc/net/gethnamaddr.c (which
        is used from, for example, "dig") refers to _res, and gethostbyname()
        will be dynamically linked from libc.  Therefore, now gethostbyname()
        and functions compiled in usr.sbin/bind will touch different
        structures.  That is, I believe, not be the desired behavior.

        The desired fix is to sync src/include/resolv.h and
        src/usr.sbin/bind/include/resolv.h into one (or remove one of them
        and refer to only one).  I sent question to tech-net last week about
        which one is the right one (or latest one), to get no reply.

itojun



Home | Main Index | Thread Index | Old Index