aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/find.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-10-21 17:20:34 -0500
committerRob Landley <rob@landley.net>2019-10-21 17:20:34 -0500
commitb301240424c7fed2ca8b836e2c9531d6ec59750d (patch)
tree20c0b3516bb13a19d4778dbe89d082d17afcb988 /toys/posix/find.c
parent944d818cd97cc5e5d5f710a595405faf075da9d3 (diff)
downloadtoybox-b301240424c7fed2ca8b836e2c9531d6ec59750d.tar.gz
Remove getdirname(), it's _not_ a drop-in replacement for dirname
(it returns a malloc), and doesn't match the object lifetime of getbasename() (which always returns some or all of its argument string). The dirname() in libc modifies its argument string, but that's what posix says to do: https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/dirname.html so I guess we can live with it.
Diffstat (limited to 'toys/posix/find.c')
0 files changed, 0 insertions, 0 deletions