After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 94304 - Should use '-print0' with find in order to handle newlines
Should use '-print0' with find in order to handle newlines
Status: VERIFIED WONTFIX
Product: gnome-utils
Classification: Deprecated
Component: gsearchtool
trunk
Other Linux
: Low enhancement
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-09-26 21:00 UTC by Havoc Pennington
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Havoc Pennington 2002-09-26 21:00:25 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.
Comment 1 Dennis Cranston 2002-09-26 21:21:02 UTC
Sorry, but '-print0' is not compatible with the Solaris and AIX find
commands.
Comment 2 Havoc Pennington 2002-09-26 21:47:31 UTC
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...
Comment 3 Dennis Cranston 2002-10-07 23:57:01 UTC
BTW, I never could read the redhat bug report -- "Permission denied.
Sorry; you do not have the permissions necessary to see bug 74363."
Comment 4 Havoc Pennington 2002-10-08 01:15:25 UTC
Ah, sorry. Fixed the report.