Files
make/tests/scripts/functions
Paul Smith c5319e75f5 [SV 58497] Ensure $(file <) newline removal succeeds
Keep a count of bytes read rather than comparing pointers since the
variable_buffer might get reallocated.

Bug and patch by Ken Tossell <ken@tossell.net>
Regression tests by Dmitry Goncharov <dgoncharov@users.sf.net>
Tweaked by Paul Smith <psmith@gnu.org>

* src/function.c (func_file): Use bytes read rather than a pointer.
* tests/scripts/functions/file: Provide various tests for reading
empty files, files with/without newlines, and large files.
2021-03-15 03:28:11 -04:00
..
2017-06-04 18:37:20 -04:00
2020-04-01 02:02:57 -04:00
2020-04-01 02:02:57 -04:00
2003-11-04 07:40:29 +00:00
2020-04-01 02:02:57 -04:00
2017-06-04 18:37:20 -04:00
2019-10-10 18:31:50 -04:00
2000-04-22 02:11:17 +00:00
2002-07-08 02:26:47 +00:00