Update
Showing
6 changed files
with
314 additions
and
8 deletions
1 | 2006-06-27 Sergey Poznyakoff <gray@gnu.org.ua> | 1 | 2006-06-27 Sergey Poznyakoff <gray@gnu.org.ua> |
2 | 2 | ||
3 | * gnulib.modules (mailutils): Add sha1 | ||
4 | * lib/Makefile.am: Update | ||
5 | * mailbox/Makefile.am: Update | ||
6 | * m4/gnulib.m4: Update | ||
7 | * sql/mysql.c: Implement verification against mysql v4 passwords. | ||
8 | |||
9 | Update by gnulib-sync. | ||
10 | |||
11 | * lib/allocsa.c: Updated | ||
12 | * lib/allocsa.h: Updated | ||
13 | * lib/allocsa.valgrind: Updated | ||
14 | * lib/asprintf.c: Updated | ||
15 | * lib/error.c: Updated | ||
16 | * lib/error.h: Updated | ||
17 | * lib/exit.h: Updated | ||
18 | * lib/exitfail.c: Updated | ||
19 | * lib/exitfail.h: Updated | ||
20 | * lib/getpass.c: Updated | ||
21 | * lib/getpass.h: Updated | ||
22 | * lib/mbswidth.c: Updated | ||
23 | * lib/mbswidth.h: Updated | ||
24 | * lib/obstack.c: Updated | ||
25 | * lib/obstack.h: Updated | ||
26 | * lib/realloc.c: Updated | ||
27 | * lib/setenv.c: Updated | ||
28 | * lib/setenv.h: Updated | ||
29 | * lib/snprintf.c: Updated | ||
30 | * lib/snprintf.h: Updated | ||
31 | * lib/unsetenv.c: Updated | ||
32 | * lib/vasprintf.c: Updated | ||
33 | * lib/vasprintf.h: Updated | ||
34 | * lib/xalloc-die.c: Updated | ||
35 | * lib/xalloc.h: Updated | ||
36 | * lib/xmalloc.c: Updated | ||
37 | * lib/xsize.h: Updated | ||
38 | * m4/alloca.m4: Updated | ||
39 | * m4/allocsa.m4: Updated | ||
40 | * m4/argp.m4: Updated | ||
41 | * m4/d-type.m4: Updated | ||
42 | * m4/eealloc.m4: Updated | ||
43 | * m4/eoverflow.m4: Updated | ||
44 | * m4/error.m4: Updated | ||
45 | * m4/exitfail.m4: Updated | ||
46 | * m4/extensions.m4: Updated | ||
47 | * m4/fnmatch.m4: Updated | ||
48 | * m4/full-header-path.m4: Added to the repository | ||
49 | * m4/getdelim.m4: Updated | ||
50 | * m4/getline.m4: Updated | ||
51 | * m4/getlogin_r.m4: Updated | ||
52 | * m4/getopt.m4: Updated | ||
53 | * m4/getpass.m4: Updated | ||
54 | * m4/glob.m4: Updated | ||
55 | * m4/intmax_t.m4: Updated | ||
56 | * m4/inttostr.m4: Updated | ||
57 | * m4/inttypes_h_gl.m4: Updated | ||
58 | * m4/inttypes_h_gl.m4: Updated | ||
59 | * m4/longdouble.m4: Updated | ||
60 | * m4/longdouble.m4: Updated | ||
61 | * m4/longlong_gl.m4: Updated | ||
62 | * m4/longlong_gl.m4: Updated | ||
63 | * m4/mbchar.m4: Updated | ||
64 | * m4/mbiter.m4: Updated | ||
65 | * m4/mbrtowc.m4: Updated | ||
66 | * m4/mbrtowc.m4: Updated | ||
67 | * m4/mbstate_t.m4: Updated | ||
68 | * m4/mbstate_t.m4: Updated | ||
69 | * m4/mbswidth.m4: Updated | ||
70 | * m4/md5.m4: Updated | ||
71 | * m4/memchr.m4: Updated | ||
72 | * m4/mempcpy.m4: Updated | ||
73 | * m4/minmax.m4: Updated | ||
74 | * m4/obstack.m4: Updated | ||
75 | * m4/onceonly.m4: Updated | ||
76 | * m4/onceonly.m4: Updated | ||
77 | * m4/regex.m4: Updated | ||
78 | * m4/restrict.m4: Updated | ||
79 | * m4/setenv.m4: Updated | ||
80 | * m4/sha1.m4: Added to the repository | ||
81 | * m4/signed.m4: Updated | ||
82 | * m4/size_max.m4: Updated | ||
83 | * m4/snprintf.m4: Updated | ||
84 | * m4/ssize_t.m4: Updated | ||
85 | * m4/stat-macros.m4: Updated | ||
86 | * m4/stdbool.m4: Updated | ||
87 | * m4/stdint.m4: Updated | ||
88 | * m4/stdint_h_gl.m4: Updated | ||
89 | * m4/stdint_h_gl.m4: Updated | ||
90 | * m4/strcase.m4: Updated | ||
91 | * m4/strchrnul.m4: Updated | ||
92 | * m4/strdup.m4: Updated | ||
93 | * m4/strerror_r.m4: Updated | ||
94 | * m4/strndup.m4: Updated | ||
95 | * m4/strnlen.m4: Updated | ||
96 | * m4/strtok_r.m4: Updated | ||
97 | * m4/sysexits.m4: Updated | ||
98 | * m4/uintmax_t_gl.m4: Updated | ||
99 | * m4/uintmax_t_gl.m4: Updated | ||
100 | * m4/ulonglong_gl.m4: Updated | ||
101 | * m4/ulonglong_gl.m4: Updated | ||
102 | * m4/unistd_h.m4: Added to the repository | ||
103 | * m4/vasnprintf.m4: Updated | ||
104 | * m4/vasprintf.m4: Updated | ||
105 | * m4/vsnprintf.m4: Updated | ||
106 | * m4/wchar_t.m4: Updated | ||
107 | * m4/wint_t.m4: Updated | ||
108 | * m4/xalloc.m4: Updated | ||
109 | * m4/xsize.m4: Updated | ||
110 | * m4/xsize.m4: Updated | ||
111 | * mailbox/alloca.c: Updated | ||
112 | * mailbox/alloca_.h: Updated | ||
113 | * mailbox/argp-ba.c: Updated | ||
114 | * mailbox/argp-eexst.c: Updated | ||
115 | * mailbox/argp-fmtstream.c: Updated | ||
116 | * mailbox/argp-fmtstream.h: Updated | ||
117 | * mailbox/argp-fs-xinl.c: Updated | ||
118 | * mailbox/argp-help.c: Updated | ||
119 | * mailbox/argp-namefrob.h: Updated | ||
120 | * mailbox/argp-parse.c: Updated | ||
121 | * mailbox/argp-pin.c: Updated | ||
122 | * mailbox/argp-pv.c: Updated | ||
123 | * mailbox/argp-pvh.c: Updated | ||
124 | * mailbox/argp-xinl.c: Updated | ||
125 | * mailbox/argp.h: Updated | ||
126 | * mailbox/asnprintf.c: Updated | ||
127 | * mailbox/fnmatch.c: Updated | ||
128 | * mailbox/fnmatch_.h: Updated | ||
129 | * mailbox/fnmatch_loop.c: Updated | ||
130 | * mailbox/getdelim.c: Updated | ||
131 | * mailbox/getdelim.h: Updated | ||
132 | * mailbox/getline.c: Updated | ||
133 | * mailbox/getline.h: Updated | ||
134 | * mailbox/getlogin_r.c: Updated | ||
135 | * mailbox/getlogin_r.h: Updated | ||
136 | * mailbox/getopt.c: Updated | ||
137 | * mailbox/getopt1.c: Updated | ||
138 | * mailbox/getopt_.h: Updated | ||
139 | * mailbox/getopt_int.h: Updated | ||
140 | * mailbox/gettext.h: Updated | ||
141 | * mailbox/glob-libc.h: Updated | ||
142 | * mailbox/glob.c: Updated | ||
143 | * mailbox/glob_.h: Updated | ||
144 | * mailbox/imaxtostr.c: Updated | ||
145 | * mailbox/intprops.h: Updated | ||
146 | * mailbox/inttostr.c: Updated | ||
147 | * mailbox/inttostr.h: Updated | ||
148 | * mailbox/malloc.c: Updated | ||
149 | * mailbox/mbchar.c: Updated | ||
150 | * mailbox/mbchar.h: Updated | ||
151 | * mailbox/mbuiter.h: Updated | ||
152 | * mailbox/md5.c: Updated | ||
153 | * mailbox/md5.h: Updated | ||
154 | * mailbox/memchr.c: Updated | ||
155 | * mailbox/mempcpy.c: Updated | ||
156 | * mailbox/mempcpy.h: Updated | ||
157 | * mailbox/minmax.h: Updated | ||
158 | * mailbox/offtostr.c: Updated | ||
159 | * mailbox/printf-args.c: Updated | ||
160 | * mailbox/printf-args.h: Updated | ||
161 | * mailbox/printf-parse.c: Updated | ||
162 | * mailbox/printf-parse.h: Updated | ||
163 | * mailbox/regcomp.c: Updated | ||
164 | * mailbox/regex.c: Updated | ||
165 | * mailbox/regex.h: Updated | ||
166 | * mailbox/regex_internal.c: Updated | ||
167 | * mailbox/regex_internal.h: Updated | ||
168 | * mailbox/regexec.c: Updated | ||
169 | * mailbox/sha1.c: Added to the repository | ||
170 | * mailbox/sha1.h: Added to the repository | ||
171 | * mailbox/size_max.h: Updated | ||
172 | * mailbox/stat-macros.h: Updated | ||
173 | * mailbox/stdbool_.h: Updated | ||
174 | * mailbox/stdint_.h: Updated | ||
175 | * mailbox/strcase.h: Updated | ||
176 | * mailbox/strcasecmp.c: Updated | ||
177 | * mailbox/strchrnul.c: Updated | ||
178 | * mailbox/strchrnul.h: Updated | ||
179 | * mailbox/strdup.c: Updated | ||
180 | * mailbox/strdup.h: Updated | ||
181 | * mailbox/strncasecmp.c: Updated | ||
182 | * mailbox/strndup.c: Updated | ||
183 | * mailbox/strndup.h: Updated | ||
184 | * mailbox/strnlen.c: Updated | ||
185 | * mailbox/strnlen.h: Updated | ||
186 | * mailbox/strnlen1.c: Updated | ||
187 | * mailbox/strnlen1.h: Updated | ||
188 | * mailbox/strtok_r.c: Updated | ||
189 | * mailbox/strtok_r.h: Updated | ||
190 | * mailbox/sysexit_.h: Updated | ||
191 | * mailbox/umaxtostr.c: Updated | ||
192 | * mailbox/vasnprintf.c: Updated | ||
193 | * mailbox/vasnprintf.h: Updated | ||
194 | * mailbox/vsnprintf.c: Updated | ||
195 | * mailbox/vsnprintf.h: Updated | ||
196 | * mailbox/xsize.h: Updated | ||
197 | |||
198 | End of update | ||
199 | |||
3 | * auth/sql.c: Minor fixes to get rid of the spurious gcc warnings. | 200 | * auth/sql.c: Minor fixes to get rid of the spurious gcc warnings. |
4 | * libsieve/actions.c: Likewise | 201 | * libsieve/actions.c: Likewise |
5 | * libsieve/prog.c: Likewise | 202 | * libsieve/prog.c: Likewise | ... | ... |
... | @@ -59,7 +59,6 @@ libmuaux_la_SOURCES += snprintf.h | ... | @@ -59,7 +59,6 @@ libmuaux_la_SOURCES += snprintf.h |
59 | 59 | ||
60 | libmuaux_la_SOURCES += vasprintf.h | 60 | libmuaux_la_SOURCES += vasprintf.h |
61 | 61 | ||
62 | |||
63 | libmuaux_la_SOURCES += xalloc-die.c | 62 | libmuaux_la_SOURCES += xalloc-die.c |
64 | 63 | ||
65 | libmuaux_la_SOURCES += xsize.h | 64 | libmuaux_la_SOURCES += xsize.h | ... | ... |
... | @@ -72,6 +72,9 @@ gl_GLOB | ... | @@ -72,6 +72,9 @@ gl_GLOB |
72 | # inttostr | 72 | # inttostr |
73 | gl_INTTOSTR | 73 | gl_INTTOSTR |
74 | 74 | ||
75 | # sha1 | ||
76 | gl_SHA1 | ||
77 | |||
75 | # extensions | 78 | # extensions |
76 | dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac. | 79 | dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac. |
77 | 80 | ||
... | @@ -89,6 +92,8 @@ gl_GETOPT | ... | @@ -89,6 +92,8 @@ gl_GETOPT |
89 | 92 | ||
90 | # gettext-h | 93 | # gettext-h |
91 | 94 | ||
95 | # intprops | ||
96 | |||
92 | # malloc | 97 | # malloc |
93 | AC_FUNC_MALLOC | 98 | AC_FUNC_MALLOC |
94 | 99 | ||
... | @@ -113,6 +118,9 @@ gl_C_RESTRICT | ... | @@ -113,6 +118,9 @@ gl_C_RESTRICT |
113 | # size_max | 118 | # size_max |
114 | gl_SIZE_MAX | 119 | gl_SIZE_MAX |
115 | 120 | ||
121 | # ssize_t | ||
122 | gt_TYPE_SSIZE_T | ||
123 | |||
116 | # stat-macros | 124 | # stat-macros |
117 | gl_STAT_MACROS | 125 | gl_STAT_MACROS |
118 | 126 | ||
... | @@ -142,6 +150,9 @@ gl_FUNC_STRNLEN | ... | @@ -142,6 +150,9 @@ gl_FUNC_STRNLEN |
142 | # sysexits | 150 | # sysexits |
143 | gl_SYSEXITS | 151 | gl_SYSEXITS |
144 | 152 | ||
153 | # unistd | ||
154 | gl_HEADER_UNISTD | ||
155 | |||
145 | # vasnprintf | 156 | # vasnprintf |
146 | gl_FUNC_VASNPRINTF | 157 | gl_FUNC_VASNPRINTF |
147 | 158 | ... | ... |
... | @@ -142,6 +142,7 @@ MOSTLYCLEANFILES += glob.h glob.h-t | ... | @@ -142,6 +142,7 @@ MOSTLYCLEANFILES += glob.h glob.h-t |
142 | EXTRA_DIST += inttostr.c | 142 | EXTRA_DIST += inttostr.c |
143 | 143 | ||
144 | 144 | ||
145 | |||
145 | BUILT_SOURCES += $(FNMATCH_H) | 146 | BUILT_SOURCES += $(FNMATCH_H) |
146 | EXTRA_DIST += fnmatch_.h fnmatch_loop.c | 147 | EXTRA_DIST += fnmatch_.h fnmatch_loop.c |
147 | 148 | ||
... | @@ -166,6 +167,8 @@ MOSTLYCLEANFILES += getopt.h getopt.h-t | ... | @@ -166,6 +167,8 @@ MOSTLYCLEANFILES += getopt.h getopt.h-t |
166 | 167 | ||
167 | libmailutils_la_SOURCES += gettext.h | 168 | libmailutils_la_SOURCES += gettext.h |
168 | 169 | ||
170 | EXTRA_DIST += intprops.h | ||
171 | |||
169 | 172 | ||
170 | libmailutils_la_SOURCES += mbchar.h | 173 | libmailutils_la_SOURCES += mbchar.h |
171 | 174 | ||
... | @@ -179,6 +182,7 @@ libmailutils_la_SOURCES += minmax.h | ... | @@ -179,6 +182,7 @@ libmailutils_la_SOURCES += minmax.h |
179 | libmailutils_la_SOURCES += size_max.h | 182 | libmailutils_la_SOURCES += size_max.h |
180 | 183 | ||
181 | 184 | ||
185 | |||
182 | BUILT_SOURCES += $(STDBOOL_H) | 186 | BUILT_SOURCES += $(STDBOOL_H) |
183 | EXTRA_DIST += stdbool_.h | 187 | EXTRA_DIST += stdbool_.h |
184 | 188 | ||
... | @@ -195,7 +199,91 @@ EXTRA_DIST += stdint_.h | ... | @@ -195,7 +199,91 @@ EXTRA_DIST += stdint_.h |
195 | # We need the following in order to create <stdint.h> when the system | 199 | # We need the following in order to create <stdint.h> when the system |
196 | # doesn't have one that works with the given compiler. | 200 | # doesn't have one that works with the given compiler. |
197 | stdint.h: stdint_.h | 201 | stdint.h: stdint_.h |
198 | sed -e 's/@''HAVE_LONG_64BIT''@/$(HAVE_LONG_64BIT)/g;s/@''HAVE_LONG_LONG_64BIT@/$(HAVE_LONG_LONG_64BIT)/g' < $(srcdir)/stdint_.h > $@-t | 202 | sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ |
203 | -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ | ||
204 | -e 's|@''FULL_PATH_STDINT_H''@|$(FULL_PATH_STDINT_H)|g' \ | ||
205 | -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ | ||
206 | -e 's|@''FULL_PATH_INTTYPES_H''@|$(FULL_PATH_INTTYPES_H)|g' \ | ||
207 | -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ | ||
208 | -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ | ||
209 | -e 's/@''HAVE_LONG_64BIT''@/$(HAVE_LONG_64BIT)/g' \ | ||
210 | -e 's/@''HAVE_LONG_LONG_64BIT''@/$(HAVE_LONG_LONG_64BIT)/g' \ | ||
211 | -e 's/@''HAVE_INT8_T''@/$(HAVE_INT8_T)/g' \ | ||
212 | -e 's/@''HAVE_INT16_T''@/$(HAVE_INT16_T)/g' \ | ||
213 | -e 's/@''HAVE_INT32_T''@/$(HAVE_INT32_T)/g' \ | ||
214 | -e 's/@''HAVE_INT64_T''@/$(HAVE_INT64_T)/g' \ | ||
215 | -e 's/@''HAVE_UINT8_T''@/$(HAVE_UINT8_T)/g' \ | ||
216 | -e 's/@''HAVE_UINT16_T''@/$(HAVE_UINT16_T)/g' \ | ||
217 | -e 's/@''HAVE_UINT32_T''@/$(HAVE_UINT32_T)/g' \ | ||
218 | -e 's/@''HAVE_UINT64_T''@/$(HAVE_UINT64_T)/g' \ | ||
219 | -e 's/@''HAVE_INT_LEAST8_T''@/$(HAVE_INT_LEAST8_T)/g' \ | ||
220 | -e 's/@''HAVE_INT_LEAST16_T''@/$(HAVE_INT_LEAST16_T)/g' \ | ||
221 | -e 's/@''HAVE_INT_LEAST32_T''@/$(HAVE_INT_LEAST32_T)/g' \ | ||
222 | -e 's/@''HAVE_INT_LEAST64_T''@/$(HAVE_INT_LEAST64_T)/g' \ | ||
223 | -e 's/@''HAVE_UINT_LEAST8_T''@/$(HAVE_UINT_LEAST8_T)/g' \ | ||
224 | -e 's/@''HAVE_UINT_LEAST16_T''@/$(HAVE_UINT_LEAST16_T)/g' \ | ||
225 | -e 's/@''HAVE_UINT_LEAST32_T''@/$(HAVE_UINT_LEAST32_T)/g' \ | ||
226 | -e 's/@''HAVE_UINT_LEAST64_T''@/$(HAVE_UINT_LEAST64_T)/g' \ | ||
227 | -e 's/@''HAVE_INT_FAST8_T''@/$(HAVE_INT_FAST8_T)/g' \ | ||
228 | -e 's/@''HAVE_INT_FAST16_T''@/$(HAVE_INT_FAST16_T)/g' \ | ||
229 | -e 's/@''HAVE_INT_FAST32_T''@/$(HAVE_INT_FAST32_T)/g' \ | ||
230 | -e 's/@''HAVE_INT_FAST64_T''@/$(HAVE_INT_FAST64_T)/g' \ | ||
231 | -e 's/@''HAVE_UINT_FAST8_T''@/$(HAVE_UINT_FAST8_T)/g' \ | ||
232 | -e 's/@''HAVE_UINT_FAST16_T''@/$(HAVE_UINT_FAST16_T)/g' \ | ||
233 | -e 's/@''HAVE_UINT_FAST32_T''@/$(HAVE_UINT_FAST32_T)/g' \ | ||
234 | -e 's/@''HAVE_UINT_FAST64_T''@/$(HAVE_UINT_FAST64_T)/g' \ | ||
235 | -e 's/@''HAVE_INTPTR_T''@/$(HAVE_INTPTR_T)/g' \ | ||
236 | -e 's/@''HAVE_UINTPTR_T''@/$(HAVE_UINTPTR_T)/g' \ | ||
237 | -e 's/@''HAVE_INTMAX_T''@/$(HAVE_INTMAX_T)/g' \ | ||
238 | -e 's/@''HAVE_UINTMAX_T''@/$(HAVE_UINTMAX_T)/g' \ | ||
239 | -e 's/@''BITSIZEOF_UNSIGNED_INT''@/$(BITSIZEOF_UNSIGNED_INT)/g' \ | ||
240 | -e 's/@''BITSIZEOF_LONG''@/$(BITSIZEOF_LONG)/g' \ | ||
241 | -e 's/@''BITSIZEOF_UNSIGNED_LONG''@/$(BITSIZEOF_UNSIGNED_LONG)/g' \ | ||
242 | -e 's/@''BITSIZEOF_INT8_T''@/$(BITSIZEOF_INT8_T)/g' \ | ||
243 | -e 's/@''BITSIZEOF_INT16_T''@/$(BITSIZEOF_INT16_T)/g' \ | ||
244 | -e 's/@''BITSIZEOF_INT32_T''@/$(BITSIZEOF_INT32_T)/g' \ | ||
245 | -e 's/@''BITSIZEOF_INT64_T''@/$(BITSIZEOF_INT64_T)/g' \ | ||
246 | -e 's/@''BITSIZEOF_UINT8_T''@/$(BITSIZEOF_UINT8_T)/g' \ | ||
247 | -e 's/@''BITSIZEOF_UINT16_T''@/$(BITSIZEOF_UINT16_T)/g' \ | ||
248 | -e 's/@''BITSIZEOF_UINT32_T''@/$(BITSIZEOF_UINT32_T)/g' \ | ||
249 | -e 's/@''BITSIZEOF_UINT64_T''@/$(BITSIZEOF_UINT64_T)/g' \ | ||
250 | -e 's/@''BITSIZEOF_INT_LEAST8_T''@/$(BITSIZEOF_INT_LEAST8_T)/g' \ | ||
251 | -e 's/@''BITSIZEOF_INT_LEAST16_T''@/$(BITSIZEOF_INT_LEAST16_T)/g' \ | ||
252 | -e 's/@''BITSIZEOF_INT_LEAST32_T''@/$(BITSIZEOF_INT_LEAST32_T)/g' \ | ||
253 | -e 's/@''BITSIZEOF_INT_LEAST64_T''@/$(BITSIZEOF_INT_LEAST64_T)/g' \ | ||
254 | -e 's/@''BITSIZEOF_UINT_LEAST8_T''@/$(BITSIZEOF_UINT_LEAST8_T)/g' \ | ||
255 | -e 's/@''BITSIZEOF_UINT_LEAST16_T''@/$(BITSIZEOF_UINT_LEAST16_T)/g' \ | ||
256 | -e 's/@''BITSIZEOF_UINT_LEAST32_T''@/$(BITSIZEOF_UINT_LEAST32_T)/g' \ | ||
257 | -e 's/@''BITSIZEOF_UINT_LEAST64_T''@/$(BITSIZEOF_UINT_LEAST64_T)/g' \ | ||
258 | -e 's/@''BITSIZEOF_INT_FAST8_T''@/$(BITSIZEOF_INT_FAST8_T)/g' \ | ||
259 | -e 's/@''BITSIZEOF_INT_FAST16_T''@/$(BITSIZEOF_INT_FAST16_T)/g' \ | ||
260 | -e 's/@''BITSIZEOF_INT_FAST32_T''@/$(BITSIZEOF_INT_FAST32_T)/g' \ | ||
261 | -e 's/@''BITSIZEOF_INT_FAST64_T''@/$(BITSIZEOF_INT_FAST64_T)/g' \ | ||
262 | -e 's/@''BITSIZEOF_UINT_FAST8_T''@/$(BITSIZEOF_UINT_FAST8_T)/g' \ | ||
263 | -e 's/@''BITSIZEOF_UINT_FAST16_T''@/$(BITSIZEOF_UINT_FAST16_T)/g' \ | ||
264 | -e 's/@''BITSIZEOF_UINT_FAST32_T''@/$(BITSIZEOF_UINT_FAST32_T)/g' \ | ||
265 | -e 's/@''BITSIZEOF_UINT_FAST64_T''@/$(BITSIZEOF_UINT_FAST64_T)/g' \ | ||
266 | -e 's/@''BITSIZEOF_INTPTR_T''@/$(BITSIZEOF_INTPTR_T)/g' \ | ||
267 | -e 's/@''BITSIZEOF_UINTPTR_T''@/$(BITSIZEOF_UINTPTR_T)/g' \ | ||
268 | -e 's/@''BITSIZEOF_INTMAX_T''@/$(BITSIZEOF_INTMAX_T)/g' \ | ||
269 | -e 's/@''BITSIZEOF_UINTMAX_T''@/$(BITSIZEOF_UINTMAX_T)/g' \ | ||
270 | -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ | ||
271 | -e 's/@''SAME_TYPE_PTRDIFF_T_LONG''@/$(SAME_TYPE_PTRDIFF_T_LONG)/g' \ | ||
272 | -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ | ||
273 | -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ | ||
274 | -e 's/@''SAME_TYPE_SIG_ATOMIC_T_LONG''@/$(SAME_TYPE_SIG_ATOMIC_T_LONG)/g' \ | ||
275 | -e 's/@''SAME_TYPE_SIG_ATOMIC_T_UNSIGNED_LONG''@/$(SAME_TYPE_SIG_ATOMIC_T_UNSIGNED_LONG)/g' \ | ||
276 | -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ | ||
277 | -e 's/@''SAME_TYPE_SIZE_T_UNSIGNED_LONG''@/$(SAME_TYPE_SIZE_T_UNSIGNED_LONG)/g' \ | ||
278 | -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ | ||
279 | -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ | ||
280 | -e 's/@''SAME_TYPE_WCHAR_T_LONG''@/$(SAME_TYPE_WCHAR_T_LONG)/g' \ | ||
281 | -e 's/@''SAME_TYPE_WCHAR_T_UNSIGNED_LONG''@/$(SAME_TYPE_WCHAR_T_UNSIGNED_LONG)/g' \ | ||
282 | -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ | ||
283 | -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ | ||
284 | -e 's/@''SAME_TYPE_WINT_T_LONG''@/$(SAME_TYPE_WINT_T_LONG)/g' \ | ||
285 | -e 's/@''SAME_TYPE_WINT_T_UNSIGNED_LONG''@/$(SAME_TYPE_WINT_T_UNSIGNED_LONG)/g' \ | ||
286 | < $(srcdir)/stdint_.h > $@-t | ||
199 | mv $@-t $@ | 287 | mv $@-t $@ |
200 | MOSTLYCLEANFILES += stdint.h stdint.h-t | 288 | MOSTLYCLEANFILES += stdint.h stdint.h-t |
201 | 289 | ||
... | @@ -218,10 +306,18 @@ sysexits.h: sysexit_.h | ... | @@ -218,10 +306,18 @@ sysexits.h: sysexit_.h |
218 | mv sysexits.h-t sysexits.h | 306 | mv sysexits.h-t sysexits.h |
219 | MOSTLYCLEANFILES += sysexits.h sysexits.h-t | 307 | MOSTLYCLEANFILES += sysexits.h sysexits.h-t |
220 | 308 | ||
309 | BUILT_SOURCES += $(UNISTD_H) | ||
310 | |||
311 | # We need the following in order to create an empty placeholder for | ||
312 | # <unistd.h> when the system doesn't have one. | ||
313 | unistd.h: | ||
314 | echo '/* Empty placeholder for $@. */' >$@ | ||
315 | MOSTLYCLEANFILES += unistd.h | ||
316 | |||
221 | libmailutils_la_SOURCES += printf-args.h printf-parse.h vasnprintf.h | 317 | libmailutils_la_SOURCES += printf-args.h printf-parse.h vasnprintf.h |
222 | 318 | ||
223 | libmailutils_la_SOURCES += vsnprintf.h | 319 | libmailutils_la_SOURCES += vsnprintf.h |
224 | 320 | ||
225 | libmailutils_la_SOURCES += xsize.h | 321 | libmailutils_la_SOURCES += xsize.h |
226 | 322 | ||
227 | EXTRA_DIST += unlocked-io.h getndelim2.c fnmatch.c getdelim.c getdelim.h getdelim.c getopt.c getopt1.c mbchar.c mempcpy.c mempcpy.h mempcpy.c regex.c strcasecmp.c strncasecmp.c getlogin_r.c getlogin_r.c inttostr.c inttostr.h intprops.h imaxtostr.c offtostr.c umaxtostr.c imaxtostr.c offtostr.c umaxtostr.c strchrnul.c strdup.c strdup.h strdup.c strndup.c strndup.h strndup.c strnlen.c strnlen.h strnlen.c strtok_r.c vasnprintf.c printf-args.c printf-parse.c asnprintf.c vsnprintf.c getline.c getline.c getline.h getline.c glob.c glob_.h glob-libc.h glob.c md5.c md5.h md5.c memchr.c stat-macros.h | 323 | EXTRA_DIST += inttostr.c inttostr.h intprops.h imaxtostr.c offtostr.c umaxtostr.c imaxtostr.c offtostr.c umaxtostr.c getopt.c getopt1.c regex.c fnmatch.c getdelim.c getdelim.h getdelim.c getline.c getline.c getline.h getline.c md5.c md5.h md5.c getndelim2.c mempcpy.c mempcpy.h mempcpy.c strcasecmp.c strncasecmp.c strchrnul.c strndup.c strndup.h strndup.c strnlen.c strnlen.h strnlen.c strtok_r.c vsnprintf.c unlocked-io.h memchr.c glob.c glob_.h glob-libc.h glob.c mbchar.c stat-macros.h strdup.c strdup.h strdup.c sha1.c sha1.h sha1.c vasnprintf.c printf-args.c printf-parse.c asnprintf.c getlogin_r.c getlogin_r.c | ... | ... |
1 | /* Memory allocation on the stack. | 1 | /* Memory allocation on the stack. |
2 | 2 | ||
3 | Copyright (C) 1995, 1999, 2001, 2002, 2003, 2004 Free Software | 3 | Copyright (C) 1995, 1999, 2001, 2002, 2003, 2004, 2006 Free Software |
4 | Foundation, Inc. | 4 | Foundation, Inc. |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
... | @@ -34,19 +34,21 @@ | ... | @@ -34,19 +34,21 @@ |
34 | request, the program just crashes. | 34 | request, the program just crashes. |
35 | */ | 35 | */ |
36 | 36 | ||
37 | #ifdef __GNUC__ | 37 | #ifndef alloca |
38 | # ifdef __GNUC__ | ||
38 | # define alloca __builtin_alloca | 39 | # define alloca __builtin_alloca |
39 | #elif defined _AIX | 40 | # elif defined _AIX |
40 | # define alloca __alloca | 41 | # define alloca __alloca |
41 | #elif defined _MSC_VER | 42 | # elif defined _MSC_VER |
42 | # include <malloc.h> | 43 | # include <malloc.h> |
43 | # define alloca _alloca | 44 | # define alloca _alloca |
44 | #else | 45 | # else |
45 | # include <stddef.h> | 46 | # include <stddef.h> |
46 | # ifdef __cplusplus | 47 | # ifdef __cplusplus |
47 | extern "C" | 48 | extern "C" |
48 | # endif | 49 | # endif |
49 | void *alloca (size_t); | 50 | void *alloca (size_t); |
51 | # endif | ||
50 | #endif | 52 | #endif |
51 | 53 | ||
52 | #endif /* _GNULIB_ALLOCA_H */ | 54 | #endif /* _GNULIB_ALLOCA_H */ | ... | ... |
-
Please register or sign in to post a comment