static void adjust_dirinfo();
#ifdef HAVE_LIBAPPLEFILE
-static boolean decode_macbinary(FILE *ofp, size_t size, const char *outPath);
+static boolean decode_macbinary(FILE *ofp, off_t size, const char *outPath);
#endif
/* ------------------------------------------------------------------------ */
}
}
- if (skip_flg == TRUE) { /* if skip_flg */
+ if (skip_flg == TRUE) {
if (stat(name, &stbuf) == 0 && force != TRUE) {
- if (stbuf.st_mtime >= hdr->unix_last_modified_stamp) {
- if (quiet != TRUE)
- printf("%s : Skipped...\n", name);
- return read_size;
- }
+ if (quiet != TRUE)
+ printf("%s : Skipped...\n", name);
+ return read_size;
}
}
if (noexec) {
if (up_flag == FALSE && force == FALSE) {
return read_size;
}
- } else {
+ }
+
+ if (skip_flg == TRUE) {
if (GETSTAT(name, &stbuf) == 0 && force != TRUE) {
- if (stbuf.st_mtime >= hdr->unix_last_modified_stamp) {
- if (quiet != TRUE)
- printf("%s : Skipped...\n", name);
- return read_size;
- }
+ if (quiet != TRUE)
+ printf("%s : Skipped...\n", name);
+ return read_size;
}
}
af_file_t *afp = NULL;
FILE *ifp = NULL;
unsigned char *datap;
- off_t dlen;
+ size_t dlen;
if ((afp = af_open(temporary_name)) != NULL) {
/* fetch datafork */