~ubuntu-branches/ubuntu/quantal/unzip/quantal

« back to all changes in this revision

Viewing changes to msdos/doscfg.h

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2009-05-08 20:02:40 UTC
  • mfrom: (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090508200240-rk23wg0jdoyc6caj
Tags: 6.0-1
* New upstream release. Closes: #496989.
* Enabled new Unicode support. Closes: #197427. This may or may not work
  for your already created zipfiles, but it's not a bug unless they were
  created using the Unicode feature present in zip 3.0.
* Built using DATE_FORMAT=DF_YMD so that unzip -l show dates in ISO format,
  as that's the only available one which makes sense. Closes: #312886.
* Enabled new bzip2 support. Closes: #426798.
* Exit code for zipgrep should now be the right one. Closes: #441997.
* The reason why a file may not be created is now shown. Closes: #478791.
* Summary of changes in this version not being the debian/* files:
- Manpages in section 1, not 1L.
- Branding patch. UnZip by Debian. Original by Info-ZIP.
- Always #include <unistd.h>. Debian GNU/kFreeBSD needs it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  Copyright (c) 1990-2002 Info-ZIP.  All rights reserved.
 
2
  Copyright (c) 1990-2008 Info-ZIP.  All rights reserved.
3
3
 
4
4
  See the accompanying file LICENSE, version 2000-Apr-09 or later
5
5
  (the contents of which are also included in unzip.h) for terms of use.
57
57
                                      modify [ax cx dx bx]
58
58
#    endif /* !USE_ZLIB */
59
59
#  endif /* ?__386__ */
60
 
 
61
 
#  ifndef EPIPE
62
 
#    define EPIPE -1
63
 
#  endif
64
 
#  define PIPE_ERROR (errno == EPIPE)
65
60
#endif /* __WATCOMC__ */
66
61
 
67
62
#ifdef __EMX__
147
142
#  endif
148
143
#endif
149
144
 
 
145
/* 32-bit MSDOS supports the 32-bit optimized CRC-32 C code */
 
146
#ifdef IZ_CRC_BE_OPTIMIZ
 
147
# undef IZ_CRC_BE_OPTIMIZ
 
148
#endif
 
149
#ifdef __32BIT__
 
150
# if !defined(IZ_CRC_LE_OPTIMIZ) && !defined(NO_CRC_OPTIMIZ)
 
151
#  define IZ_CRC_LE_OPTIMIZ
 
152
# endif
 
153
#else /* __16BIT__ does not support optimized C crc32 code */
 
154
# ifdef IZ_CRC_LE_OPTIMIZ
 
155
#  undef IZ_CRC_LE_OPTIMIZ
 
156
# endif
 
157
#endif
150
158
 
151
159
/* another stat()/fopen() bug with some 16-bit compilers on Novell drives;
152
160
 * very dangerous (silently overwrites executables in other directories)
293
301
#    define CRTL_CP_IS_OEM
294
302
#  endif
295
303
#endif
 
304
#ifndef NEED_ISO_OEM_INIT
 
305
#  define NEED_ISO_OEM_INIT
 
306
#endif
296
307
 
297
308
/* SCREENLINES macros for 16-bit and djgpp compilers */
298
309
#ifdef __16BIT__