Hash :
9af2d6c9
Author :
Date :
2021-08-07T23:30:53
xgetdomainname: Ensure .c file starts with '#include <config.h>'. * lib/xgetaname-impl.h: New file, based on lib/xgethostname.c. * lib/xgethostname.c: Move implementation to lib/xgetaname-impl.h. * lib/xgetdomainname.c: Include <config.h>. Include xgetaname-impl.h instead of xgethostname.c. * modules/xgethostname (Files): Add lib/xgetaname-impl.h. * modules/xgetdomainname (Files): Likewise. (Depends-on): Remove xgethostname. Add free-posix, xalloc.
Description:
Return machine's domainname, without size limitations.
Files:
lib/xgetdomainname.h
lib/xgetdomainname.c
lib/xgetaname-impl.h
Depends-on:
free-posix
getdomainname
xalloc
configure.ac:
Makefile.am:
lib_SOURCES += xgetdomainname.h xgetdomainname.c
Include:
"xgetdomainname.h"
License:
GPL
Maintainer:
Simon Josefsson