diff options
author | Eric Blake <ebb9@byu.net> | 2009-05-12 06:14:36 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-05-12 06:25:12 -0600 |
commit | d27ef66af8f75eb7f211ef5829bd1cfd21859ce0 (patch) | |
tree | bc3fe76c592e0a8e0f01a5842bd11046d983d553 | |
parent | 44ebbd5f1f73ebd716edf2eb3cc5b6ad4955fd9e (diff) | |
download | findutils-d27ef66af8f75eb7f211ef5829bd1cfd21859ce0.tar.gz |
xargs: avoid compiler warning
* xargs/xargs.c (get_char_oct_or_hex_escape): Pass correct type to
ctype macro.
Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | xargs/xargs.c | 4 |
2 files changed, 12 insertions, 6 deletions
@@ -1,3 +1,9 @@ +2009-05-12 Eric Blake <ebb9@byu.net> + + xargs: avoid compiler warning + * xargs/xargs.c (get_char_oct_or_hex_escape): Pass correct type to + ctype macro. + 2009-05-12 James Youngman <jay@gnu.org> * po/sl.po: Updated Slovenian translation. @@ -242,8 +248,8 @@ 2008-03-21 James Youngman <jay@gnu.org> - * find/testsuite/find.gnu/xtype-symlink.exp: Removed unnecessary - test code which created a insecure tempfile. + * find/testsuite/find.gnu/xtype-symlink.exp: Removed unnecessary + test code which created a insecure tempfile. * NEWS: Update version number to 4.4.1-CVS now that the CVS rep no longer matches the last release. @@ -7779,8 +7785,8 @@ Wed Mar 21 09:30:18 1990 David J. MacKenzie (djm at pogo.ai.mit.edu) ----- Copyright (C) 1987, 1990, 1991, 1992, 1993, 1994, 1996, 1997, - 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software - Foundation, Inc. + 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008, + 2009 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice diff --git a/xargs/xargs.c b/xargs/xargs.c index 1365a71f..3ad96267 100644 --- a/xargs/xargs.c +++ b/xargs/xargs.c @@ -1,6 +1,6 @@ /* xargs -- build and execute command lines from standard input Copyright (C) 1990, 91, 92, 93, 94, 2000, 2003, 2004, 2005, 2006, - 2007, 2008 Free Software Foundation, Inc. + 2007, 2008, 2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -290,7 +290,7 @@ get_char_oct_or_hex_escape(const char *s) p = s+2; base = 16; } - else if (isdigit(s[1])) + else if (isdigit ((unsigned char) s[1])) { /* octal */ p = s+1; |