~ubuntu-branches/ubuntu/raring/sudo/raring

« back to all changes in this revision

Viewing changes to zlib/deflate.h

  • Committer: Package Import Robot
  • Author(s): Tyler Hicks
  • Date: 2012-07-16 14:01:42 UTC
  • mfrom: (1.3.22 sid)
  • Revision ID: package-import@ubuntu.com-20120716140142-b0tgau0k6nid4mrf
Tags: 1.8.5p2-1ubuntu1
* Merge from debian/testing (LP: #1024154), remaining changes:
  - debian/patches/keep_home_by_default.patch:
    + Set HOME in initial_keepenv_table.
  - debian/rules:
    + compile with --without-lecture --with-tty-tickets (Ubuntu specific)
    + install man/man8/sudo_root.8 in both flavours (Ubuntu specific)
    + install apport hooks
    + The ubuntu-sudo-as-admin-successful.patch was taken upstream by
      Debian however it requires a --enable-admin-flag configure flag to
      actually enable it in both flavours.
  - debian/control:
    + Mark Debian Vcs-* as XS-Debian-Vcs-*
    + update debian/control
  - debian/sudoers:
    + grant admin group sudo access
  - debian/source_sudo.py, debian/sudo-ldap.dirs, debian/sudo.dirs:
    + add usr/share/apport/package-hooks
  - debian/sudo.pam:
    + Use pam_env to read /etc/environment and /etc/default/locale
      environment files. Reading ~/.pam_environment is not permitted due to
      security reasons.
* Dropped changes:
  - debian/patches/lp927828-fix-abort-in-pam-modules-when-timestamp-valid.patch
    + Fixed upstream in 1.8.5
  - debian/patches/CVE-2012-2337.patch:
    + Fixed upstream in 1.8.4p5
  - debian/patches/pam_env_merge.patch:
    + Feature released upstream in 1.8.5
  - debian/{sudo,sudo-ldap}.{preinst,postinst,postrm}:
    + Drop Ubuntu-specific sudoers file migration code because the only
      upgrade path to quantal is from precise. All necessary sudoers file
      migration will have already been done by the time this version of the
      sudo package is installed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* deflate.h -- internal compression state
2
 
 * Copyright (C) 1995-2010 Jean-loup Gailly
 
2
 * Copyright (C) 1995-2012 Jean-loup Gailly
3
3
 * For conditions of distribution and use, see copyright notice in zlib.h
4
4
 */
5
5
 
48
48
#define MAX_BITS 15
49
49
/* All codes must not exceed MAX_BITS bits */
50
50
 
 
51
#define Buf_size 16
 
52
/* size of bit buffer in bi_buf */
 
53
 
51
54
#define INIT_STATE    42
52
55
#define EXTRA_STATE   69
53
56
#define NAME_STATE    73
188
191
    int nice_match; /* Stop searching when current match exceeds this */
189
192
 
190
193
                /* used by trees.c: */
191
 
    /* Didn't use ct_data typedef below to supress compiler warning */
 
194
    /* Didn't use ct_data typedef below to suppress compiler warning */
192
195
    struct ct_data_s dyn_ltree[HEAP_SIZE];   /* literal and length tree */
193
196
    struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */
194
197
    struct ct_data_s bl_tree[2*BL_CODES+1];  /* Huffman tree for bit lengths */
244
247
    ulg opt_len;        /* bit length of current block with optimal trees */
245
248
    ulg static_len;     /* bit length of current block with static trees */
246
249
    uInt matches;       /* number of string matches in current block */
247
 
    int last_eob_len;   /* bit length of EOB code for last block */
 
250
    uInt insert;        /* bytes at end of window left to insert */
248
251
 
249
252
#ifdef DEBUG
250
253
    ulg compressed_len; /* total bit length of compressed file mod 2^32 */
294
297
int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
295
298
void ZLIB_INTERNAL _tr_flush_block OF((deflate_state *s, charf *buf,
296
299
                        ulg stored_len, int last));
 
300
void ZLIB_INTERNAL _tr_flush_bits OF((deflate_state *s));
297
301
void ZLIB_INTERNAL _tr_align OF((deflate_state *s));
298
302
void ZLIB_INTERNAL _tr_stored_block OF((deflate_state *s, charf *buf,
299
303
                        ulg stored_len, int last));