diff -r bcc8e4dca868 -r 468f75bf4d7d archivers/grp.c --- a/archivers/grp.c Thu Jul 25 17:42:21 2002 +0000 +++ b/archivers/grp.c Thu Jul 25 21:52:07 2002 +0000 @@ -501,6 +501,10 @@ static PHYSFS_sint64 GRP_getLastModTime(DirHandle *h, const char *name) { + GRPinfo *info = ((GRPinfo *) h->opaque); + if (grp_find_entry(info, name) == NULL) + return(-1); /* no such entry. */ + /* Just return the time of the GRP itself in the physical filesystem. */ return(((GRPinfo *) h->opaque)->last_mod_time); } /* GRP_getLastModTime */