freebsd-skq/usr.bin/tail
Tai-hwa Liang e7356456ed Nuking the temporary pointer once it is properly tracked in local storage.
This should fix the double free() bug where there's no tailing newline(\n)
character:

	current# echo -n test | tail
	testAssertion failed: (run->magic == ARENA_RUN_MAGIC), function
	arena_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 2448.
	Abort (core dumped)

Reviewed by:	kib
MFC after:	3 days
2007-11-22 01:51:46 +00:00
..
extern.h
forward.c
Makefile
misc.c
read.c Nuking the temporary pointer once it is properly tracked in local storage. 2007-11-22 01:51:46 +00:00
reverse.c
tail.1
tail.c