From: Alain Spineux Date: Fri, 14 Jul 2023 12:08:14 +0000 (+0200) Subject: tweak comment for breaddir() X-Git-Tag: Beta-15.0.1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa8f283f4905a4ebacd46fc5e917b6f99bcf5000;p=thirdparty%2Fbacula.git tweak comment for breaddir() --- diff --git a/bacula/src/win32/compat/compat.cpp b/bacula/src/win32/compat/compat.cpp index 0e04c80f5..65417a16f 100644 --- a/bacula/src/win32/compat/compat.cpp +++ b/bacula/src/win32/compat/compat.cpp @@ -1733,6 +1733,12 @@ closedir(DIR *dirp) } WIN32_FIND_DATA, *PWIN32_FIND_DATA; */ +/* breaddir() is a a Bacula's replacement for readdir() using POOLMEM + * return: + * 0: returned the next filename in dname + * -1: end of directory reached + * >0: an error appends, the value is the errno + */ int breaddir(DIR *dirp, POOLMEM *&dname) { _dir *dp = (_dir *)dirp;