Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libterminfo
Module Name: src
Committed By: christos
Date: Fri Apr 1 19:59:08 UTC 2016
Modified Files:
src/lib/libterminfo: curterm.c termcap.c
Log Message:
- if we are freeing cur_term, set it to NULL.
- preserve and free "last" properly.
$ cat foo.c
#include <stdio.h>
#include <termcap.h>
int
main(void)
{
tgetent(NULL, "dumb");
tgetent(NULL, "network");
tgetflag("so");
return 0;
}
$ cc foo.c -lterminfo
$ MALLOC_OPTIONS=J ./a.out
Boom.
XXX: pullup-7
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libterminfo/curterm.c
cvs rdiff -u -r1.18 -r1.19 src/lib/libterminfo/termcap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index