Diff of /trunk/mkinitrd-magellan/busybox/scripts/kconfig/zconf.l
Parent Directory | Revision Log | Patch
revision 815 by niro, Sat Sep 1 22:45:15 2007 UTC | revision 816 by niro, Fri Apr 24 18:33:46 2009 UTC | |
---|---|---|
# | Line 49 void new_string(void) | Line 49 void new_string(void) |
49 | void append_string(const char *str, int size) | void append_string(const char *str, int size) |
50 | { | { |
51 | int new_size = text_size + size + 1; | int new_size = text_size + size + 1; |
52 | if (size > 70) { | |
53 | fprintf (stderr, "%s:%d error: Overlong line\n", | |
54 | current_file->name, current_file->lineno); | |
55 | } | |
56 | if (new_size > text_asize) { | if (new_size > text_asize) { |
57 | new_size += START_STRSIZE - 1; | new_size += START_STRSIZE - 1; |
58 | new_size &= -START_STRSIZE; | new_size &= -START_STRSIZE; |
|