GNOME Bugzilla – Bug 94304
Should use '-print0' with find in order to handle newlines
Last modified: 2009-08-15 18:40:50 UTC
File names can contain a newline, see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=74363 Using "find -print0" would be more robust.
Sorry, but '-print0' is not compatible with the Solaris and AIX find commands.
All you have to do is use -print0 if available on the platform, and then call g_io_channel_set_line_term() on the IO channel from the pipe to set the terminator to ("",1) if appropriate...
BTW, I never could read the redhat bug report -- "Permission denied. Sorry; you do not have the permissions necessary to see bug 74363."
Ah, sorry. Fixed the report.