archivers/grp.c
changeset 393 468f75bf4d7d
parent 370 da631e118455
child 399 02dd53688315
equal deleted inserted replaced
392:bcc8e4dca868 393:468f75bf4d7d
   499 } /* GRP_isSymLink */
   499 } /* GRP_isSymLink */
   500 
   500 
   501 
   501 
   502 static PHYSFS_sint64 GRP_getLastModTime(DirHandle *h, const char *name)
   502 static PHYSFS_sint64 GRP_getLastModTime(DirHandle *h, const char *name)
   503 {
   503 {
       
   504     GRPinfo *info = ((GRPinfo *) h->opaque);
       
   505     if (grp_find_entry(info, name) == NULL)
       
   506         return(-1);  /* no such entry. */
       
   507 
   504     /* Just return the time of the GRP itself in the physical filesystem. */
   508     /* Just return the time of the GRP itself in the physical filesystem. */
   505     return(((GRPinfo *) h->opaque)->last_mod_time);
   509     return(((GRPinfo *) h->opaque)->last_mod_time);
   506 } /* GRP_getLastModTime */
   510 } /* GRP_getLastModTime */
   507 
   511 
   508 
   512