diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-12-08 15:52:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-12-08 15:52:49 +0000 |
commit | 5a7a494ba28f0dfaa5792f70585ca4dfe3c3051a (patch) | |
tree | bf7d15bc5746003a969b81574707882fbe2df8cb /recursive.cc | |
parent | Releasing debian version 1.12~pre2-2. (diff) | |
download | zutils-5a7a494ba28f0dfaa5792f70585ca4dfe3c3051a.tar.xz zutils-5a7a494ba28f0dfaa5792f70585ca4dfe3c3051a.zip |
Merging upstream version 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 ) ) |