1 diff -c -r -N ../mcpp-2.7.2/src/internal.H ./src/internal.H
2 *** ../mcpp-2.7.2/src/internal.H 2008-08-27 10:31:16.000000000 -0230
3 --- ./src/internal.H 2009-12-17 21:01:35.000000000 -0330
7 extern char identifier[]; /* Lastly scanned name */
8 extern IFINFO ifstack[]; /* Information of #if nesting */
9 extern char work_buf[];
10 + extern FILEINFO * sh_file;
12 /* Temporary buffer for directive line and macro expansion */
20 ! #if HOST_HAVE_STPCPY
21 extern char * stpcpy( char * dest, const char * src);
27 ! #if HOST_HAVE_STPCPY && !defined(stpcpy)
28 extern char * stpcpy( char * dest, const char * src);
30 diff -c -r -N ../mcpp-2.7.2/src/main.c ./src/main.c
31 *** ../mcpp-2.7.2/src/main.c 2008-11-05 05:04:46.000000000 -0330
32 --- ./src/main.c 2009-12-17 20:42:42.000000000 -0330
37 option_flags.trig = TRIGRAPHS_INIT;
38 option_flags.dig = DIGRAPHS_INIT;
44 diff -c -r -N ../mcpp-2.7.2/src/support.c ./src/support.c
45 *** ../mcpp-2.7.2/src/support.c 2008-06-10 06:02:33.000000000 -0230
46 --- ./src/support.c 2009-12-17 20:42:39.000000000 -0330
52 ! if (mem_buf_p->bytes_avail < length) { /* Need to allocate more memory */
53 size_t size = MAX( BUF_INCR_SIZE, length);
55 if (mem_buf_p->buffer == NULL) { /* 1st append */
60 ! if (mem_buf_p->bytes_avail < length + 1) { /* Need to allocate more memory */
61 size_t size = MAX( BUF_INCR_SIZE, length);
63 if (mem_buf_p->buffer == NULL) { /* 1st append */
68 while (*sp != '\n') /* Until end of line */
69 mcpp_fputc( *sp++, OUT);
70 + mcpp_fputc( '\n', OUT);
74 default: /* Not a comment */
75 diff -c -r -N ../mcpp-2.7.2/src/system.c ./src/system.c
76 *** ../mcpp-2.7.2/src/system.c 2008-11-26 06:23:51.000000000 -0330
77 --- ./src/system.c 2009-12-17 20:42:42.000000000 -0330
88 FILEINFO * sharp_file,
89 int flag /* Flag to append to the line for GCC */
92 * else (i.e. 'sharp_file' is NULL) 'infile'.
95 - static FILEINFO * sh_file;