remove some printf statements i forgot about
This commit is contained in:
parent
1c6917d2c4
commit
bd7c67136a
3
ar.c
3
ar.c
@ -175,7 +175,6 @@ static headerL_t *getHeaders(int srcFd, headerL_t *head, int funct)
|
||||
list = (headerL_t *) malloc(sizeof(headerL_t));
|
||||
|
||||
if (checkArMagic(srcFd)==TRUE) {
|
||||
printf("found ar header ");
|
||||
while(readArEntry(srcFd, list) == TRUE) {
|
||||
list->next = (headerL_t *) malloc(sizeof(headerL_t));
|
||||
*list->next = *head;
|
||||
@ -187,8 +186,6 @@ static headerL_t *getHeaders(int srcFd, headerL_t *head, int funct)
|
||||
lseek(srcFd, head->offset + head->size, SEEK_SET);
|
||||
}
|
||||
}
|
||||
else
|
||||
printf("not an ar header\n");
|
||||
return(head);
|
||||
}
|
||||
|
||||
|
@ -175,7 +175,6 @@ static headerL_t *getHeaders(int srcFd, headerL_t *head, int funct)
|
||||
list = (headerL_t *) malloc(sizeof(headerL_t));
|
||||
|
||||
if (checkArMagic(srcFd)==TRUE) {
|
||||
printf("found ar header ");
|
||||
while(readArEntry(srcFd, list) == TRUE) {
|
||||
list->next = (headerL_t *) malloc(sizeof(headerL_t));
|
||||
*list->next = *head;
|
||||
@ -187,8 +186,6 @@ static headerL_t *getHeaders(int srcFd, headerL_t *head, int funct)
|
||||
lseek(srcFd, head->offset + head->size, SEEK_SET);
|
||||
}
|
||||
}
|
||||
else
|
||||
printf("not an ar header\n");
|
||||
return(head);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user