GNU bug report logs - #6674
PATCH: fix assignment of grep-find-use-xargs on Windows/MS-DOS

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <ofv <at> wanadoo.es>

Date: Tue, 20 Jul 2010 03:51:02 UTC

Severity: normal

Done: Óscar Fuentes <ofv <at> wanadoo.es>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 6674 <at> debbugs.gnu.org
Subject: bug#6674: [PATCH fixed] bug#6674: fix assignment of	grep-find-use-xargs on Windows/MS-DOS
Date: Mon, 02 Aug 2010 22:07:50 +0300
> From: Óscar Fuentes <ofv <at> wanadoo.es>
> Date: Mon, 02 Aug 2010 19:48:29 +0200
> Cc: 
> 
> Fixed the typo pointed out by Andreas.
> 
> 2010-08-02  Óscar Fuentes  <ofv <at> wanadoo.es>
> 
> 	* cmdproxy.c (main): use _snprintf instead of wsprintf. Fixes
> 	bug#6647. wsprintf has a 1024 char limit on Windows.

Thanks.

wsprintf supports wide character (UTF-16) strings, whereas _snprintf
does not.  At the very least, please leave a comment there about that.
Better yet, why not use memcpy etc. instead of _snprintf; you don't
really need any formatting features anyway.





This bug report was last modified 14 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.