+6
-1
scripts/mod/sumversion.c
+6
-1
scripts/mod/sumversion.c
···
326
326
327
327
/* Sum all files in the same dir or subdirs. */
328
328
while ((line = get_line(&pos))) {
329
-
char* p = line;
329
+
char* p;
330
+
331
+
/* trim the leading spaces away */
332
+
while (isspace(*line))
333
+
line++;
334
+
p = line;
330
335
331
336
if (strncmp(line, "source_", sizeof("source_")-1) == 0) {
332
337
p = strrchr(line, ' ');