bin/124084: find(1): find -execdir does not prepend ./ to filenames, causing problems for certain files.

Scott Sosna scott at sosna.org
Mon Mar 23 18:50:07 PDT 2009


The following reply was made to PR bin/124084; it has been noted by GNATS.

From: Scott Sosna <scott at sosna.org>
To: bug-followup at FreeBSD.org, michael at smith-li.com
Cc:  
Subject: Re: bin/124084: find(1): find -execdir does not prepend ./ to filenames,
 causing problems for certain files.
Date: Mon, 23 Mar 2009 20:29:15 -0500

 This is a multi-part message in MIME format.
 --------------070607050305000006090009
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 The same problem occurs with touch:
 
 $ touch "-foo"
 touch: illegal option -- o
 usage: touch [-acfhm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...
 
 
 --------------070607050305000006090009
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
 </head>
 <body bgcolor="#ffffff" text="#000000">
 <font size="-1"><font face="Helvetica, Arial, sans-serif">The same
 problem occurs with touch:<br>
 <br>
 $ touch "-foo"<br>
 touch: illegal option -- o<br>
 usage: touch [-acfhm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...<br>
 <br>
 </font></font>
 </body>
 </html>
 
 --------------070607050305000006090009--


More information about the freebsd-bugs mailing list