]> git.pond.sub.org Git - empserver/commit
client: Use fnameat() to construct history file name
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 13 Dec 2015 07:34:26 +0000 (08:34 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 09:22:30 +0000 (11:22 +0200)
commita0220e864f6bcf4355896e58d1ac9b499e19016f
tree4710d534a23289657eef67bcb980eee27c48a27d
parent6b72fefafbec9a647f1ac8df49be59e2e8965a4e
client: Use fnameat() to construct history file name

We truncate the user's home directory name to 1000 characters when
constructing the history file name.  Use fnameat() to fix that.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
Make.mk
src/client/Makefile.in
src/client/main.c