=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/arch.c,v retrieving revision 1.33 retrieving revision 1.34 diff -c -r1.33 -r1.34 *** src/usr.bin/make/arch.c 2000/09/14 13:46:44 1.33 --- src/usr.bin/make/arch.c 2000/09/14 13:52:41 1.34 *************** *** 1,4 **** ! /* $OpenBSD: arch.c,v 1.33 2000/09/14 13:46:44 espie Exp $ */ /* $NetBSD: arch.c,v 1.17 1996/11/06 17:58:59 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: arch.c,v 1.34 2000/09/14 13:52:41 espie Exp $ */ /* $NetBSD: arch.c,v 1.17 1996/11/06 17:58:59 christos Exp $ */ /* *************** *** 109,115 **** static char sccsid[] = "@(#)arch.c 8.2 (Berkeley) 1/2/94"; #else UNUSED ! static char rcsid[] = "$OpenBSD: arch.c,v 1.33 2000/09/14 13:46:44 espie Exp $"; #endif #endif /* not lint */ --- 109,115 ---- static char sccsid[] = "@(#)arch.c 8.2 (Berkeley) 1/2/94"; #else UNUSED ! static char rcsid[] = "$OpenBSD: arch.c,v 1.34 2000/09/14 13:52:41 espie Exp $"; #endif #endif /* not lint */ *************** *** 998,1012 **** * Return the modification time of a member of an archive. * * Results: ! * TRUE if found. * * Side Effects: * The mtime field of the given node is filled in with the value * returned by the function. - * *----------------------------------------------------------------------- */ ! Boolean Arch_MTime (gn) GNode *gn; /* Node describing archive member */ { --- 998,1011 ---- * Return the modification time of a member of an archive. * * Results: ! * The modification time (seconds). * * Side Effects: * The mtime field of the given node is filled in with the value * returned by the function. *----------------------------------------------------------------------- */ ! TIMESTAMP Arch_MTime (gn) GNode *gn; /* Node describing archive member */ { *************** *** 1015,1027 **** arhPtr = ArchStatMember(Varq_Value(ARCHIVE_INDEX, gn), Varq_Value(MEMBER_INDEX, gn), TRUE); ! if (arhPtr != NULL) { gn->mtime = (time_t) strtol(arhPtr->ar_date, NULL, 10); ! return TRUE; ! } else { gn->mtime = OUT_OF_DATE; ! return FALSE; ! } } /*- --- 1014,1024 ---- arhPtr = ArchStatMember(Varq_Value(ARCHIVE_INDEX, gn), Varq_Value(MEMBER_INDEX, gn), TRUE); ! if (arhPtr != NULL) gn->mtime = (time_t) strtol(arhPtr->ar_date, NULL, 10); ! else gn->mtime = OUT_OF_DATE; ! return gn->mtime; } /*-