18 extern void memStats();
21 #define BOGUS_MD5 "wwww0001xxxx0002yyyy0004zzzz0008"
33 #if defined(PROC_TRACE) || defined(UNPACK_DEBUG)
34 traceFunc(
"== processNonPackagedFiles()\n");
45 if (!cur.regfList.
used) {
69 void stripLine(
char *textp,
int offset,
int size)
75 traceFunc(
"== stripLine(%s, %d, %d)\n", textp, offset, size);
85 printf(
"Textp %p start %p end %p\n", textp,
start, end);
86 printf(
"@START(%d): %s", strlen(
start),
start);
87 printf(
"@END+1(%d): %s", strlen(end+1), end+1);
94 printf(
"MOVE %d bytes\n", size-(end-textp));
96 (void) memmove(
start, (
char *)(end+1),
97 (
size_t)((size)-(end-textp)));
100 printf(
"FINISH: @START(%d): %s", strlen(
start),
start);
116 traceFunc(
"== processRawSource()\n");
138 traceFunc(
"== processRegularFiles()\n");
void licenseScan(list_t *licenseList)
scan the list for a license(s)
void listDump(list_t *l, int verbose)
print the passed in list
item_t * listGetItem(list_t *l, char *s)
get an item from the itemlist. If the item is not in the itemlist, then add it to the itemlist.
static void processNonPackagedFiles()
void processRegularFiles()
Process a list of regular files.
char * findBol(char *s, char *upperLimit)
Find Begin of Line in a string.
void Assert(int fatalFlag, const char *fmt,...)
Raise an assert.
char * findEol(char *s)
Find first ROL in a string.
#define NULL_STR
NULL string.
#define NULL_CHAR
NULL character.
start($application)
start the application Assumes application is restartable via /etc/init.d/<script>....