view modules/getline @ 40211:5f58d2ac35ea

unistr/u8-cmp: Fix undefined behaviour. Reported by Jeffrey Walton <noloader@gmail.com>. * lib/unistr/u8-cmp.c (u8_cmp): Don't invoke memcmp if n is zero.
author Bruno Haible <bruno@clisp.org>
date Fri, 08 Mar 2019 20:38:22 +0100
parents 27680dcf5c46
children
line wrap: on
line source

Description:
Read a line from a stream.

Files:
lib/getline.c
m4/getline.m4

Depends-on:
stdio
extensions
getdelim        [test $REPLACE_GETLINE = 1]

configure.ac:
gl_FUNC_GETLINE
if test $REPLACE_GETLINE = 1; then
  AC_LIBOBJ([getline])
  gl_PREREQ_GETLINE
fi
gl_STDIO_MODULE_INDICATOR([getline])

Makefile.am:

Include:
<stdio.h>

License:
LGPLv2+

Maintainer:
Simon Josefsson