clean_fname(thisname);
+ if (relative_paths && thisname[0] == '/') {
+ /* strip / off absolute paths in destination */
+ memmove(thisname, thisname+1, strlen(thisname));
+ if (!thisname[0]) strcpy(thisname,".");
+ }
+
if ((p = strrchr(thisname,'/'))) {
static char *lastdir;
*p = 0;
file->modtime = st.st_mtime;
file->length = st.st_size;
-#if TRIDGE
- if (st.st_size == 71036)
- file->length += 7000;
-#endif
file->mode = st.st_mode;
file->uid = st.st_uid;
file->gid = st.st_gid;