Changeset 745 for trunk/server/lib/zlib


Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/lib/zlib/contrib/ada/zlib-streams.ads

    r414 r745  
    3232   --  Flush the written data to the back stream,
    3333   --  all data placed to the compressor is flushing to the Back stream.
    34    --  Should not be used untill necessary, becouse it is decreasing
     34   --  Should not be used untill necessary, because it is decreasing
    3535   --  compression.
    3636
     
    9898      --  Buffer for Read operation.
    9999      --  We need to have this buffer in the record
    100       --  becouse not all read data from back stream
     100      --  because not all read data from back stream
    101101      --  could be processed during the read operation.
    102102
     
    104104      --  Buffer size for write operation.
    105105      --  We do not need to have this buffer
    106       --  in the record becouse all data could be
     106      --  in the record because all data could be
    107107      --  processed in the write operation.
    108108
  • trunk/server/lib/zlib/contrib/ada/zlib-thin.ads

    r414 r745  
    437437   pragma Import (C, inflateBackInit, "inflateBackInit_");
    438438
    439    --  I stopped binding the inflateBack routines, becouse realize that
     439   --  I stopped binding the inflateBack routines, because realize that
    440440   --  it does not support zlib and gzip headers for now, and have no
    441441   --  symmetric deflateBack routines.
  • trunk/server/lib/zlib/contrib/minizip/miniunz.c

    r414 r745  
    537537
    538538        strncpy(filename_try, zipfilename,MAXFILENAME-1);
    539         /* strncpy doesnt append the trailing NULL, of the string is too long. */
     539        /* strncpy doesn't append the trailing NULL, if the string is too long. */
    540540        filename_try[ MAXFILENAME ] = '\0';
    541541
  • trunk/server/lib/zlib/contrib/minizip/minizip.c

    r414 r745  
    7878
    7979    strncpy(name, f,MAXFILENAME-1);
    80     /* strncpy doesnt append the trailing NULL, of the string is too long. */
     80    /* strncpy doesn't append the trailing NULL, if the string is too long. */
    8181    name[ MAXFILENAME ] = '\0';
    8282
     
    254254        zipok = 1 ;
    255255        strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1);
    256         /* strncpy doesnt append the trailing NULL, of the string is too long. */
     256        /* strncpy doesn't append the trailing NULL, if the string is too long. */
    257257        filename_try[ MAXFILENAME ] = '\0';
    258258
  • trunk/server/lib/zlib/contrib/minizip/unzip.c

    r414 r745  
    160160     Read a byte from a gz_stream; update next_in and avail_in. Return EOF
    161161   for end of file.
    162    IN assertion: the stream s has been sucessfully opened for reading.
     162   IN assertion: the stream s has been successfully opened for reading.
    163163*/
    164164
     
    296296/*
    297297   Compare two filename (fileName1,fileName2).
    298    If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp)
    299    If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi
     298   If iCaseSensitivity = 1, comparison is case sensitive (like strcmp)
     299   If iCaseSensitivity = 2, comparison is not case sensitive (like strcmpi
    300300                                                                or strcasecmp)
    301    If iCaseSenisivity = 0, case sensitivity is defaut of your operating system
     301   If iCaseSensitivity = 0, case sensitivity is default of your operating system
    302302        (like 1 on Unix, 2 on Windows)
    303303
  • trunk/server/lib/zlib/contrib/minizip/unzip.h

    r414 r745  
    125125/*
    126126   Compare two filename (fileName1,fileName2).
    127    If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp)
    128    If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi
     127   If iCaseSensitivity = 1, comparison is case sensitive (like strcmp)
     128   If iCaseSensitivity = 2, comparison is not case sensitive (like strcmpi
    129129                                or strcasecmp)
    130    If iCaseSenisivity = 0, case sensitivity is defaut of your operating system
     130   If iCaseSensitivity = 0, case sensitivity is default of your operating system
    131131    (like 1 on Unix, 2 on Windows)
    132132*/
  • trunk/server/lib/zlib/contrib/minizip/zip.c

    r414 r745  
    100100  uLong  avail_in_this_block;
    101101  uLong  filled_in_this_block;
    102   uLong  unused; /* for future use and alignement */
     102  uLong  unused; /* for future use and alignment */
    103103  unsigned char data[SIZEDATA_INDATABLOCK];
    104104} linkedlist_datablock_internal;
     
    118118
    119119    uLong pos_local_header;     /* offset of the local header of the file
    120                                      currenty writing */
     120                                     currently writing */
    121121    char* central_header;       /* central header data for the current file */
    122122    uLong size_centralheader;   /* size of the central header for cur file */
    123123    uLong flag;                 /* flag of the file currently writing */
    124124
    125     int  method;                /* compression method of file currenty wr.*/
     125    int  method;                /* compression method of file currently wr.*/
    126126    int  raw;                   /* 1 for directly writing raw data */
    127127    Byte buffered_data[Z_BUFSIZE];/* buffer contain compressed data to be writ*/
  • trunk/server/lib/zlib/contrib/puff/puff.c

    r414 r745  
    586586 *   the list of code lengths, a 0 symbol means no code, a 1..15 symbol means
    587587 *   that length, and the symbols 16, 17, and 18 are run-length instructions.
    588  *   Each of 16, 17, and 18 are follwed by extra bits to define the length of
     588 *   Each of 16, 17, and 18 are followed by extra bits to define the length of
    589589 *   the run.  16 copies the last length 3 to 6 times.  17 represents 3 to 10
    590590 *   zero lengths, and 18 represents 11 to 138 zero lengths.  Unused symbols
  • trunk/server/lib/zlib/deflate.h

    r414 r745  
    189189
    190190                /* used by trees.c: */
    191     /* Didn't use ct_data typedef below to supress compiler warning */
     191    /* Didn't use ct_data typedef below to suppress compiler warning */
    192192    struct ct_data_s dyn_ltree[HEAP_SIZE];   /* literal and length tree */
    193193    struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
  • trunk/server/lib/zlib/examples/fitblk.c

    r414 r745  
    1818   nearly the requested output block size.  The first pass generates
    1919   enough deflate blocks to produce output to fill the requested
    20    output size plus a specfied excess amount (see the EXCESS define
     20   output size plus a specified excess amount (see the EXCESS define
    2121   below).  The last deflate block may go quite a bit past that, but
    2222   is discarded.  The second pass decompresses and recompresses just
  • trunk/server/lib/zlib/examples/gun.c

    r414 r745  
    4343   encountered in an input file, it is the last stream in that file.
    4444
    45    Like gunzip and uncompress, the file attributes of the orignal compressed
     45   Like gunzip and uncompress, the file attributes of the original compressed
    4646   file are maintained in the final uncompressed file, to the extent that the
    4747   user permissions allow it.
  • trunk/server/lib/zlib/gzio.c

    r414 r745  
    255255     Read a byte from a gz_stream; update next_in and avail_in. Return EOF
    256256   for end of file.
    257    IN assertion: the stream s has been sucessfully opened for reading.
     257   IN assertion: the stream s has been successfully opened for reading.
    258258*/
    259259local int get_byte(s)
     
    280280    to Z_DATA_ERROR if the magic header is present but the rest of the header
    281281    is incorrect.
    282     IN assertion: the stream s has already been created sucessfully;
     282    IN assertion: the stream s has already been created successfully;
    283283       s->stream.avail_in is zero for the first time, but may be non-zero
    284284       for concatenated .gz files.
  • trunk/server/lib/zlib/zlib.h

    r414 r745  
    886886
    887887     inflateBackInit will return Z_OK on success, Z_STREAM_ERROR if any of
    888    the paramaters are invalid, Z_MEM_ERROR if the internal state could not
     888   the parameters are invalid, Z_MEM_ERROR if the internal state could not
    889889   be allocated, or Z_VERSION_ERROR if the version of the library does not
    890890   match the version of the header file.
Note: See TracChangeset for help on using the changeset viewer.