Archive-Unzip-Burst

 view release on metacpan or  search on metacpan

ppport.h  view on Meta::CPAN

The default namespace is C<DPPP_>.

=back

The good thing is that most of the above can be checked by running
F<ppport.h> on your source code. See the next section for
details.

=head1 EXAMPLES

To verify whether F<ppport.h> is needed for your module, whether you
should make any changes to your code, and whether any special defines
should be used, F<ppport.h> can be run as a Perl script to check your
source code. Simply say:

    perl ppport.h

The result will usually be a list of patches suggesting changes
that should at least be acceptable, if not necessarily the most
efficient solution, or a fix for all possible problems.

unzip-6.0/amiga/smakefile  view on Meta::CPAN

# For a list of all valid non-standard compilation options see the INSTALL
# file in the root zip tree. Please read the notes there before using the
# non-standard options.
#
# e.g.: To use the non-standard timezone environment variable "INFOZIP_TZ"
#	(or another arbitary name) instead of "TZ", type in your shell:
#
#	Setenv LOCAL_UNZIP "-DTZ_ENVVAR=*"INFOZIP_TZ*""
#
# Note that you need to escape the quotes of INFOZIP_TZ with leading stars.
# To verify that LOCAL_UNZIP has been saved correctly, use the Getenv command:
#
#	Getenv LOCAL_UNZIP
#
# ...should display:
#
#	-DTZ_ENVVAR="INFOZIP_TZ"
#

local_unzip:
        @Execute < < (Local_UnZip_smk.tmp)

unzip-6.0/bzip2/buildbz2.com  view on Meta::CPAN

$!
$!             $ LOCAL_BZIP2 = "RETURN_CODES"
$!             $ @ []BUILDBZ2.COM
$!
$!     If you edit this procedure to set LOCAL_BZIP2 here, be sure to
$!     use only one "=", to avoid affecting other procedures.
$!
$!
$ on error then goto error
$ on control_y then goto error
$ OLD_VERIFY = f$verify(0)
$!
$ edit := edit                  ! override customized edit commands
$ say := write sys$output
$!
$!##################### Read settings from environment ########################
$!
$ if (f$type(LOCAL_BZIP2) .eqs. "")
$ then
$     local_bzip2 = ""
$ else  ! Trim blanks and append comma if missing

unzip-6.0/bzip2/buildbz2.com  view on Meta::CPAN

$! Define compiler command.
$!
$     cc = cc + " /include = ([])" + LISTING + CCOPTS
$!
$! Show interesting facts.
$!
$ say "   architecture = ''arch' (destination = [.''dest'])"
$ say "   cc = ''cc'"
$ say ""
$!
$ tmp = f$verify( 1)    ! Turn echo on to see what's happening.
$!
$!------------------------------- BZip2 section ------------------------------
$!
$! Compile the sources.
$!
$     cc 'DEF_NS' /object = [.'dest']blocksort.OBJ blocksort.c
$     cc 'DEF_NS' /object = [.'dest']huffman.OBJ huffman.c
$     cc 'DEF_NS' /object = [.'dest']crctable.OBJ crctable.c
$     cc 'DEF_NS' /object = [.'dest']randtable.OBJ randtable.c
$     cc 'DEF_NS' /object = [.'dest']compress.OBJ compress.c

unzip-6.0/bzip2/buildbz2.com  view on Meta::CPAN

$     libr /object /replace [.'dest']LIBBZ2_NS.OLB -
       [.'dest']blocksort.OBJ, -
       [.'dest']huffman.OBJ, -
       [.'dest']crctable.OBJ, -
       [.'dest']randtable.OBJ, -
       [.'dest']compress.OBJ, -
       [.'dest']decompress.OBJ, -
       [.'dest']bzlib.OBJ
$!
$! Restore the original default directory, deassign the temporary
$! logical names, and restore the DCL verify status.
$!
$ error:
$!
$ if (f$type(here) .nes. "")
$ then
$     if (here .nes. "")
$     then
$         set default 'here'
$     endif
$ endif
$!
$ if (f$type(OLD_VERIFY) .nes. "")
$ then
$     tmp = f$verify(OLD_VERIFY)
$ endif
$!
$ exit
$!

unzip-6.0/macos/UnZpPrj.xml  view on Meta::CPAN

<?xml version="1.0"?>
<?codewarrior exportversion="1.0" ideversion="4.0"?>
<!DOCTYPE PROJECT [

<!ELEMENT PROJECT (TARGETLIST, TARGETORDER, GROUPLIST, DESIGNLIST?)>
<!ELEMENT TARGETLIST (TARGET+)>
<!ELEMENT TARGET (NAME, SETTINGLIST, FILELIST?, LINKO...

unzip-6.0/proginfo/extrafld.txt  view on Meta::CPAN

          Version       Byte        version of this extra field, currently 1
          NameCRC32     Long        CRC-32 checksum of standard name field
          UnicodeName   variable    UTF-8 version of the entry file name

          Currently Version is set to the number 1.  If there is a need
          to change this field, the version will be incremented.  Changes
          may not be backward compatible so this extra field should not be
          used if the version is not recognized.

          The NameCRC32 is the standard zip CRC32 checksum of the File Name
          field in the header.  This is used to verify that the header
          File Name field has not changed since the Unicode Path extra field
          was created.  This can happen if a utility renames the entry but
          does not update the UTF-8 path extra field.  If the CRC check fails,
          this UTF-8 Path Extra Field should be ignored and the File Name field
          in the header should be used instead.

          The UnicodeName is the UTF-8 version of the contents of the File
          Name field in the header, without any trailing NUL.  The standard
          name field in the Zip entry header remains filled with the entry
          name coded in the local machine's extended ASCII system charset.

unzip-6.0/proginfo/extrafld.txt  view on Meta::CPAN

          Version       1 byte      version of this extra field, currently 1
          ComCRC32      4 bytes     Comment Field CRC32 Checksum
          UnicodeCom    Variable    UTF-8 version of the entry comment

          Currently Version is set to the number 1.  If there is a need
          to change this field, the version will be incremented.  Changes
          may not be backward compatible so this extra field should not be
          used if the version is not recognized.

          The ComCRC32 is the standard zip CRC32 checksum of the Comment
          field in the central directory header.  This is used to verify that
          the comment field has not changed since the Unicode Comment extra
          field was created.  This can happen if a utility changes the Comment
          field but does not update the UTF-8 Comment extra field.  If the CRC
          check fails, this Unicode Comment extra field should be ignored and
          the Comment field in the header used.

          The UnicodeCom field is the UTF-8 version of the entry comment field
          in the header.  As UnicodeCom is defined to be UTF-8, no UTF-8 byte
          order mark (BOM) is used.  The length of this field is determined by
          subtracting the size of the previous fields from TSize.  If both the

unzip-6.0/vms/build_unzip.com  view on Meta::CPAN

$!     Note: This command procedure always generates both the "default"
$!     UnZip having the UNIX style command interface and the "VMSCLI"
$!     UnZip having the CLI compatible command interface.  There is no
$!     need to add "VMSCLI" to the LOCAL_UNZIP symbol.  (The only effect
$!     of "VMSCLI" now is the selection of the CLI style UnZip
$!     executable in the foreign command definition.)
$!
$!
$ on error then goto error
$ on control_y then goto error
$ OLD_VERIFY = f$verify( 0)
$!
$ edit := edit                  ! override customized edit commands
$ say := write sys$output
$!
$!##################### Read settings from environment ########################
$!
$ if (f$type( LOCAL_UNZIP) .eqs. "")
$ then
$     LOCAL_UNZIP = ""
$ else  ! Trim blanks and append comma if missing

unzip-6.0/vms/build_unzip.com  view on Meta::CPAN

$ if (.not. MAKE_HELP)
$ then
$     say "   Not making new help files."
$ endif
$ if (.not. MAKE_MSG)
$ then
$     say "   Not making new message files."
$ endif
$ say ""
$!
$ tmp = f$verify( 1)    ! Turn echo on to see what's happening.
$!
$!------------------------------- UnZip section ------------------------------
$!
$ if (.not. LINK_ONLY)
$ then
$!
$! Process the help file, if desired.
$!
$     if (MAKE_HELP)
$     then

unzip-6.0/vms/build_unzip.com  view on Meta::CPAN

$!
$ there = here- "]"+ ".''dest']"
$!
$! Define the foreign command symbols.  Similar commands may be useful
$! in SYS$MANAGER:SYLOGIN.COM and/or users' LOGIN.COM.
$!
$ unzip   == "$''there'''unzexec'.EXE"
$ zipinfo == "$''there'''unzexec'.EXE ""-Z"""
$!
$! Deassign the temporary process logical names, restore the original
$! default directory, and restore the DCL verify status.
$!
$ error:
$!
$ if (IZ_BZIP2 .nes. "")
$ then
$     if (f$trnlnm( "incl_bzip2", "LNM$PROCESS_TABLE") .nes. "")
$     then
$         deassign incl_bzip2
$     endif
$     if (f$trnlnm( "lib_bzip2", "LNM$PROCESS_TABLE") .nes. "")

unzip-6.0/vms/build_unzip.com  view on Meta::CPAN

$ if (f$type( here) .nes. "")
$ then
$     if (here .nes. "")
$     then
$         set default 'here'
$     endif
$ endif
$!
$ if (f$type( OLD_VERIFY) .nes. "")
$ then
$     tmp = f$verify( OLD_VERIFY)
$ endif
$!
$ exit
$!

unzip-6.0/win32/nt.c  view on Meta::CPAN

    PSECURITY_DESCRIPTOR sd = (PSECURITY_DESCRIPTOR)securitydata;
    PACL pAcl;
    PSID pSid;
    BOOL bAclPresent;
    BOOL bDefaulted;

    if(!IsWinNT()) return TRUE; /* don't do anything if not on WinNT */

    if(!IsValidSecurityDescriptor(sd)) return FALSE;

    /* verify Dacl integrity */

    if(!GetSecurityDescriptorDacl(sd, &bAclPresent, &pAcl, &bDefaulted))
        return FALSE;

    if(bAclPresent && pAcl!=NULL) {
        if(!IsValidAcl(pAcl)) return FALSE;
    }

    /* verify Sacl integrity */

    if(!GetSecurityDescriptorSacl(sd, &bAclPresent, &pAcl, &bDefaulted))
        return FALSE;

    if(bAclPresent && pAcl!=NULL) {
        if(!IsValidAcl(pAcl)) return FALSE;
    }

    /* verify owner integrity */

    if(!GetSecurityDescriptorOwner(sd, &pSid, &bDefaulted))
        return FALSE;

    if(pSid != NULL) {
        if(!IsValidSid(pSid)) return FALSE;
    }

    /* verify group integrity */

    if(!GetSecurityDescriptorGroup(sd, &pSid, &bDefaulted))
        return FALSE;

    if(pSid != NULL) {
        if(!IsValidSid(pSid)) return FALSE;
    }

    return TRUE;
}

unzip-6.0/wince/intrface.cpp  view on Meta::CPAN

   if ((length > 0) && (szDirectory[length - 1] == TEXT('\\'))) {
      szDirectory[--length] = TEXT('\0');
      fNeedToAddWack = TRUE;
   }

#ifndef _WIN32_WCE

   // Check to see if a root directory was specified.
   if ((length == 2) && isalpha(szDirectory[0]) && (szDirectory[1] == ':')) {

      // If just a root is specified, we need to only verify the drive letter.
      if (!(GetLogicalDrives() & (1 << (tolower(szDirectory[0]) - (int)'a')))) {

         // This drive does not exist.  Bail out with a failure.
         return FALSE;
      }

   } else

#endif

   // We only verify path if length is >0 since we know "\" is valid.
   if (length > 0) {

      // Verify the the path exists and that it is a directory.
      if (IsFileOrDirectory(szDirectory) != 2) {
         return FALSE;
      }
   }

   // Store the directory for when we do an extract.
   TSTRTOMBS(g_szExtractToDirectory, szDirectory, countof(g_szExtractToDirectory));

unzip-6.0/wince/punzip.htp  view on Meta::CPAN

<p>Once the extraction is complete, the <strong>Abort</strong>
button will change to a <strong>Close</strong> button and any
errors or warnings will be displayed. Tap the <strong>Close</strong>
button to return to Pocket UnZip's main screen.</p>

<hr>
<h3>Testing Files</h3>

<p>Testing files is essentially the same as extracting files,
except for that the actual extracted data is never written to
your file system. Testing files is useful when you wish to verify
the integrity of a Zip file without actually extracting the files
within it.</p>

<p>Once you have opened a Zip file into Pocket UnZip, you should
see a list of the Zip file's contents. Select one or more files
from the file list and then choose <strong>Test Selected Files</strong>
(<strong>Ctrl+T</strong>) or <strong>Test All Files</strong> (<strong>Ctrl+A</strong>,
<strong>Ctrl+T</strong>) from the <strong>Action</strong> menu. You may
also use the noted shortcut keys or the associated toolbar
buttons.</p>



( run in 2.387 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )