aboutsummaryrefslogtreecommitdiff
path: root/lib/args.c
diff options
context:
space:
mode:
authorJarno Mäkipää <jmakip87@gmail.com>2019-10-19 09:47:10 +0300
committerRob Landley <rob@landley.net>2019-10-21 16:58:01 -0500
commit944d818cd97cc5e5d5f710a595405faf075da9d3 (patch)
tree94e8e57782603ec3e8267dccfba530916882f4ec /lib/args.c
parent4e0d246ec98f2576d52eb5fd70cd6e86d542e2e4 (diff)
downloadtoybox-944d818cd97cc5e5d5f710a595405faf075da9d3.tar.gz
lib: getdirname fix seqfault on null ptr
In order to be used as drop in replacement for dirname() If path is a null pointer or points to an empty string, dirname() shall return a pointer to the string "." .
Diffstat (limited to 'lib/args.c')
0 files changed, 0 insertions, 0 deletions