More strict checks...

This commit is contained in:
Manoel Trapier
2013-03-18 18:58:21 +01:00
committed by Manoël Trapier
parent a8d9183e25
commit 2bbd5a38de
87 changed files with 473 additions and 537 deletions

View File

@@ -6,8 +6,6 @@
/* Made into arch/aal by Ceriel Jacobs
*/
static char RcsId[] = "$Id$";
/*
* Usage: [arch|aal] [qdprtx][vlcu] archive [file] ...
* v: verbose
@@ -35,6 +33,13 @@ static char RcsId[] = "$Id$";
#include <arch.h>
#include <ranlib.h>
#include <unistd.h>
#include <fcntl.h>
#include "system.h"
#include "print.h"
#include "object.h"
#include <missing_proto.h>
#ifdef AAL
#include <out.h>
#define MAGIC_NUMBER AALMAG
@@ -458,7 +463,7 @@ void add(char *name, int fd, char *mess)
return;
}
else if (u_fl && status.st_mtime <= member.ar_date) {
wr_arhdr(fd, member);
wr_arhdr(fd, &member);
copy_member(&member, ar_fd, fd, 0);
return;
}