flag for one second timestamp comparison granularity

2005-06-08 Thread Dan Jacobson
Perhaps add a flag to cp, find, etc. to reduce time comparisons to only one second granularity, as depending on the device mounted, or if we have since rebooted, times that should be the same can be reported back differently by the operating system. Or at least add a warning on man and Info pages.

Re: Infinite loop in mdate-sh

2005-06-08 Thread Alexandre Duret-Lutz
>>> "James" == James Youngman <[EMAIL PROTECTED]> writes: James> +# GNU ls unserstands $TIME_STYLE. Leaving it set at "+%Y-%m-%d %H:%M:%S" for James> +# example will cause this script to go into an infinite loop. James> +unset TIME_STYLE unset is not portable. Can we override TIME_STYLE w

Re: [Patch] Locate: Allow reading database from stdin.

2005-06-08 Thread James Youngman
On Wed, Jun 08, 2005 at 03:34:24PM +0200, Bas van Gompel wrote: > Suggested ChangeLog-entry: > > 2005-06-08 Bas van Gompel <[EMAIL PROTECTED]> > > * NEWS, locate/locate.1, doc/find.texi: Document usage of `-' > to refer to stdin in database-path for locate. > * locate/locate.

Re: Infinite loop in mdate-sh

2005-06-08 Thread James Youngman
On Wed, Jun 08, 2005 at 08:41:21PM +0200, Alexandre Duret-Lutz wrote: > >>> "James" == James Youngman <[EMAIL PROTECTED]> writes: > > James> +# GNU ls unserstands $TIME_STYLE. Leaving it set at "+%Y-%m-%d > %H:%M:%S" for > James> +# example will cause this script to go into an infinite loop.

Re: Infinite loop in mdate-sh

2005-06-08 Thread Vincent Lefevre
On 2005-06-08 20:41:21 +0200, Alexandre Duret-Lutz wrote: > unset is not portable. > Can we override TIME_STYLE with some safe value? Which one? > What happens when this is set to the empty string? An empty string is incorrect: ay:~> TIME_STYLE= ls -l ls: ambiguous argument `' for `time style'

Re: [Patch] Locate: Allow reading database from stdin.

2005-06-08 Thread Buzz
Op Wed, 8 Jun 2005 15:34:24 +0200 (MET DST) schreef ik in <[EMAIL PROTECTED]>: : Hi, : : Here is a patch which moves reading from the database and generating : the base_name into visitors. Support for reading a database from stdin : slipped in somehow... A liitle addition for the ChangeLog:

[Patch] Locate: Allow reading database from stdin.

2005-06-08 Thread Bas van Gompel
Hi, Here is a patch which moves reading from the database and generating the base_name into visitors. Support for reading a database from stdin slipped in somehow... Suggested ChangeLog-entry: 2005-06-08 Bas van Gompel <[EMAIL PROTECTED]> * NEWS, locate/locate.1, doc/find.texi: Docum

[Patch] lib/printquoted.h: Include stdio.h.

2005-06-08 Thread Bas van Gompel
Hi, Trying to compile findutils from CVS, I got a compiler-error. Following patch fixes it. Possible ChangeLog-entry: 2005-06-08 Bas van Gompel <[EMAIL PROTECTED]> * lib/printquoted.h: Include stdio.h. diff --exclude='*~' -Ndrup curr/findutils/lib/printquoted.h mine2/findutils/lib/