>>>>> On Tue, 9 Jan 2018 14:57:59 +0100, Kern Sibbald said:
> 
> Concerning the readdir_r messages, please complain to the GCC
> developers who seem to take great pleasure (sarcastic) at adding
> such warnings to newer versions of the compiler.  In fact their
> warning is total nonsense because Bacula automatically fixes any
> potential problems with readdir_r -- their compiler is just not
> smart enough to know this.

Your rant is misdirected -- it is deprecated by the GNU C Library, not by GCC.

https://www.gnu.org/software/libc/manual/html_node/Reading_002fClosing-Directory.html

So the problem with using readdir_r is that Bacula cannot read directory
entries with very long names on some systems (see
https://bugzilla.redhat.com/show_bug.cgi?id=995839).

__Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to