Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   ginsbach
Date:           Tue Aug 17 02:29:56 UTC 2004

Modified Files:
        src/include: netdb.h
        src/lib/libc/net: gethnamaddr.c gethostbyname.3

Log Message:
Restore gethostent() as a supported interface.  Yes, it maybe obsolete
but it is specified by IEEE Std 1003.1, 2004 Edition (POSIX) and
the X/Open standards (Issue 6 and XNS 5.2).

* revert change removing gethostent() from gethostbyname(3) man page
* delete kruft from gethnamaddr.c leaving only gethostent() as a
  wrapper around _gethtent().
* revert recent changes to <netdb.h>
  + restore gethostent() prototype
  + restore freehostent() prototype; handle similar to non-shipped
    getipnodby*() prototypes
  + use correct XOPEN_SOURCE version (520 not 500) for freeaddrinfo()
    prototype; interface specified by XNS5.2 not XNS5

Reviewd by <christos> and <drochner>.


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 src/include/netdb.h
cvs rdiff -r1.62 -r1.63 src/lib/libc/net/gethnamaddr.c
cvs rdiff -r1.25 -r1.26 src/lib/libc/net/gethostbyname.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index