Changeset 1690 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
Aug 5, 2013, 2:13:41 AM (12 years ago)
Author:
Gregg Young
Message:

Changes to fix .tar.gz list because of changes in tar 1.20 (maybe earlier). Added lzip support with ungly hack to work around its lack of a list option. Tickets 493, 494

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1689 r1690  
    885885        numarcfiles = 0;                // Request close
    886886      else if (!numarcfiles || !gotstart
    887                || (!gotend && info->endlist && *info->endlist && (stricmp(info->endlist, NO_END_OF_ARCHIVER_LIST_STRING)))) {
     887               || (!gotend && info->endlist && *info->endlist &&
     888                   (stricmp(info->endlist, NO_END_OF_ARCHIVER_LIST_STRING)))) {
    888889        // Oops
    889890        ARCDUMP ad;
     
    35993600  static USHORT idinc = 0;
    36003601
     3602
     3603  if (!strcmp(strupr(strrchr(arcname, '.') + 1), "LZ")) {
     3604      saymsg(MB_ENTER | MB_ICONASTERISK, HWND_DESKTOP, GetPString(IDS_LZIPLIMITATION),
     3605             GetPString(IDS_LZIPNOLIST));
     3606    return -1;
     3607  }
     3608
    36013609  if (!idinc)
    36023610    idinc = (rand() % 256);
Note: See TracChangeset for help on using the changeset viewer.