home *** CD-ROM | disk | FTP | other *** search
- Patches to upgrade from Stuff 1.0 to Stuff 1.1
- (see "readme.too" for details).
-
- *** ../dopath.c Wed Sep 21 23:13:06 1988
- --- dopath.c Mon Oct 24 12:30:26 1988
- ***************
- *** 29,34
- int select = 0;
- int exclude = 0;
- int have_condition = 0;
- request_rec *p_opt;
-
- strlwr (pathname);
-
- --- 29,36 -----
- int select = 0;
- int exclude = 0;
- int have_condition = 0;
- + int name_condition = 0;
- + int name_select = 0;
- request_rec *p_opt;
-
- strlwr (pathname);
- ***************
- *** 49,60
- } else {
- matched = matchstr (pathname, p
- _opt->info.name);
- }
- ! if (p_opt->negate && matched ||
- ! !p_opt->negate && !matched) {
- ! exclude = 1;
- ! goto done;
- ! } else
- ! select = 1;
- break;
- }
- case MTIME: {
-
- --- 51,67 -----
- } else {
- matched = matchstr (pathname, p
- _opt->info.name);
- }
- ! if (p_opt->negate) {
- ! if (matched) {
- ! exclude = 1;
- ! goto done;
- ! } else
- ! select = 1;
- ! } else {
- ! name_condition = 1;
- ! if (matched)
- ! name_select = 1;
- ! }
- break;
- }
- case MTIME: {
- ***************
- *** 141,147
- have_condition, exclude, select);
- #endif
-
- ! if (have_condition && select && !exclude || !have_condition)
- {
- #ifdef UNBUF_IO
- infomsg (pathname);
-
- --- 148,156 -----
- have_condition, exclude, select);
- #endif
-
- ! if (!have_condition ||
- ! have_condition && name_condition && name_select && !exclude ||
- ! have_condition && !name_condition && select && !exclude)
- {
- #ifdef UNBUF_IO
- infomsg (pathname);
-