Changeset 1311
- Timestamp:
- Dec 2, 2008, 3:25:50 PM (17 years ago)
- Location:
- trunk/dll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/arccnrs.c
r1307 r1311 66 66 30 Nov 08 GKY Add the option of creating a subdirectory from the arcname 67 67 for the extract path to arc container. 68 02 Dec 08 JBS Ticket 284: Changed string indicating no Start/End of list strings. 68 69 69 70 ***********************************************************************/ … … 148 149 #define CON_COLS 6 149 150 #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 151 153 152 154 #pragma data_seg(DATA1) … … 678 680 gotstart = !info->startlist || // If list has no start marker 679 681 !*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); 684 683 685 684 while (!feof(fp) && !gotend && !*pStopFlag) { … … 860 859 numarcfiles = 0; // Request close 861 860 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)))) { 863 862 // Oops 864 863 ARCDUMP ad; -
trunk/dll/ipf/config.ipf
r1269 r1311 170 170 :li.the names of the programs are entered correctly. 171 171 :li.the command syntax is correct and does not prompt for further input. 172 :li.the start and end of list strings , if any,are correct.172 :li.the start and end of list strings are correct. 173 173 :li.the signature and signature position, if any, are correct. 174 174 :eol. … … 367 367 :hp2.<<:ehp2. button to insert a selected line directly from the listbox 368 368 into this field. 369 :p. 370 Here's an example of an ARC listing (5.12mpl, command "ARC l"; you may 369 :note.A few archivers, like TAR, do not have Start-of-list and/or End-of-list strings. 370 For these archivers use the string&colon. 371 .br 372 :lm margin=5.:color fc=blue.None:color fc=default.:lm margin=1. 373 .br 374 for the Start-of-list and/or End-of-list strings. 375 :p. 376 Here's an example of a listing of a ZIP file. You may 371 377 need to widen the help windows for this to look right...)&colon. 372 378 :xmp. 373 Name Length Date 374 ============ ======== ========= <--this line is start-of-list 375 MAKEFILE 374 28 Nov 89 376 QSORT.C 14279 29 Nov 89 377 QSORT.EXE 24629 29 Nov 89 378 STUFF.H 371 29 Nov 89 379 ==== ======== <--this line is end-of-list 380 Total 4 39653 379 Length Method Size Ratio Date Time CRC-32 Name 380 -------- ------ ------- ----- ---- ---- ------ ---- <-- Start-of-list 381 2201 Defl&colon.N 978 56% 09-13-08 02&colon.54 f85e9c1b fm3.c 382 405 Defl&colon.N 283 30% 11-22-08 23&colon.47 718f2fa2 fm3.def 383 192744 Defl&colon.N 61541 68% 12-02-08 04&colon.15 2b72b37b fm3.exe 384 176 Defl&colon.N 129 27% 11-30-08 21&colon.59 5db66032 FM3.INI 385 171 Defl&colon.N 122 29% 12-02-08 04&colon.15 3d2bc616 fm3.lrf 386 14680 Defl&colon.N 2366 84% 12-02-08 04&colon.15 a9fee027 fm3.map 387 3276 Defl&colon.N 1951 40% 11-30-08 15&colon.15 35c6c7ac fm3.obj 388 6237 Defl&colon.N 1553 75% 11-18-08 05&colon.43 6ed9c658 fm3.rc 389 198905 Defl&colon.N 56365 72% 11-22-08 23&colon.05 1e982a85 fm3.res 390 -------- ------- --- ------- <-- End-of-list 391 418795 125288 70% 9 files 381 392 :exmp. 382 :p. 383 Note the filename is in position 0, old length in position 1, and the 384 date starts in position 2, with 3 parts, and there's no new length 385 field (so it'd be -1). Compare that to the archiver entry for 386 ARC 5.12mpl in the "stock" ARCHIVER.BB2 and you should get a feel for 387 what all those fields mean. 393 This listing "parsed" into FM/2 archiver details fields&colon. 394 :table cols='15 10 50' rules=vert frame=rules. 395 :row. 396 :c.FM/2 Archiver detail field 397 :c.Value 398 :c.Notes 399 :row. 400 :c.FName Pos 401 :c.7,1,0,0 402 :c.7&colon. The filename starts in field 7 (start counting from 0!) 403 :row. 404 :c. 405 :c. 406 :c.1&colon. If there are spaces in the filename, it extends to the end of the line 407 :row. 408 :c. 409 :c. 410 :c.0&colon. No special bracketing characters 411 :row. 412 :c. 413 :c. 414 :c.0&colon. The listing does not use two lines per file. 415 :row. 416 :c.OldSz Pos 417 :c.0 418 :c.The uncompressed size of the file is in field 0. 419 :row. 420 :c.NumDateFlds 421 :c.2 422 :c.The date and time consume 2 fields. 423 :row. 424 :c.Date Pos 425 :c.4,1 426 :c.The date/time data starts in field 2 and the format is mm-dd-yy hh&colon.ss. 427 :row. 428 :c.NewSz Pos 429 :c.2 430 :c.The compressed size of the file is in field 2. 431 :etable. 388 432 389 433 :h4 res=100130 name=PANEL_ARCBB2.ARCHIVER.BB2 Structure
Note:
See TracChangeset
for help on using the changeset viewer.