view modules/close-stream @ 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 c4b31f5b27a7
children
line wrap: on
line source

Description:
Close a stream, with nicer error checking than fclose's.

Files:
lib/close-stream.h
lib/close-stream.c
m4/close-stream.m4

Depends-on:
fpending
stdbool

configure.ac:
gl_CLOSE_STREAM
gl_MODULE_INDICATOR([close-stream])

Makefile.am:
lib_SOURCES += close-stream.c

Include:
"close-stream.h"

License:
GPL

Maintainer:
Jim Meyering