knz / go-libedit

Go wrapper around the BSD libedit replacement to GNU readline
Apache License 2.0
6 stars 6 forks source link

Support secure_getenv so that $HOME/.editrc can be read on linux / GNU libc #11

Closed knz closed 6 years ago

knz commented 6 years ago

Needed for #3 -- and any kind of .editrc customization on linux, really. The secure_getenv shim we were providing previously had secure_getenv() return NULL always.

Supersedes #9.

knz commented 6 years ago

I have manually tested this to work properly even on musl builds. Merging.