Displaying 6 results from an estimated 6 matches for "c_isxdigit".
Did you mean:
c_isdigit
2014 Oct 31
0
[PATCH 1/3] fish: rl.{c, h} - escaping functions for readline
...- '0') * 010 + (p[3] - '0');
+ if (c < 1 || c > 255)
+ goto error;
+ *p = c;
+ }
+ else
+ goto error;
+ break;
+
+ case 'x': /* hex escape - always 2 digits */
+ m = 3;
+ if (c_isxdigit (p[2]) && c_isxdigit (p[3])) {
+ c = hexdigit (p[2]) * 0x10 + hexdigit (p[3]);
+ if (c < 1 || c > 255)
+ goto error;
+ *p = c;
+ }
+ else
+ goto error;
+ break;
+
+ default:
+ error:
+ fprintf (stderr...
2014 Nov 07
3
[PATCH 0/3] v2 readline escaping functions
From: Maros Zatko <mzatko@redhat.com>
Helper functions for future support of backslash escaped spaces in filenames.
There are a few tests too. Changed according to review remarks.
Maros Zatko (3):
fish: rl.{c, h} - escaping functions for readline
fish: basic tests for readline escaping
autotools: add fish/test
Makefile.am | 1 +
configure.ac | 1 +
2010 Apr 03
1
hivex: Exported foreign symbols in libhivex.so.0.0.0
...c_isalnum at Base 1.2.1
c_isalpha at Base 1.2.1
c_isascii at Base 1.2.1
c_isblank at Base 1.2.1
c_iscntrl at Base 1.2.1
c_isdigit at Base 1.2.1
c_isgraph at Base 1.2.1
c_islower at Base 1.2.1
c_isprint at Base 1.2.1
c_ispunct at Base 1.2.1
c_isspace at Base 1.2.1
c_isupper at Base 1.2.1
c_isxdigit at Base 1.2.1
c_tolower at Base 1.2.1
c_toupper at Base 1.2.1
exit_failure at Base 1.2.1
full_read at Base 1.2.1
full_write at Base 1.2.1
printf_fetchargs at Base 1.2.1
printf_parse at Base 1.2.1
program_name at Base 1.2.1
safe_read at Base 1.2.1
safe_write at Base 1.2.1
set_program_name...
2014 Nov 13
4
[PATCH 0/4 v3] readline escaping functions
Helper functions for future support of backslash escaped spaces in filenames.
There are a few tests too. Changed according to review remarks and fixed few
other mistakes.
Maros Zatko (4):
fish: copy parse_quoted_string and hexdigit from fish.h to rl.c
fish: rl.{c,h} - escaping functions for readline
fish: basic tests for readline escaping
autotools: add fish/test
Makefile.am
2014 Oct 31
6
[PATCH 0/3] WIP readline escaping functions
From: Maros Zatko <hacxman@gmail.com>
Auxiliary functions for readline to support space character escaping
in filenames in future.
Escaping function is taken from fish.c (used to be parse_quoted_string)
plus its un-escaping counterpart. There are a few tests for both.
Maros Zatko (3):
fish: rl.{c,h} - escaping functions for readline
fish: basic tests for readline escaping
autotools:
2009 Sep 24
1
enabling more syntax-checks
...ith_error ("malformed Filesystem UUID in the output of tune2fs -l");
@@ -212,7 +212,7 @@ do_get_e2uuid (const char *device)
/* Now 'p' hopefully points to the start of the UUID. */
q = p;
- while (*q && (isxdigit (*q) || *q == '-'))
+ while (*q && (c_isxdigit (*q) || *q == '-'))
q++;
if (!*q) {
reply_with_error ("malformed Filesystem UUID in the output of tune2fs -l");
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index e3b8883..8c39c39 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -34,10 +34,10 @@
#inclu...