msteveb/linenoise — pull request #1 by starwing (2012-06-06 03:20:53+00:00)
Title: add *.exe to gitignore, and fix several warnings from gcc.

hi Steve,

I found your linenoise has windows console support, that's awesome! I can use it with lua.lua on windows, thank you!

but I found some warnings in linenoise.c, so I fix it :-)

another question: why function linenoise using strdup? why not just receive a char* buffer and a size? a strdup means a memory allocation and a strcpy! dont't know why linenoise do that.