Mercurial > gnulib
view modules/ttyname_r @ 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 | 1f14c6dd175d |
children |
line wrap: on
line source
Description: ttyname_r() function: Determine name of a terminal. Files: lib/ttyname_r.c m4/ttyname_r.m4 Depends-on: unistd extensions configure.ac: gl_FUNC_TTYNAME_R if test $HAVE_TTYNAME_R = 0 || test $REPLACE_TTYNAME_R = 1; then AC_LIBOBJ([ttyname_r]) gl_PREREQ_TTYNAME_R fi gl_UNISTD_MODULE_INDICATOR([ttyname_r]) Makefile.am: Include: <unistd.h> License: LGPLv2+ Maintainer: all