Mercurial > gnulib
view modules/dup3 @ 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: dup3() function: copy a file descriptor, applying specific flags. Files: lib/dup3.c m4/dup3.m4 Depends-on: unistd fcntl binary-io getdtablesize extensions configure.ac: gl_FUNC_DUP3 gl_UNISTD_MODULE_INDICATOR([dup3]) Makefile.am: lib_SOURCES += dup3.c Include: <unistd.h> License: LGPL Maintainer: Jim Meyering