bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] Re: new modules: getdomainname and xgetdomainname


From: Bruno Haible
Subject: Re: [Bug-gnulib] Re: new modules: getdomainname and xgetdomainname
Date: Thu, 25 Sep 2003 12:55:13 +0200
User-agent: KMail/1.5

> > What have you been using it for? Are you maintaining the 'ypcat' program?
>
> No, I'm using it to guess the Kerberos realm for the local host, when
> the user didn't supplied one.  I can imagine people running NIS and
> Kerberos realm named the same

OK, I see.

>  Updated patch below.

Thanks. I've added your patch with the following modifications:
  - Don't mention YP. We don't want to be sued by British Telecom.
  - getdomainname.h: More comments about the function's semantics.
  - xgetdomainname.h: Likewise.
  - getdomainname.h: Include <stddef.h>, needed for size_t.
  - getdomainname.c: Produce EINVAL error when the buffer is too small.
  - getdomainname.m4: Remove unnecessary AC_REQUIRE([AC_GNU_SOURCE]).
  - getdomainname: Fill the Includes: section.
  - getdomainname: Fix the lib_* variable name.
  - MODULES.html.sh: Put the functions into section "Misc", not "Networking
                     functions". (NIS is not a service that provides
                     networking capabilities.)

Bruno





reply via email to

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