1 diff -Nru ../release/sed-4.1.5/config_h.msc ./config_h.msc
\r
2 --- ../release/sed-4.1.5/config_h.msc 1969-12-31 16:00:00.000000000 -0800
\r
3 +++ ./config_h.msc 2006-09-28 19:34:18.620414300 -0700
\r
5 +/* config_h.in. Generated from configure.ac by autoheader. */
\r
6 +/* config_h.msc. Modified for Microsoft Visual Studio. */
\r
8 +#define O_CREAT _O_CREAT
\r
9 +#define O_EXCL _O_EXCL
\r
10 +#define O_RDWR _O_RDWR
\r
12 +#define popen _popen
\r
13 +#define pclose _pclose
\r
14 +#define alloca _alloca
\r
15 +#define strcasecmp stricmp
\r
17 +#define S_ISREG(x) (((x) & _S_IFMT) == _S_IFREG)
\r
19 +#define HAVE_FCNTL_H 1
\r
21 +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
\r
22 + systems. This function is required for `alloca.c' support on those systems.
\r
24 +#undef CRAY_STACKSEG_END
\r
26 +/* Define to 1 if using `alloca.c'. */
\r
29 +/* Define to 1 if translation of program messages to the user's native
\r
30 + language is requested. */
\r
33 +/* Define to 1 if you have `alloca', as a function or macro. */
\r
34 +#define HAVE_ALLOCA 1
\r
36 +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
\r
38 +#undef HAVE_ALLOCA_H
\r
40 +/* Define to 1 if you have the <argz.h> header file. */
\r
43 +/* Define to 1 if you have the `bcopy' function. */
\r
46 +/* Define to 1 if you have the `btowc' function. */
\r
49 +/* Define to 1 if you have the `bzero' function. */
\r
52 +/* Define if the GNU dcgettext() function is already present or preinstalled.
\r
54 +#undef HAVE_DCGETTEXT
\r
56 +/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
\r
58 +#define HAVE_DIRENT_H 1
\r
60 +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
\r
63 +/* Define to 1 if you have the <errno.h> header file. */
\r
64 +#define HAVE_ERRNO_H 1
\r
66 +/* Define to 1 if you have the `fchmod' function. */
\r
69 +/* Define to 1 if you have the `fchown' function. */
\r
72 +/* Define to 1 if you have the `feof_unlocked' function. */
\r
73 +#undef HAVE_FEOF_UNLOCKED
\r
75 +/* Define to 1 if you have the `fgets_unlocked' function. */
\r
76 +#undef HAVE_FGETS_UNLOCKED
\r
78 +/* Define to 1 if you have the `getcwd' function. */
\r
79 +#define HAVE_GETCWD 1
\r
81 +/* Define to 1 if you have the `getc_unlocked' function. */
\r
82 +#undef HAVE_GETC_UNLOCKED
\r
84 +/* Define to 1 if you have the `getegid' function. */
\r
85 +#undef HAVE_GETEGID
\r
87 +/* Define to 1 if you have the `geteuid' function. */
\r
88 +#undef HAVE_GETEUID
\r
90 +/* Define to 1 if you have the `getgid' function. */
\r
93 +/* Define to 1 if you have the `getpagesize' function. */
\r
94 +#undef HAVE_GETPAGESIZE
\r
96 +/* Define if the GNU gettext() function is already present or preinstalled. */
\r
97 +#undef HAVE_GETTEXT
\r
99 +/* Define to 1 if you have the `getuid' function. */
\r
100 +#undef HAVE_GETUID
\r
102 +/* Define if you have the iconv() function. */
\r
105 +/* Define to 1 if you have the <inttypes.h> header file. */
\r
106 +#undef HAVE_INTTYPES_H
\r
108 +/* Define to 1 if you have the <io.h> header file. */
\r
109 +#define HAVE_IO_H 1
\r
111 +/* Define to 1 if you have the `isascii' function. */
\r
112 +#define HAVE_ISASCII 1
\r
114 +/* Define to 1 if you have the `isatty' function. */
\r
115 +#undef HAVE_ISATTY
\r
117 +/* Define to 1 if you have the `isblank' function. */
\r
118 +#undef HAVE_ISBLANK
\r
120 +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
\r
121 +#undef HAVE_LANGINFO_CODESET
\r
123 +/* Define if your <locale.h> file defines LC_MESSAGES. */
\r
124 +#define HAVE_LC_MESSAGES 1
\r
126 +/* Define to 1 if you have the `regex' library (-lregex). */
\r
127 +#undef HAVE_LIBREGEX
\r
129 +/* Define to 1 if you have the <limits.h> header file. */
\r
130 +#define HAVE_LIMITS_H 1
\r
132 +/* Define to 1 if you have the <locale.h> header file. */
\r
133 +#undef HAVE_LOCALE_H
\r
135 +/* Define to 1 if you support file names longer than 14 characters. */
\r
136 +#define HAVE_LONG_FILE_NAMES 1
\r
138 +/* Define to 1 if you have the <malloc.h> header file. */
\r
139 +#define HAVE_MALLOC_H 1
\r
141 +/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
\r
142 +#undef HAVE_MBRTOWC
\r
144 +/* Define to 1 if <wchar.h> declares mbstate_t. */
\r
145 +#undef HAVE_MBSTATE_T
\r
147 +/* Define to 1 if you have the <mcheck.h> header file. */
\r
148 +#undef HAVE_MCHECK_H
\r
150 +/* Define to 1 if you have the `memchr' function. */
\r
151 +#define HAVE_MEMCHR 1
\r
153 +/* Define to 1 if you have the `memcmp' function. */
\r
154 +#define HAVE_MEMCMP 1
\r
156 +/* Define to 1 if you have the `memcpy' function. */
\r
157 +#define HAVE_MEMCPY 1
\r
159 +/* Define to 1 if you have the `memmove' function. */
\r
160 +#define HAVE_MEMMOVE 1
\r
162 +/* Define to 1 if you have the <memory.h> header file. */
\r
163 +#define HAVE_MEMORY_H 1
\r
165 +/* Define to 1 if you have the `mempcpy' function. */
\r
166 +#undef HAVE_MEMPCPY
\r
168 +/* Define to 1 if you have the `memset' function. */
\r
169 +#define HAVE_MEMSET 1
\r
171 +/* Define to 1 if you have the `mkstemp' function. */
\r
172 +#undef HAVE_MKSTEMP
\r
174 +/* Define to 1 if you have a working `mmap' system call. */
\r
177 +/* Define to 1 if you have the `munmap' function. */
\r
178 +#undef HAVE_MUNMAP
\r
180 +/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
\r
181 +#undef HAVE_NDIR_H
\r
183 +/* Define to 1 if you have the <nl_types.h> header file. */
\r
184 +#undef HAVE_NL_TYPES_H
\r
186 +/* Define to 1 if libc includes obstacks. */
\r
187 +#undef HAVE_OBSTACK
\r
189 +/* Define to 1 if you have the `pathconf' function. */
\r
190 +#undef HAVE_PATHCONF
\r
192 +/* Define to 1 if you have the `popen' function. */
\r
193 +#define HAVE_POPEN 1
\r
195 +/* Define to 1 if you have the `putenv' function. */
\r
196 +#define HAVE_PUTENV 1
\r
198 +/* Define to 1 if you have the <regex.h> header file. */
\r
199 +#undef HAVE_REGEX_H
\r
201 +/* Define to 1 if you have the `setenv' function. */
\r
202 +#define HAVE_SETENV 1
\r
204 +/* Define to 1 if you have the `setlocale' function. */
\r
205 +#undef HAVE_SETLOCALE
\r
207 +/* Define to 1 if you have the <stdarg.h> header file. */
\r
208 +#define HAVE_STDARG_H 1
\r
210 +/* Define to 1 if stdbool.h conforms to C99. */
\r
211 +#undef HAVE_STDBOOL_H
\r
213 +/* Define to 1 if you have the <stddef.h> header file. */
\r
214 +#define HAVE_STDDEF_H 1
\r
216 +/* Define to 1 if you have the <stdint.h> header file. */
\r
217 +#undef HAVE_STDINT_H
\r
219 +/* Define to 1 if you have the <stdlib.h> header file. */
\r
220 +#define HAVE_STDLIB_H 1
\r
222 +/* Define to 1 if you have the `stpcpy' function. */
\r
223 +#undef HAVE_STPCPY
\r
225 +/* Define to 1 if you have the `strcasecmp' function. */
\r
226 +#undef HAVE_STRCASECMP
\r
228 +/* Define to 1 if you have the `strchr' function. */
\r
229 +#define HAVE_STRCHR 1
\r
231 +/* Define to 1 if you have the `strdup' function. */
\r
232 +#define HAVE_STRDUP 1
\r
234 +/* Define to 1 if you have the `strerror' function. */
\r
235 +#define HAVE_STRERROR 1
\r
237 +/* Define to 1 if you have the <strings.h> header file. */
\r
238 +#undef HAVE_STRINGS_H
\r
240 +/* Define to 1 if you have the <string.h> header file. */
\r
241 +#define HAVE_STRING_H 1
\r
243 +/* Define to 1 if you have the `strtoul' function. */
\r
244 +#define HAVE_STRTOUL 1
\r
246 +/* Define to 1 if you have the `strverscmp' function. */
\r
247 +#undef HAVE_STRVERSCMP
\r
249 +/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
\r
251 +#define HAVE_SYS_DIR_H 1
\r
253 +/* Define to 1 if you have the <sys/file.h> header file. */
\r
254 +#undef HAVE_SYS_FILE_H
\r
256 +/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
\r
258 +#define HAVE_SYS_NDIR_H 1
\r
260 +/* Define to 1 if you have the <sys/param.h> header file. */
\r
261 +#define HAVE_SYS_PARAM_H 1
\r
263 +/* Define to 1 if you have the <sys/stat.h> header file. */
\r
264 +#define HAVE_SYS_STAT_H 1
\r
266 +/* Define to 1 if you have the <sys/types.h> header file. */
\r
267 +#define HAVE_SYS_TYPES_H 1
\r
269 +/* Define to 1 if you have the `tsearch' function. */
\r
270 +#define HAVE_TSEARCH 1
\r
272 +/* Define to 1 if you have the <unistd.h> header file. */
\r
273 +#undef HAVE_UNISTD_H
\r
275 +/* Define to 1 if you have the `vprintf' function. */
\r
276 +#define HAVE_VPRINTF 1
\r
278 +/* Define to 1 if you have the <wchar.h> header file. */
\r
279 +#undef HAVE_WCHAR_H
\r
281 +/* Define to 1 if you have the `wcrtomb' function. */
\r
282 +#undef HAVE_WCRTOMB
\r
284 +/* Define to 1 if you have the `wcscoll' function. */
\r
285 +#undef HAVE_WCSCOLL
\r
287 +/* Define to 1 if you have the <wctype.h> header file. */
\r
288 +#undef HAVE_WCTYPE_H
\r
290 +/* Define to 1 if the system has the type `_Bool'. */
\r
293 +/* Define to 1 if you have the `__argz_count' function. */
\r
294 +#undef HAVE___ARGZ_COUNT
\r
296 +/* Define to 1 if you have the `__argz_next' function. */
\r
297 +#undef HAVE___ARGZ_NEXT
\r
299 +/* Define to 1 if you have the `__argz_stringify' function. */
\r
300 +#undef HAVE___ARGZ_STRINGIFY
\r
302 +/* Define as const if the declaration of iconv() needs const. */
\r
303 +#undef ICONV_CONST
\r
305 +/* Name of package */
\r
306 +#define PACKAGE "sed"
\r
308 +/* Define to the address where bug reports for this package should be sent. */
\r
309 +#undef PACKAGE_BUGREPORT
\r
311 +/* Define to the full name of this package. */
\r
312 +#undef PACKAGE_NAME
\r
314 +/* Define to the full name and version of this package. */
\r
315 +#undef PACKAGE_STRING
\r
317 +/* Define to the one symbol short name of this package. */
\r
318 +#undef PACKAGE_TARNAME
\r
320 +/* Define to the version of this package. */
\r
321 +#undef PACKAGE_VERSION
\r
323 +/* Define to the version of GNU sed whose features are supported by this sed.
\r
325 +#define SED_FEATURE_VERSION "5.1"
\r
327 +/* If using the C implementation of alloca, define if you know the
\r
328 + direction of stack growth for your system; otherwise it will be
\r
329 + automatically deduced at run-time.
\r
330 + STACK_DIRECTION > 0 => grows toward higher addresses
\r
331 + STACK_DIRECTION < 0 => grows toward lower addresses
\r
332 + STACK_DIRECTION = 0 => direction of growth unknown */
\r
333 +#undef STACK_DIRECTION
\r
335 +/* Define to 1 if you have the ANSI C header files. */
\r
336 +#define STDC_HEADERS 1
\r
338 +/* Version number of package */
\r
339 +#define VERSION "4.1.5"
\r
341 +/* Define to 1 if on AIX 3.
\r
342 + System headers sometimes define this.
\r
343 + We just want to avoid a redefinition error message. */
\r
344 +#ifndef _ALL_SOURCE
\r
345 +# undef _ALL_SOURCE
\r
348 +/* Number of bits in a file offset, on hosts where this is settable. */
\r
349 +#undef _FILE_OFFSET_BITS
\r
351 +/* Enable GNU extensions on systems that have them. */
\r
352 +#ifndef _GNU_SOURCE
\r
353 +# undef _GNU_SOURCE
\r
356 +/* Define for large files, on AIX-style hosts. */
\r
357 +#undef _LARGE_FILES
\r
359 +/* Define to 1 if on MINIX. */
\r
362 +/* Define to 2 if the system does not provide POSIX.1 features except with
\r
364 +#undef _POSIX_1_SOURCE
\r
366 +/* Define to 1 if you need to in order for `stat' and other things to work. */
\r
367 +#undef _POSIX_SOURCE
\r
369 +/* Include BSD functions in regex, used by the testsuite */
\r
370 +#undef _REGEX_RE_COMP
\r
372 +/* Define to empty if `const' does not conform to ANSI C. */
\r
375 +/* Define to `__inline__' or `__inline' if that's what the C compiler
\r
376 + calls it, or to nothing if 'inline' is not supported under any name. */
\r
377 +#ifndef __cplusplus
\r
378 +#define inline __inline
\r
381 +/* Define to a type if <wchar.h> does not define. */
\r
382 +#define mbstate_t int
\r
384 +/* Define to `long' if <sys/types.h> does not define. */
\r
387 +/* Define to `unsigned' if <sys/types.h> does not define. */
\r
390 +/* Define to `int' if <sys/types.h> does not define. */
\r
392 diff -Nru ../release/sed-4.1.5/config_h.msc~ ./config_h.msc~
\r
393 --- ../release/sed-4.1.5/config_h.msc~ 1969-12-31 16:00:00.000000000 -0800
\r
394 +++ ./config_h.msc~ 2006-09-28 13:56:59.922178500 -0700
\r
396 +/* config_h.in. Generated from configure.ac by autoheader. */
\r
398 +#define O_CREAT _O_CREAT
\r
399 +#define O_EXCL _O_EXCL
\r
400 +#define O_RDWR _O_RDWR
\r
402 +#define popen _popen
\r
403 +#define pclose _pclose
\r
404 +#define alloca _alloca
\r
405 +#define strcasecmp stricmp
\r
407 +#define S_ISREG(x) (((x) & _S_IFMT) == _S_IFREG)
\r
409 +#define HAVE_FCNTL_H 1
\r
411 +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
\r
412 + systems. This function is required for `alloca.c' support on those systems.
\r
414 +#undef CRAY_STACKSEG_END
\r
416 +/* Define to 1 if using `alloca.c'. */
\r
419 +/* Define to 1 if translation of program messages to the user's native
\r
420 + language is requested. */
\r
423 +/* Define to 1 if you have `alloca', as a function or macro. */
\r
424 +#define HAVE_ALLOCA 1
\r
426 +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
\r
428 +#undef HAVE_ALLOCA_H
\r
430 +/* Define to 1 if you have the <argz.h> header file. */
\r
431 +#undef HAVE_ARGZ_H
\r
433 +/* Define to 1 if you have the `bcopy' function. */
\r
436 +/* Define to 1 if you have the `btowc' function. */
\r
439 +/* Define to 1 if you have the `bzero' function. */
\r
442 +/* Define if the GNU dcgettext() function is already present or preinstalled.
\r
444 +#undef HAVE_DCGETTEXT
\r
446 +/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
\r
448 +#define HAVE_DIRENT_H 1
\r
450 +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
\r
451 +#undef HAVE_DOPRNT
\r
453 +/* Define to 1 if you have the <errno.h> header file. */
\r
454 +#define HAVE_ERRNO_H 1
\r
456 +/* Define to 1 if you have the `fchmod' function. */
\r
457 +#undef HAVE_FCHMOD
\r
459 +/* Define to 1 if you have the `fchown' function. */
\r
460 +#undef HAVE_FCHOWN
\r
462 +/* Define to 1 if you have the `feof_unlocked' function. */
\r
463 +#undef HAVE_FEOF_UNLOCKED
\r
465 +/* Define to 1 if you have the `fgets_unlocked' function. */
\r
466 +#undef HAVE_FGETS_UNLOCKED
\r
468 +/* Define to 1 if you have the `getcwd' function. */
\r
469 +#define HAVE_GETCWD 1
\r
471 +/* Define to 1 if you have the `getc_unlocked' function. */
\r
472 +#undef HAVE_GETC_UNLOCKED
\r
474 +/* Define to 1 if you have the `getegid' function. */
\r
475 +#undef HAVE_GETEGID
\r
477 +/* Define to 1 if you have the `geteuid' function. */
\r
478 +#undef HAVE_GETEUID
\r
480 +/* Define to 1 if you have the `getgid' function. */
\r
481 +#undef HAVE_GETGID
\r
483 +/* Define to 1 if you have the `getpagesize' function. */
\r
484 +#undef HAVE_GETPAGESIZE
\r
486 +/* Define if the GNU gettext() function is already present or preinstalled. */
\r
487 +#undef HAVE_GETTEXT
\r
489 +/* Define to 1 if you have the `getuid' function. */
\r
490 +#undef HAVE_GETUID
\r
492 +/* Define if you have the iconv() function. */
\r
495 +/* Define to 1 if you have the <inttypes.h> header file. */
\r
496 +#undef HAVE_INTTYPES_H
\r
498 +/* Define to 1 if you have the <io.h> header file. */
\r
499 +#define HAVE_IO_H 1
\r
501 +/* Define to 1 if you have the `isascii' function. */
\r
502 +#define HAVE_ISASCII 1
\r
504 +/* Define to 1 if you have the `isatty' function. */
\r
505 +#undef HAVE_ISATTY
\r
507 +/* Define to 1 if you have the `isblank' function. */
\r
508 +#undef HAVE_ISBLANK
\r
510 +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
\r
511 +#undef HAVE_LANGINFO_CODESET
\r
513 +/* Define if your <locale.h> file defines LC_MESSAGES. */
\r
514 +#define HAVE_LC_MESSAGES 1
\r
516 +/* Define to 1 if you have the `regex' library (-lregex). */
\r
517 +#undef HAVE_LIBREGEX
\r
519 +/* Define to 1 if you have the <limits.h> header file. */
\r
520 +#define HAVE_LIMITS_H 1
\r
522 +/* Define to 1 if you have the <locale.h> header file. */
\r
523 +#undef HAVE_LOCALE_H
\r
525 +/* Define to 1 if you support file names longer than 14 characters. */
\r
526 +#define HAVE_LONG_FILE_NAMES 1
\r
528 +/* Define to 1 if you have the <malloc.h> header file. */
\r
529 +#define HAVE_MALLOC_H 1
\r
531 +/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
\r
532 +#undef HAVE_MBRTOWC
\r
534 +/* Define to 1 if <wchar.h> declares mbstate_t. */
\r
535 +#undef HAVE_MBSTATE_T
\r
537 +/* Define to 1 if you have the <mcheck.h> header file. */
\r
538 +#undef HAVE_MCHECK_H
\r
540 +/* Define to 1 if you have the `memchr' function. */
\r
541 +#define HAVE_MEMCHR 1
\r
543 +/* Define to 1 if you have the `memcmp' function. */
\r
544 +#define HAVE_MEMCMP 1
\r
546 +/* Define to 1 if you have the `memcpy' function. */
\r
547 +#define HAVE_MEMCPY 1
\r
549 +/* Define to 1 if you have the `memmove' function. */
\r
550 +#define HAVE_MEMMOVE 1
\r
552 +/* Define to 1 if you have the <memory.h> header file. */
\r
553 +#define HAVE_MEMORY_H 1
\r
555 +/* Define to 1 if you have the `mempcpy' function. */
\r
556 +#undef HAVE_MEMPCPY
\r
558 +/* Define to 1 if you have the `memset' function. */
\r
559 +#define HAVE_MEMSET 1
\r
561 +/* Define to 1 if you have the `mkstemp' function. */
\r
562 +#undef HAVE_MKSTEMP
\r
564 +/* Define to 1 if you have a working `mmap' system call. */
\r
567 +/* Define to 1 if you have the `munmap' function. */
\r
568 +#undef HAVE_MUNMAP
\r
570 +/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
\r
571 +#undef HAVE_NDIR_H
\r
573 +/* Define to 1 if you have the <nl_types.h> header file. */
\r
574 +#undef HAVE_NL_TYPES_H
\r
576 +/* Define to 1 if libc includes obstacks. */
\r
577 +#undef HAVE_OBSTACK
\r
579 +/* Define to 1 if you have the `pathconf' function. */
\r
580 +#undef HAVE_PATHCONF
\r
582 +/* Define to 1 if you have the `popen' function. */
\r
583 +#define HAVE_POPEN 1
\r
585 +/* Define to 1 if you have the `putenv' function. */
\r
586 +#define HAVE_PUTENV 1
\r
588 +/* Define to 1 if you have the <regex.h> header file. */
\r
589 +#undef HAVE_REGEX_H
\r
591 +/* Define to 1 if you have the `setenv' function. */
\r
592 +#define HAVE_SETENV 1
\r
594 +/* Define to 1 if you have the `setlocale' function. */
\r
595 +#undef HAVE_SETLOCALE
\r
597 +/* Define to 1 if you have the <stdarg.h> header file. */
\r
598 +#define HAVE_STDARG_H 1
\r
600 +/* Define to 1 if stdbool.h conforms to C99. */
\r
601 +#undef HAVE_STDBOOL_H
\r
603 +/* Define to 1 if you have the <stddef.h> header file. */
\r
604 +#define HAVE_STDDEF_H 1
\r
606 +/* Define to 1 if you have the <stdint.h> header file. */
\r
607 +#undef HAVE_STDINT_H
\r
609 +/* Define to 1 if you have the <stdlib.h> header file. */
\r
610 +#define HAVE_STDLIB_H 1
\r
612 +/* Define to 1 if you have the `stpcpy' function. */
\r
613 +#undef HAVE_STPCPY
\r
615 +/* Define to 1 if you have the `strcasecmp' function. */
\r
616 +#undef HAVE_STRCASECMP
\r
618 +/* Define to 1 if you have the `strchr' function. */
\r
619 +#define HAVE_STRCHR 1
\r
621 +/* Define to 1 if you have the `strdup' function. */
\r
622 +#define HAVE_STRDUP 1
\r
624 +/* Define to 1 if you have the `strerror' function. */
\r
625 +#define HAVE_STRERROR 1
\r
627 +/* Define to 1 if you have the <strings.h> header file. */
\r
628 +#undef HAVE_STRINGS_H
\r
630 +/* Define to 1 if you have the <string.h> header file. */
\r
631 +#define HAVE_STRING_H 1
\r
633 +/* Define to 1 if you have the `strtoul' function. */
\r
634 +#define HAVE_STRTOUL 1
\r
636 +/* Define to 1 if you have the `strverscmp' function. */
\r
637 +#undef HAVE_STRVERSCMP
\r
639 +/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
\r
641 +#define HAVE_SYS_DIR_H 1
\r
643 +/* Define to 1 if you have the <sys/file.h> header file. */
\r
644 +#undef HAVE_SYS_FILE_H
\r
646 +/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
\r
648 +#define HAVE_SYS_NDIR_H 1
\r
650 +/* Define to 1 if you have the <sys/param.h> header file. */
\r
651 +#define HAVE_SYS_PARAM_H 1
\r
653 +/* Define to 1 if you have the <sys/stat.h> header file. */
\r
654 +#define HAVE_SYS_STAT_H 1
\r
656 +/* Define to 1 if you have the <sys/types.h> header file. */
\r
657 +#define HAVE_SYS_TYPES_H 1
\r
659 +/* Define to 1 if you have the `tsearch' function. */
\r
660 +#define HAVE_TSEARCH 1
\r
662 +/* Define to 1 if you have the <unistd.h> header file. */
\r
663 +#undef HAVE_UNISTD_H
\r
665 +/* Define to 1 if you have the `vprintf' function. */
\r
666 +#define HAVE_VPRINTF 1
\r
668 +/* Define to 1 if you have the <wchar.h> header file. */
\r
669 +#undef HAVE_WCHAR_H
\r
671 +/* Define to 1 if you have the `wcrtomb' function. */
\r
672 +#undef HAVE_WCRTOMB
\r
674 +/* Define to 1 if you have the `wcscoll' function. */
\r
675 +#undef HAVE_WCSCOLL
\r
677 +/* Define to 1 if you have the <wctype.h> header file. */
\r
678 +#undef HAVE_WCTYPE_H
\r
680 +/* Define to 1 if the system has the type `_Bool'. */
\r
683 +/* Define to 1 if you have the `__argz_count' function. */
\r
684 +#undef HAVE___ARGZ_COUNT
\r
686 +/* Define to 1 if you have the `__argz_next' function. */
\r
687 +#undef HAVE___ARGZ_NEXT
\r
689 +/* Define to 1 if you have the `__argz_stringify' function. */
\r
690 +#undef HAVE___ARGZ_STRINGIFY
\r
692 +/* Define as const if the declaration of iconv() needs const. */
\r
693 +#undef ICONV_CONST
\r
695 +/* Name of package */
\r
696 +#define PACKAGE "sed"
\r
698 +/* Define to the address where bug reports for this package should be sent. */
\r
699 +#undef PACKAGE_BUGREPORT
\r
701 +/* Define to the full name of this package. */
\r
702 +#undef PACKAGE_NAME
\r
704 +/* Define to the full name and version of this package. */
\r
705 +#undef PACKAGE_STRING
\r
707 +/* Define to the one symbol short name of this package. */
\r
708 +#undef PACKAGE_TARNAME
\r
710 +/* Define to the version of this package. */
\r
711 +#undef PACKAGE_VERSION
\r
713 +/* Define to the version of GNU sed whose features are supported by this sed.
\r
715 +#define SED_FEATURE_VERSION "5.1"
\r
717 +/* If using the C implementation of alloca, define if you know the
\r
718 + direction of stack growth for your system; otherwise it will be
\r
719 + automatically deduced at run-time.
\r
720 + STACK_DIRECTION > 0 => grows toward higher addresses
\r
721 + STACK_DIRECTION < 0 => grows toward lower addresses
\r
722 + STACK_DIRECTION = 0 => direction of growth unknown */
\r
723 +#undef STACK_DIRECTION
\r
725 +/* Define to 1 if you have the ANSI C header files. */
\r
726 +#define STDC_HEADERS 1
\r
728 +/* Version number of package */
\r
729 +#define VERSION "4.1.5"
\r
731 +/* Define to 1 if on AIX 3.
\r
732 + System headers sometimes define this.
\r
733 + We just want to avoid a redefinition error message. */
\r
734 +#ifndef _ALL_SOURCE
\r
735 +# undef _ALL_SOURCE
\r
738 +/* Number of bits in a file offset, on hosts where this is settable. */
\r
739 +#undef _FILE_OFFSET_BITS
\r
741 +/* Enable GNU extensions on systems that have them. */
\r
742 +#ifndef _GNU_SOURCE
\r
743 +# undef _GNU_SOURCE
\r
746 +/* Define for large files, on AIX-style hosts. */
\r
747 +#undef _LARGE_FILES
\r
749 +/* Define to 1 if on MINIX. */
\r
752 +/* Define to 2 if the system does not provide POSIX.1 features except with
\r
754 +#undef _POSIX_1_SOURCE
\r
756 +/* Define to 1 if you need to in order for `stat' and other things to work. */
\r
757 +#undef _POSIX_SOURCE
\r
759 +/* Include BSD functions in regex, used by the testsuite */
\r
760 +#undef _REGEX_RE_COMP
\r
762 +/* Define to empty if `const' does not conform to ANSI C. */
\r
765 +/* Define to `__inline__' or `__inline' if that's what the C compiler
\r
766 + calls it, or to nothing if 'inline' is not supported under any name. */
\r
767 +#ifndef __cplusplus
\r
768 +#define inline __inline
\r
771 +/* Define to a type if <wchar.h> does not define. */
\r
772 +#define mbstate_t int
\r
774 +/* Define to `long' if <sys/types.h> does not define. */
\r
777 +/* Define to `unsigned' if <sys/types.h> does not define. */
\r
780 +/* Define to `int' if <sys/types.h> does not define. */
\r
782 diff -Nru ../release/sed-4.1.5/lib/Makefile.msc ./lib/Makefile.msc
\r
783 --- ../release/sed-4.1.5/lib/Makefile.msc 1969-12-31 16:00:00.000000000 -0800
\r
784 +++ ./lib/Makefile.msc 2006-09-28 19:10:18.880835600 -0700
\r
786 +SOURCES=getline.c getopt.c getopt1.c mkstemp.c obstack.c regex.c strverscmp.c utils.c
\r
788 +OBJECTS=$(SOURCES:.c=.obj)
\r
790 +CFLAGS=-I.. -I. -DBOOTSTRAP -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DHAVE_CONFIG_H
\r
797 + del $(OBJECTS) regex.h libsed.lib *~ 2>nul
\r
799 +regex.h : regex_.h
\r
800 + copy /b $**+nul $@
\r
802 +$(OBJECTS) : ..\config.h
\r
804 +libsed.lib : regex.h $(OBJECTS)
\r
805 + lib /out:$@ $(OBJECTS)
\r
806 diff -Nru ../release/sed-4.1.5/lib/regcomp.c ./lib/regcomp.c
\r
807 --- ../release/sed-4.1.5/lib/regcomp.c 2005-12-06 00:46:51.000000000 -0800
\r
808 +++ ./lib/regcomp.c 2006-09-28 04:36:14.084476200 -0700
\r
809 @@ -506,11 +506,7 @@
\r
810 from either regcomp or regexec. We don't use PREG here. */
\r
813 -regerror (errcode, preg, errbuf, errbuf_size)
\r
815 - const regex_t *__restrict preg;
\r
816 - char *__restrict errbuf;
\r
817 - size_t errbuf_size;
\r
818 +regerror (int errcode, const regex_t *__restrict preg, char *__restrict errbuf, size_t errbuf_size)
\r
822 diff -Nru ../release/sed-4.1.5/lib/regex_internal.h ./lib/regex_internal.h
\r
823 --- ../release/sed-4.1.5/lib/regex_internal.h 2005-12-06 00:50:56.000000000 -0800
\r
824 +++ ./lib/regex_internal.h 2006-09-28 04:33:10.987210800 -0700
\r
825 @@ -410,7 +410,9 @@
\r
826 #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
\r
827 #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
\r
829 +#ifdef HAVE_ALLOCA_H
\r
830 #include <alloca.h>
\r
835 diff -Nru ../release/sed-4.1.5/lib/regexec.c ./lib/regexec.c
\r
836 --- ../release/sed-4.1.5/lib/regexec.c 2005-12-06 00:46:56.000000000 -0800
\r
837 +++ ./lib/regexec.c 2006-09-28 04:50:51.101314600 -0700
\r
839 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
\r
848 static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags,
\r
849 int n) internal_function;
\r
850 static void match_ctx_clean (re_match_context_t *mctx) internal_function;
\r
851 @@ -2894,7 +2900,7 @@
\r
852 sizeof (re_dfastate_t *) * (path->alloc - old_alloc));
\r
855 - str_idx = path->next_idx ?: top_str;
\r
856 + str_idx = path->next_idx ? path->next_idx : top_str;
\r
858 /* Temporary modify MCTX. */
\r
859 backup_state_log = mctx->state_log;
\r
860 diff -Nru ../release/sed-4.1.5/Makefile.msc ./Makefile.msc
\r
861 --- ../release/sed-4.1.5/Makefile.msc 1969-12-31 16:00:00.000000000 -0800
\r
862 +++ ./Makefile.msc 2006-09-28 19:10:18.552737900 -0700
\r
870 +install : dummy_target
\r
873 + @for %%i in ( $(DIRS) ) do @( cd %%i & nmake /nologo -f Makefile.msc $@ & cd .. )
\r
876 + del config.h *~ 2>nul
\r
877 + @for %%i in ( $(DIRS) ) do @( cd %%i & nmake /nologo -f Makefile.msc $@ & cd .. )
\r
879 +config.h : config_h.msc
\r
880 + copy /b $**+nul $@
\r
881 diff -Nru ../release/sed-4.1.5/sed/compile.c ./sed/compile.c
\r
882 --- ../release/sed-4.1.5/sed/compile.c 2006-02-03 01:06:26.000000000 -0800
\r
883 +++ ./sed/compile.c 2006-09-28 05:48:12.636140800 -0700
\r
884 @@ -451,9 +451,7 @@
\r
886 static int snarf_char_class P_((struct buffer *b, mbstate_t *cur_stat));
\r
888 -snarf_char_class(b, cur_stat)
\r
889 - struct buffer *b;
\r
890 - mbstate_t *cur_stat;
\r
891 +snarf_char_class(struct buffer *b, mbstate_t *cur_stat)
\r
895 @@ -531,9 +529,7 @@
\r
897 static struct buffer *match_slash P_((int slash, bool regex));
\r
898 static struct buffer *
\r
899 -match_slash(slash, regex)
\r
902 +match_slash(int slash, bool regex)
\r
906 diff -Nru ../release/sed-4.1.5/sed/Makefile.msc ./sed/Makefile.msc
\r
907 --- ../release/sed-4.1.5/sed/Makefile.msc 1969-12-31 16:00:00.000000000 -0800
\r
908 +++ ./sed/Makefile.msc 2006-09-28 19:10:19.193309600 -0700
\r
910 +SOURCES=sed.c compile.c execute.c regexp.c fmt.c mbcs.c
\r
912 +OBJECTS=$(SOURCES:.c=.obj)
\r
914 +CFLAGS=-I.. -I. -I../lib -DBOOTSTRAP -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DHAVE_CONFIG_H
\r
919 + copy sed.exe ..\..\..\bin
\r
922 + del $(OBJECTS) sed.exe *~ 2>nul
\r
924 +$(OBJECTS) : ..\config.h
\r
926 +sed.exe : $(OBJECTS)
\r
927 + link /out:sed.exe /subsystem:console /opt:ref $(OBJECTS) ..\lib\libsed.lib
\r