diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-12-08 15:52:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-12-08 15:52:09 +0000 |
commit | 4568b11461f80bbc5fa0fb2c522205683ea14ec7 (patch) | |
tree | 58834b3aa970b99bc0a1b0fcb9ae5510ca149cb1 /recursive.cc | |
parent | Adding upstream version 1.12~pre2. (diff) | |
download | zutils-4568b11461f80bbc5fa0fb2c522205683ea14ec7.tar.xz zutils-4568b11461f80bbc5fa0fb2c522205683ea14ec7.zip |
Adding upstream version 1.12~rc1.upstream/1.12_rc1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'recursive.cc')
-rw-r--r-- | recursive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recursive.cc b/recursive.cc index c5f57bd..a0cdaa4 100644 --- a/recursive.cc +++ b/recursive.cc @@ -79,7 +79,7 @@ bool next_filename( std::list< std::string > & filenames, i > 1 && input_filename[i-1] == '/'; --i ) input_filename.resize( i - 1 ); // remove trailing slashes struct stat stdot, *stdotp = 0; - if( input_filename[0] != '/' ) // relative path + if( input_filename[0] != '/' ) // relative file name { if( input_filename == "." ) input_filename.clear(); if( stat( ".", &stdot ) == 0 && S_ISDIR( stdot.st_mode ) ) |