Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/PC/bdist_wininst/archive.h

    r2 r391  
    1515
    1616struct eof_cdir {
    17         long tag;       /* must be 0x06054b50 */
    18         short disknum;
    19         short firstdisk;
    20         short nTotalCDirThis;
    21         short nTotalCDir;
    22         long nBytesCDir;
    23         long ofsCDir;
    24         short commentlen;
     17    long tag;           /* must be 0x06054b50 */
     18    short disknum;
     19    short firstdisk;
     20    short nTotalCDirThis;
     21    short nTotalCDir;
     22    long nBytesCDir;
     23    long ofsCDir;
     24    short commentlen;
    2525};
    2626
    2727struct cdir {
    28         long tag;       /* must be 0x02014b50 */
    29         short version_made;
    30         short version_extract;
    31         short gp_bitflag;
    32         short comp_method;
    33         short last_mod_file_time;
    34         short last_mod_file_date;
    35         long crc32;
    36         long comp_size;
    37         long uncomp_size;
    38         short fname_length;
    39         short extra_length;
    40         short comment_length;
    41         short disknum_start;
    42         short int_file_attr;
    43         long ext_file_attr;
    44         long ofs_local_header;
     28    long tag;           /* must be 0x02014b50 */
     29    short version_made;
     30    short version_extract;
     31    short gp_bitflag;
     32    short comp_method;
     33    short last_mod_file_time;
     34    short last_mod_file_date;
     35    long crc32;
     36    long comp_size;
     37    long uncomp_size;
     38    short fname_length;
     39    short extra_length;
     40    short comment_length;
     41    short disknum_start;
     42    short int_file_attr;
     43    long ext_file_attr;
     44    long ofs_local_header;
    4545};
    4646
    4747struct fhdr {
    48         long tag;       /* must be 0x04034b50 */
    49         short version_needed;
    50         short flags;
    51         short method;
    52         short last_mod_file_time;
    53         short last_mod_file_date;
    54         long crc32;
    55         long comp_size;
    56         long uncomp_size;
    57         short fname_length;
    58         short extra_length;
     48    long tag;           /* must be 0x04034b50 */
     49    short version_needed;
     50    short flags;
     51    short method;
     52    short last_mod_file_time;
     53    short last_mod_file_date;
     54    long crc32;
     55    long comp_size;
     56    long uncomp_size;
     57    short fname_length;
     58    short extra_length;
    5959};
    6060
    6161
    6262struct meta_data_hdr {
    63         int tag;
    64         int uncomp_size;
    65         int bitmap_size;
     63    int tag;
     64    int uncomp_size;
     65    int bitmap_size;
    6666};
    6767
     
    7171
    7272typedef struct tagSCHEME {
    73         char *name;
    74         char *prefix;
     73    char *name;
     74    char *prefix;
    7575} SCHEME;
    7676
     
    7979extern BOOL
    8080extract_file(char *dst, char *src, int method, int comp_size,
    81              int uncomp_size, NOTIFYPROC notify);
     81             int uncomp_size, NOTIFYPROC notify);
    8282
    8383extern BOOL
    8484unzip_archive(SCHEME *scheme, char *dirname, char *data,
    85               DWORD size,  NOTIFYPROC notify);
     85              DWORD size,  NOTIFYPROC notify);
    8686
    8787extern char *
    8888map_new_file(DWORD flags, char *filename, char
    89              *pathname_part, int size,
    90              WORD wFatDate, WORD wFatTime,
    91              NOTIFYPROC callback);
     89             *pathname_part, int size,
     90             WORD wFatDate, WORD wFatTime,
     91             NOTIFYPROC callback);
    9292
    9393extern BOOL
    9494ensure_directory (char *pathname, char *new_part,
    95                   NOTIFYPROC callback);
     95                  NOTIFYPROC callback);
    9696
    9797/* codes for NOITIFYPROC */
Note: See TracChangeset for help on using the changeset viewer.