Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/scripts/kconfig/lex.zconf.c_shipped
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/scripts/kconfig/lex.zconf.c_shipped
r1765 r2725 785 785 { 786 786 int new_size = text_size + size + 1; 787 if (size > 70) { 788 fprintf (stderr, "%s:%d error: Overlong line\n", 789 current_file->name, current_file->lineno); 790 } 791 787 792 if (new_size > text_asize) { 788 793 new_size += START_STRSIZE - 1; … … 842 847 static int yy_flex_strlen (yyconst char * ); 843 848 #endif 849 850 //bbox: suppressing "defined but not used" warning 851 #define YY_NO_INPUT 1 844 852 845 853 #ifndef YY_NO_INPUT … … 2228 2236 FILE *zconf_fopen(const char *name) 2229 2237 { 2230 char *env , fullname[PATH_MAX+1];2238 char *env; 2231 2239 FILE *f; 2232 2240 … … 2235 2243 env = getenv(SRCTREE); 2236 2244 if (env) { 2245 char *fullname = alloca(strlen(env) + strlen(name) + 2); 2237 2246 sprintf(fullname, "%s/%s", env, name); 2238 2247 f = fopen(fullname, "r"); … … 2315 2324 return current_pos.file ? current_pos.file->name : "<none>"; 2316 2325 } 2317
Note:
See TracChangeset
for help on using the changeset viewer.