(find_mount_point): Use strip_trailing_slashes and dirname
authorJim Meyering <jim@meyering.net>
Thu, 28 Nov 1996 23:50:13 +0000 (23:50 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 28 Nov 1996 23:50:13 +0000 (23:50 +0000)
commitbe44044a29d61b2b06eb1d67d1ec0ea32cd3c70d
treeddf7a472e1252067ba47a08cb0d1116b8f8eb8d7
parentae9d9051349b394658d2d2495e00d107d1f44388
(find_mount_point): Use strip_trailing_slashes and dirname
instead of open-coding them.  When given FILE containing no slashes,
chdir to the directory containing it (the current directory) rather
than to `..'.
src/df.c