view modules/fclose @ 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:
fclose() function: close a stream.

Files:
lib/fclose.c
m4/fclose.m4

Depends-on:
stdio
close           [test $REPLACE_FCLOSE = 1]
fflush          [test $REPLACE_FCLOSE = 1]
freading        [test $REPLACE_FCLOSE = 1]
lseek           [test $REPLACE_FCLOSE = 1]
msvc-inval      [test $REPLACE_FCLOSE = 1]

configure.ac:
gl_FUNC_FCLOSE
if test $REPLACE_FCLOSE = 1; then
  AC_LIBOBJ([fclose])
fi
gl_STDIO_MODULE_INDICATOR([fclose])

Makefile.am:

Include:
<stdio.h>

License:
LGPLv2+

Maintainer:
all