summaryrefslogtreecommitdiff
path: root/kilo.c
AgeCommit message (Collapse)Author
2020-07-02Merge pull request #52 from vuonghv/masterSalvatore Sanfilippo
Fix memory leak
2018-01-23Use _POSIX_C_SOURCE, drop _BSD_SOURCE, _GNU_SOURCE (#5, #12)Christopher Wellons
The only need for _BSD_SOURCE is a single use of the trivial, but non-standard, strdup(). The only need for _GNU_SOURCE is for getline(). This function was standardized by POSIX 10 years ago, so you only need to ask for it with _POSIX_C_SOURCE. Also added time.h which is only included by luck from the removed feature test macros. This is better than PR #5 because _DEFAULT_SOURCE isn't needed at all.
2017-08-05Fix memory leakVuong Hoang
Call FIND_RESTORE_HL make a memory leak
2016-07-10Be serious with version number.antirez
2016-07-10First public alpha version.antirez