sumversion.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | sumversion.c (9fc347678dde73abd75bce81d5dd82c4f4505184) |
---|---|
1#include <netinet/in.h> 2#ifdef __sun__ 3#include <inttypes.h> 4#else 5#include <stdint.h> 6#endif 7#include <ctype.h> 8#include <errno.h> --- 316 unchanged lines hidden (view full) --- 325 dir[dirlen] = '\0'; 326 327 file = grab_file(cmd, &flen); 328 if (!file) { 329 warn("could not find %s for %s\n", cmd, objfile); 330 goto out; 331 } 332 | 1#include <netinet/in.h> 2#ifdef __sun__ 3#include <inttypes.h> 4#else 5#include <stdint.h> 6#endif 7#include <ctype.h> 8#include <errno.h> --- 316 unchanged lines hidden (view full) --- 325 dir[dirlen] = '\0'; 326 327 file = grab_file(cmd, &flen); 328 if (!file) { 329 warn("could not find %s for %s\n", cmd, objfile); 330 goto out; 331 } 332 |
333 /* There will be a line like so: 334 deps_drivers/net/dummy.o := \ 335 drivers/net/dummy.c \ 336 $(wildcard include/config/net/fastroute.h) \ 337 include/linux/module.h \ 338 339 Sum all files in the same dir or subdirs. 340 */ | 333 /* Sum all files in the same dir or subdirs. */ |
341 while ((line = get_next_line(&pos, file, flen)) != NULL) { 342 char* p = line; 343 344 if (strncmp(line, "source_", sizeof("source_")-1) == 0) { 345 p = strrchr(line, ' '); 346 if (!p) { 347 warn("malformed line: %s\n", line); 348 goto out_file; --- 171 unchanged lines hidden --- | 334 while ((line = get_next_line(&pos, file, flen)) != NULL) { 335 char* p = line; 336 337 if (strncmp(line, "source_", sizeof("source_")-1) == 0) { 338 p = strrchr(line, ' '); 339 if (!p) { 340 warn("malformed line: %s\n", line); 341 goto out_file; --- 171 unchanged lines hidden --- |