Changeset 1311 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
Dec 2, 2008, 3:25:50 PM (17 years ago)
Author:
John Small
Message:

Ticket 284: Changed the no-start/end-of-list string to "None" and updated the documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1307 r1311  
    6666  30 Nov 08 GKY Add the option of creating a subdirectory from the arcname
    6767                for the extract path to arc container.
     68  02 Dec 08 JBS Ticket 284: Changed string indicating no Start/End of list strings.
    6869
    6970***********************************************************************/
     
    148149#define CON_COLS                6
    149150#define EXTRA_ARCRECORD_BYTES   (sizeof(ARCITEM) - sizeof(MINIRECORDCORE))
    150 
     151#define NO_START_OF_ARCHIVER_LIST_STRING "None"
     152#define NO_END_OF_ARCHIVER_LIST_STRING   NO_START_OF_ARCHIVER_LIST_STRING
    151153
    152154#pragma data_seg(DATA1)
     
    678680      gotstart = !info->startlist ||            // If list has no start marker
    679681                 !*info->startlist ||
    680                  (stricmp(info->startlist, "*#* None *#*") == 0);
    681 //       gotend =   !info->endlist ||
    682 //                       !*info->endlist ||     // If list has no end marker
    683 //                       (stricmp(info->endlist, "*#* None *#*") == 0);
     682                 (stricmp(info->startlist, NO_START_OF_ARCHIVER_LIST_STRING) == 0);
    684683
    685684      while (!feof(fp) && !gotend && !*pStopFlag) {
     
    860859        numarcfiles = 0;                // Request close
    861860      else if (!numarcfiles || !gotstart
    862                || (!gotend && info->endlist && *info->endlist && (stricmp(info->endlist, "*#* None *#*")))) {
     861               || (!gotend && info->endlist && *info->endlist && (stricmp(info->endlist, NO_END_OF_ARCHIVER_LIST_STRING)))) {
    863862        // Oops
    864863        ARCDUMP ad;
Note: See TracChangeset for help on using the changeset viewer.