projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import upstream version 1.26
[debian/tar]
/
gnu
/
printf-parse.h
diff --git
a/gnu/printf-parse.h
b/gnu/printf-parse.h
index 67b79843c3a1b71bb6bf7012ab09115049e67b3d..6cbe68e7e08159a7b05e500eed8d6af3ed3c23fa 100644
(file)
--- a/
gnu/printf-parse.h
+++ b/
gnu/printf-parse.h
@@
-1,7
+1,7
@@
/* -*- buffer-read-only: t -*- vi: set ro: */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Parse printf format string.
/* -*- buffer-read-only: t -*- vi: set ro: */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Parse printf format string.
- Copyright (C) 1999, 2002-2003, 2005, 2007, 20
09-2010
Free Software
+ Copyright (C) 1999, 2002-2003, 2005, 2007, 20
10-2011
Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@
-25,6
+25,10
@@
ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions.
STATIC Set to 'static' to declare the function static. */
ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions.
STATIC Set to 'static' to declare the function static. */
+#if HAVE_FEATURES_H
+# include <features.h> /* for __GLIBC__, __UCLIBC__ */
+#endif
+
#include "printf-args.h"
#include "printf-args.h"
@@
-35,6
+39,9
@@
#define FLAG_SPACE 8 /* space flag */
#define FLAG_ALT 16 /* # flag */
#define FLAG_ZERO 32
#define FLAG_SPACE 8 /* space flag */
#define FLAG_ALT 16 /* # flag */
#define FLAG_ZERO 32
+#if __GLIBC__ >= 2 && !defined __UCLIBC__
+# define FLAG_LOCALIZED 64 /* I flag, uses localized digits */
+#endif
/* arg_index value indicating that no argument is consumed. */
#define ARG_NONE (~(size_t)0)
/* arg_index value indicating that no argument is consumed. */
#define ARG_NONE (~(size_t)0)
@@
-42,6
+49,9
@@
/* xxx_directive: A parsed directive.
xxx_directives: A parsed format string. */
/* xxx_directive: A parsed directive.
xxx_directives: A parsed format string. */
+/* Number of directly allocated directives (no malloc() needed). */
+#define N_DIRECT_ALLOC_DIRECTIVES 7
+
/* A parsed directive. */
typedef struct
{
/* A parsed directive. */
typedef struct
{
@@
-66,6
+76,7
@@
typedef struct
char_directive *dir;
size_t max_width_length;
size_t max_precision_length;
char_directive *dir;
size_t max_width_length;
size_t max_precision_length;
+ char_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES];
}
char_directives;
}
char_directives;
@@
-95,6
+106,7
@@
typedef struct
u8_directive *dir;
size_t max_width_length;
size_t max_precision_length;
u8_directive *dir;
size_t max_width_length;
size_t max_precision_length;
+ u8_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES];
}
u8_directives;
}
u8_directives;
@@
-122,6
+134,7
@@
typedef struct
u16_directive *dir;
size_t max_width_length;
size_t max_precision_length;
u16_directive *dir;
size_t max_width_length;
size_t max_precision_length;
+ u16_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES];
}
u16_directives;
}
u16_directives;
@@
-149,6
+162,7
@@
typedef struct
u32_directive *dir;
size_t max_width_length;
size_t max_precision_length;
u32_directive *dir;
size_t max_width_length;
size_t max_precision_length;
+ u32_directive direct_alloc_dir[N_DIRECT_ALLOC_DIRECTIVES];
}
u32_directives;
}
u32_directives;