strings.c (chkrootkit-0.51) | : | strings.c (chkrootkit-0.52) | ||
---|---|---|---|---|
skipping to change at line 21 | skipping to change at line 21 | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <strings.h> | #include <strings.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <sys/stat.h> | #include <sys/stat.h> | |||
#include <ctype.h> | #include <ctype.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#ifdef __FreeBSD__ | #ifdef __FreeBSD__ | |||
#include <string.h> | #include <string.h> | |||
#endif | #endif | |||
#ifdef __linux__ | ||||
#include <string.h> | ||||
#endif | ||||
#define MAXFILESIZE (4*1024*1024) | #define MAXFILESIZE (4*1024*1024) | |||
/* | /* | |||
* Many options here. The current choice produces a little more output | * Many options here. The current choice produces a little more output | |||
* than gnu strings | * than gnu strings | |||
*/ | */ | |||
/* | /* | |||
* Try to get the filesize via stat, and get a buffer to match | * Try to get the filesize via stat, and get a buffer to match | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added |