view modules/xgethostname @ 40215:88b18d82fa61

crypto/des: Fix undefined behaviour. * lib/des.c (READ_64BIT_DATA): Cast bytes to 'unsigned int', to avoid shift operations on 'int'.
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Mar 2019 22:21:25 +0100
parents 42b53a22aee5
children
line wrap: on
line source

Description:
Return machine's hostname, without size limitations.

Files:
lib/xgethostname.h
lib/xgethostname.c

Depends-on:
gethostname
xalloc

configure.ac:

Makefile.am:
lib_SOURCES += xgethostname.h xgethostname.c

Include:
"xgethostname.h"

License:
GPL

Maintainer:
Jim Meyering