diff options
author | Rob Landley <rob@landley.net> | 2019-10-21 17:20:34 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-10-21 17:20:34 -0500 |
commit | b301240424c7fed2ca8b836e2c9531d6ec59750d (patch) | |
tree | 20c0b3516bb13a19d4778dbe89d082d17afcb988 /toys/posix/chgrp.c | |
parent | 944d818cd97cc5e5d5f710a595405faf075da9d3 (diff) | |
download | toybox-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/chgrp.c')
0 files changed, 0 insertions, 0 deletions