]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
14 years agoReduce duplicate code by merging strncat_from_utf16be and strncat_to_utf16be
Michihiro NAKAJIMA [Tue, 7 Jun 2011 06:57:13 +0000 (02:57 -0400)] 
Reduce duplicate code by merging strncat_from_utf16be and strncat_to_utf16be
into iconv_strncat_in_locale.

SVN-Revision: 3394

14 years agoImprove string conversion functions:
Michihiro NAKAJIMA [Sun, 5 Jun 2011 14:52:55 +0000 (10:52 -0400)] 
Improve string conversion functions:
 - Decide conversion functions when creating a string conversion object.

SVN-Revision: 3393

14 years agoClean up get_sconv_object() to avoid duplicate check and simplify its code.
Michihiro NAKAJIMA [Wed, 1 Jun 2011 09:22:48 +0000 (05:22 -0400)] 
Clean up get_sconv_object() to avoid duplicate check and simplify its code.
No functional changes.

SVN-Revision: 3392

14 years agoSome c compiler system provides wmemcpy as macro.
Michihiro NAKAJIMA [Mon, 30 May 2011 08:47:00 +0000 (04:47 -0400)] 
Some c compiler system provides wmemcpy as macro.

SVN-Revision: 3391

14 years agoUnbreak build.
Michihiro NAKAJIMA [Mon, 30 May 2011 08:41:17 +0000 (04:41 -0400)] 
Unbreak build.

SVN-Revision: 3390

14 years agoFor Mac OS X, update comment in create_sconv_object(), and perform the normalization...
Michihiro NAKAJIMA [Sun, 29 May 2011 13:32:23 +0000 (09:32 -0400)] 
For Mac OS X, update comment in create_sconv_object(), and perform the normalization form C when
current locale is not UTF-8 because iconv would correctly handle filenames than those be in
UTF-8 NFD or UTF-16BE in NFD.

SVN-Revision: 3389

14 years agoRework archive_string_normalize_D() function.
Michihiro NAKAJIMA [Sat, 28 May 2011 07:31:27 +0000 (03:31 -0400)] 
Rework archive_string_normalize_D() function.
 - improve ConvertFromUnicodeToText() handling.
 - correct a buffer size for NFD string.
 - return no changed data if the conversion fails.

SVN-Revision: 3388

14 years agoFix expanding output string buffer on Mac OS X.
Michihiro NAKAJIMA [Thu, 26 May 2011 10:03:16 +0000 (06:03 -0400)] 
Fix expanding output string buffer on Mac OS X.

SVN-Revision: 3387

14 years agoMove failure() statement to right place.
Michihiro NAKAJIMA [Thu, 26 May 2011 09:05:26 +0000 (05:05 -0400)] 
Move failure() statement to right place.

SVN-Revision: 3386

14 years agoFix string conversion errors on Mac OS X.
Michihiro NAKAJIMA [Wed, 25 May 2011 12:01:15 +0000 (08:01 -0400)] 
Fix string conversion errors on Mac OS X.

SVN-Revision: 3385

14 years agoImprove test_archive_string_conversion for export, a write side conversion process.
Michihiro NAKAJIMA [Wed, 25 May 2011 10:50:32 +0000 (06:50 -0400)] 
Improve test_archive_string_conversion for export, a write side conversion process.

SVN-Revision: 3384

14 years agoRemove unneeded assignment code found with Clang Static Analyzer.
Michihiro NAKAJIMA [Tue, 24 May 2011 11:25:16 +0000 (07:25 -0400)] 
Remove unneeded assignment code found with Clang Static Analyzer.

SVN-Revision: 3383

14 years agoAvoid warnings by Clang Static Analyzer.
Michihiro NAKAJIMA [Tue, 24 May 2011 11:13:01 +0000 (07:13 -0400)] 
Avoid warnings by Clang Static Analyzer.

SVN-Revision: 3382

14 years agoFix the result code of normalization.
Michihiro NAKAJIMA [Tue, 24 May 2011 10:48:59 +0000 (06:48 -0400)] 
Fix the result code of normalization.

SVN-Revision: 3381

14 years agoReturn a correct status when a entry has an incorrect linkname.
Michihiro NAKAJIMA [Tue, 24 May 2011 10:46:48 +0000 (06:46 -0400)] 
Return a correct status when a entry has an incorrect linkname.

SVN-Revision: 3380

14 years agoAvoid borland warnings at test_archive_string_conversion.c.
Michihiro NAKAJIMA [Tue, 24 May 2011 10:28:46 +0000 (06:28 -0400)] 
Avoid borland warnings at test_archive_string_conversion.c.

SVN-Revision: 3379

14 years agoUse compress for test_archive_string_conversion.txt instead of gzip to work
Michihiro NAKAJIMA [Tue, 24 May 2011 10:19:31 +0000 (06:19 -0400)] 
Use compress for test_archive_string_conversion.txt instead of gzip to work
a test test_archive_string_conversion on Windows platform, which does not
have zlib by default.

SVN-Revision: 3378

14 years agoCombine strncat_from_utf16_to_utf8 and strncat_from_utf8_to_utf16 to make
Michihiro NAKAJIMA [Tue, 24 May 2011 10:00:05 +0000 (06:00 -0400)] 
Combine strncat_from_utf16_to_utf8 and strncat_from_utf8_to_utf16 to make
a new function archive_string_append_unicode.

SVN-Revision: 3377

14 years agoIssue 157: Fix some unused-variable warnings from GCC 4.6.
Tim Kientzle [Tue, 24 May 2011 03:26:44 +0000 (23:26 -0400)] 
Issue 157:  Fix some unused-variable warnings from GCC 4.6.

SVN-Revision: 3376

14 years agoIssue 157: Found by GCC 4.6: The temp buffer, which was set up
Tim Kientzle [Tue, 24 May 2011 03:22:31 +0000 (23:22 -0400)] 
Issue 157: Found by GCC 4.6:  The temp buffer, which was set up
specifically to avoid walking off the end of the provided input
data, wasn't being used.
Possible ramification:  libarchive could segfault when writing
shar files with uuencode encoding of file bodies, if the
data being read happened to end exactly at the end of
an allocated page.

SVN-Revision: 3375

14 years agoImplement normalization to a UTF-16BE string recorded in ISO9660 Joliet extensions.
Michihiro NAKAJIMA [Mon, 23 May 2011 09:47:28 +0000 (05:47 -0400)] 
Implement normalization to a UTF-16BE string recorded in ISO9660 Joliet extensions.

SVN-Revision: 3374

14 years agoEliminate a double check of remaining data.
Michihiro NAKAJIMA [Thu, 19 May 2011 13:50:22 +0000 (09:50 -0400)] 
Eliminate a double check of remaining data.

SVN-Revision: 3373

14 years agoRemove unneeded code that case will not happen because strncat_from_utf16_to_utf8...
Michihiro NAKAJIMA [Thu, 19 May 2011 13:33:51 +0000 (09:33 -0400)] 
Remove unneeded code that case will not happen because strncat_from_utf16_to_utf8 will be called instead.

SVN-Revision: 3372

14 years agoRework archive_strncat_in_locale mainly around UTF-16 handling to reduce duplicate...
Michihiro NAKAJIMA [Thu, 19 May 2011 11:58:18 +0000 (07:58 -0400)] 
Rework archive_strncat_in_locale mainly around UTF-16 handling to reduce duplicate code.

SVN-Revision: 3371

14 years agoAvoid several warnings in libarchive_test on Borland C Compiler.
Michihiro NAKAJIMA [Thu, 19 May 2011 11:52:15 +0000 (07:52 -0400)] 
Avoid several warnings in libarchive_test on Borland C Compiler.

SVN-Revision: 3370

14 years agoFix a silly bug made by previous change.
Michihiro NAKAJIMA [Thu, 19 May 2011 05:22:21 +0000 (01:22 -0400)] 
Fix a silly bug made by previous change.

SVN-Revision: 3369

14 years agoIncrease a buffer size for Joliet extension names up to 1024 bytes.
Michihiro NAKAJIMA [Thu, 19 May 2011 04:14:02 +0000 (00:14 -0400)] 
Increase a buffer size for Joliet extension names up to 1024 bytes.
It is hard to calculate MBS length for limitation check.

SVN-Revision: 3368

14 years agoFix build failure in a strict check.
Michihiro NAKAJIMA [Thu, 19 May 2011 03:42:17 +0000 (23:42 -0400)] 
Fix build failure in a strict check.

SVN-Revision: 3367

14 years agoSet UTF-16BE filenames in Joliet extension to archvie_enty directly in a string conve...
Michihiro NAKAJIMA [Wed, 18 May 2011 15:21:51 +0000 (11:21 -0400)] 
Set UTF-16BE filenames in Joliet extension to archvie_enty directly in a string conversion, and
report the conversion error if it happened.

SVN-Revision: 3366

14 years agoImplement converting WCS from/to UTF-16BE on Windows, which code will be used
Michihiro NAKAJIMA [Wed, 18 May 2011 15:08:56 +0000 (11:08 -0400)] 
Implement converting WCS from/to UTF-16BE on Windows, which code will be used
in ISO9660 reader and writer through archive_mstring.

SVN-Revision: 3365

14 years agoFix build failure on Visual Studio.
Michihiro NAKAJIMA [Wed, 18 May 2011 10:42:29 +0000 (06:42 -0400)] 
Fix build failure on Visual Studio.

SVN-Revision: 3364

14 years agoFix warnings in libarchive/test_*.c on Borland C Compiler.
Michihiro NAKAJIMA [Wed, 18 May 2011 09:13:57 +0000 (05:13 -0400)] 
Fix warnings in libarchive/test_*.c on Borland C Compiler.

SVN-Revision: 3363

14 years agoComment out unneeded code in test_write_format_zip_no_compression.
Michihiro NAKAJIMA [Wed, 18 May 2011 07:34:31 +0000 (03:34 -0400)] 
Comment out unneeded code in test_write_format_zip_no_compression.

SVN-Revision: 3362

14 years agoChange a type of UTF-8 byte counter table to avoid warnings on Borland C Compiler.
Michihiro NAKAJIMA [Wed, 18 May 2011 05:27:40 +0000 (01:27 -0400)] 
Change a type of UTF-8 byte counter table to avoid warnings on Borland C Compiler.

SVN-Revision: 3361

14 years agoRemove debug code for Mac OS.
Michihiro NAKAJIMA [Wed, 18 May 2011 05:13:01 +0000 (01:13 -0400)] 
Remove debug code for Mac OS.

SVN-Revision: 3360

14 years agoUse NFD string for Mac OS at test_read_format_zip_filename.
Michihiro NAKAJIMA [Wed, 18 May 2011 05:08:35 +0000 (01:08 -0400)] 
Use NFD string for Mac OS at test_read_format_zip_filename.

SVN-Revision: 3359

14 years agoRedefine SCONV_* flags used for archive_string_conv object.
Michihiro NAKAJIMA [Wed, 18 May 2011 04:54:27 +0000 (00:54 -0400)] 
Redefine SCONV_* flags used for archive_string_conv object.

SVN-Revision: 3358

14 years agoIt seems Mac OS cannot convert U+1109A, U+1109C and U+110AB to NFD although that...
Michihiro NAKAJIMA [Tue, 17 May 2011 10:49:00 +0000 (06:49 -0400)] 
It seems Mac OS cannot convert U+1109A, U+1109C and U+110AB to NFD although that is undocumented as far as I know.

SVN-Revision: 3357

14 years agoDo not use WideCharToMultiByte and MultiByteToWideChar when current locale is "C...
Michihiro NAKAJIMA [Tue, 17 May 2011 10:43:02 +0000 (06:43 -0400)] 
Do not use WideCharToMultiByte and MultiByteToWideChar when current locale is "C" on Windows.

SVN-Revision: 3356

14 years agoProperly free struct isofile object when some fatal error happened.
Michihiro NAKAJIMA [Tue, 17 May 2011 10:41:03 +0000 (06:41 -0400)] 
Properly free struct isofile object when some fatal error happened.

SVN-Revision: 3355

14 years agoReduce the effect of current locale for Joliet extension name(UTF-16BE) by direct...
Michihiro NAKAJIMA [Tue, 17 May 2011 09:43:45 +0000 (05:43 -0400)] 
Reduce the effect of current locale for Joliet extension name(UTF-16BE) by direct generating it from archive_entry.

SVN-Revision: 3354

14 years agoFix counting UTF-16 characters and converting UTF-16 on Windows.
Michihiro NAKAJIMA [Tue, 17 May 2011 09:08:49 +0000 (05:08 -0400)] 
Fix counting UTF-16 characters and converting UTF-16 on Windows.

SVN-Revision: 3353

14 years agoUse assertEqualUTF8String instead of assertEqualString at test_read_format_zip_filena...
Michihiro NAKAJIMA [Tue, 17 May 2011 04:26:51 +0000 (00:26 -0400)] 
Use assertEqualUTF8String instead of assertEqualString at test_read_format_zip_filename_UTF8_UTF8.

SVN-Revision: 3352

14 years agoAvoid warnings about no argument.
Michihiro NAKAJIMA [Tue, 17 May 2011 04:17:46 +0000 (00:17 -0400)] 
Avoid warnings about no argument.

SVN-Revision: 3351

14 years agoAvoid warnings in test_archive_read_open2.c about unused variables.
Michihiro NAKAJIMA [Tue, 17 May 2011 04:11:15 +0000 (00:11 -0400)] 
Avoid warnings in test_archive_read_open2.c about unused variables.

SVN-Revision: 3350

14 years agoAvoid a warning in zip reader on Borland C Compiler.
Michihiro NAKAJIMA [Tue, 17 May 2011 04:03:53 +0000 (00:03 -0400)] 
Avoid a warning in zip reader on Borland C Compiler.

SVN-Revision: 3349

14 years agoRemove unneeded code in cab reader.
Michihiro NAKAJIMA [Tue, 17 May 2011 03:59:00 +0000 (23:59 -0400)] 
Remove unneeded code in cab reader.

SVN-Revision: 3348

14 years agoMove macros in archive_string.c to the top of the file.
Michihiro NAKAJIMA [Tue, 17 May 2011 03:55:26 +0000 (23:55 -0400)] 
Move macros in archive_string.c to the top of the file.
Use macro for set byte sequence of U+FFFD for UTF-8.

SVN-Revision: 3347

14 years agoRework UTF-16 conversion functions.
Michihiro NAKAJIMA [Tue, 17 May 2011 03:19:07 +0000 (23:19 -0400)] 
Rework UTF-16 conversion functions.
 - rename strncpy_from_utf16be to strncat_from_utf16be and its feature is slightly changed as strcat.
 - rename strncpy_to_utf16be to strncat_to_utf16be and its feature is slightly changed as strcat.
 - use U+FFFD for invalid character if destination charset is UTF-8.
 - proper handle surrogate pair on Windows version.

SVN-Revision: 3346

14 years agoRework a handling of memory allocation failure in string conversion;
Michihiro NAKAJIMA [Mon, 16 May 2011 11:52:47 +0000 (07:52 -0400)] 
Rework a handling of memory allocation failure in string conversion;
report the failure to the caller as much as we can instead of calling __archive_errx().

SVN-Revision: 3345

14 years agoFix segmentation fault on Mac OS.
Michihiro NAKAJIMA [Mon, 16 May 2011 07:31:55 +0000 (03:31 -0400)] 
Fix segmentation fault on Mac OS.

SVN-Revision: 3344

14 years agoFix the warning Boarland C compiler complains of and some style.
Michihiro NAKAJIMA [Mon, 16 May 2011 04:37:47 +0000 (00:37 -0400)] 
Fix the warning Boarland C compiler complains of and some style.

SVN-Revision: 3343

14 years agoClean up the code Borland C compiler complains of at cab reader.
Michihiro NAKAJIMA [Mon, 16 May 2011 04:28:32 +0000 (00:28 -0400)] 
Clean up the code Borland C compiler complains of at cab reader.

SVN-Revision: 3342

14 years agoctime and ctime_nanos are not used in set_times() on Windows.
Michihiro NAKAJIMA [Mon, 16 May 2011 04:18:20 +0000 (00:18 -0400)] 
ctime and ctime_nanos are not used in set_times() on Windows.

SVN-Revision: 3341

14 years agoAvoid some warnings on Borland C compiler.
Michihiro NAKAJIMA [Mon, 16 May 2011 04:07:59 +0000 (00:07 -0400)] 
Avoid some warnings on Borland C compiler.

SVN-Revision: 3340

14 years agoProper prototype for get_current_codepage and get_current_oemcp; Borland C compiler...
Michihiro NAKAJIMA [Mon, 16 May 2011 03:51:26 +0000 (23:51 -0400)] 
Proper prototype for get_current_codepage and get_current_oemcp; Borland C compiler complains of this.

SVN-Revision: 3339

14 years agoFix the return code of archive_string_append_from_wcs_in_codepage().
Michihiro NAKAJIMA [Mon, 16 May 2011 03:44:15 +0000 (23:44 -0400)] 
Fix the return code of archive_string_append_from_wcs_in_codepage().

SVN-Revision: 3338

14 years agoRemove unused wmemcpy definition.
Michihiro NAKAJIMA [Mon, 16 May 2011 03:38:55 +0000 (23:38 -0400)] 
Remove unused wmemcpy definition.

SVN-Revision: 3337

14 years agoUse wmemcpy at archive_wstring_append().
Michihiro NAKAJIMA [Mon, 16 May 2011 03:38:15 +0000 (23:38 -0400)] 
Use wmemcpy at archive_wstring_append().

SVN-Revision: 3336

14 years agoRemove unneeded code in archive_write_set_format_cpio.c
Michihiro NAKAJIMA [Sun, 15 May 2011 15:21:42 +0000 (11:21 -0400)] 
Remove unneeded code in archive_write_set_format_cpio.c

SVN-Revision: 3335

14 years agoRemove unneeded code in archive_write_set_format_cpio_newc.c
Michihiro NAKAJIMA [Sun, 15 May 2011 15:20:17 +0000 (11:20 -0400)] 
Remove unneeded code in archive_write_set_format_cpio_newc.c

SVN-Revision: 3334

14 years agoUse en_US.UTF-8 locale for tests instead of ru_RU.UTF-8 or ja_JP.UTF-8
Michihiro NAKAJIMA [Sun, 15 May 2011 14:39:47 +0000 (10:39 -0400)] 
Use en_US.UTF-8 locale for tests instead of ru_RU.UTF-8 or ja_JP.UTF-8
since some platform do not install those locales by default.

SVN-Revision: 3333

14 years agoDetect readlinkat() on linux by CMake; linux requires fcntl.h for AT_FDCWD.
Michihiro NAKAJIMA [Sun, 15 May 2011 14:08:23 +0000 (10:08 -0400)] 
Detect readlinkat() on linux by CMake; linux requires fcntl.h for AT_FDCWD.

SVN-Revision: 3332

14 years agoFix build failure.
Michihiro NAKAJIMA [Sun, 15 May 2011 14:04:30 +0000 (10:04 -0400)] 
Fix build failure.

SVN-Revision: 3331

14 years agoImprove string conversion functions of UTF-16 about invalid characters.
Michihiro NAKAJIMA [Sun, 15 May 2011 11:41:02 +0000 (07:41 -0400)] 
Improve string conversion functions of UTF-16 about invalid characters.

SVN-Revision: 3330

14 years agoProperly check if archive_string_ensure() succeeded or not.
Michihiro NAKAJIMA [Sun, 15 May 2011 08:11:38 +0000 (04:11 -0400)] 
Properly check if archive_string_ensure() succeeded or not.

SVN-Revision: 3329

14 years agoApparently, both input and output data type should be UTF-16 for ConvertFromUnicodeTo...
Michihiro NAKAJIMA [Sun, 15 May 2011 08:01:59 +0000 (04:01 -0400)] 
Apparently, both input and output data type should be UTF-16 for ConvertFromUnicodeToText()
when converting NFC to NFD.

SVN-Revision: 3328

14 years agoAvoid local conversion code in iso9660 writer.
Michihiro NAKAJIMA [Sun, 15 May 2011 06:14:55 +0000 (02:14 -0400)] 
Avoid local conversion code in iso9660 writer.

SVN-Revision: 3327

14 years agoFix a name of timezone global variable for Borland.
Michihiro NAKAJIMA [Sun, 15 May 2011 04:09:14 +0000 (00:09 -0400)] 
Fix a name of timezone global variable for Borland.

SVN-Revision: 3326

14 years agoClean up best_effort_strncat_in_locale().
Michihiro NAKAJIMA [Sun, 15 May 2011 04:02:19 +0000 (00:02 -0400)] 
Clean up best_effort_strncat_in_locale().
 - merge is_all_ascii_code() and best_effort_strncat_to_utf8() into best_effort_strncat_in_locale().
 - assign '?' character if a character code > 127.
 - update comment.

SVN-Revision: 3325

14 years agoDo not set error status when a struct archive object is NULL.
Michihiro NAKAJIMA [Sat, 14 May 2011 16:12:26 +0000 (12:12 -0400)] 
Do not set error status when a struct archive object is NULL.

SVN-Revision: 3324

14 years agoFix wrong calculation of converted bytes and return code on character replacement.
Michihiro NAKAJIMA [Sat, 14 May 2011 08:35:06 +0000 (04:35 -0400)] 
Fix wrong calculation of converted bytes and return code on character replacement.

SVN-Revision: 3323

14 years agoThe source data type for ConvertFromUnicodeToText() should be UniChar, UTF-16
Michihiro NAKAJIMA [Sat, 14 May 2011 08:22:48 +0000 (04:22 -0400)] 
The source data type for ConvertFromUnicodeToText() should be UniChar, UTF-16
so we have to do pre-conversion that translates a UTF-8 string to UTF-16's
before calling ConvertFromUnicodeToText() and pass that UTF-16 string.

SVN-Revision: 3322

14 years agoImprove MBS<=>WCS functions.
Michihiro NAKAJIMA [Fri, 13 May 2011 04:14:34 +0000 (00:14 -0400)] 
Improve MBS<=>WCS functions.
 - split archive_wstring_append_from_mbs into mbsnrtowcs version and mbrtowc/mbtowc version.
 - POSIX version of archive_string_append_from_wcs behavior simulates Windows version's.
   That is to continue conversion even if there is illegal WC.
 - set the terminator '\0' to destination buffer even if conversion failed.

SVN-Revision: 3320

14 years agoUse archive_mstring_*_l interface in archive_acl_* functions
Michihiro NAKAJIMA [Thu, 12 May 2011 14:21:05 +0000 (10:21 -0400)] 
Use archive_mstring_*_l interface in archive_acl_* functions
since archive_mstring knows how to treat UTF-8 characters and
what way is efficient on the platform and what way reduces or
avoid dependence on current locale.

SVN-Revision: 3319

14 years agoAdd temporary debug code for Mac OS to check status at CDash.
Michihiro NAKAJIMA [Thu, 12 May 2011 09:52:46 +0000 (05:52 -0400)] 
Add temporary debug code for Mac OS to check status at CDash.

SVN-Revision: 3318

14 years agoOn Mac OS, compare NFD string instead of NFC string
Michihiro NAKAJIMA [Thu, 12 May 2011 08:34:19 +0000 (04:34 -0400)] 
On Mac OS, compare NFD string instead of NFC string
at test_read_format_zip_filename and test_read_format_cab_filename.

SVN-Revision: 3317

14 years agoUse assertEqualMem instead of assert(0 == memcmp(xxx....)).
Michihiro NAKAJIMA [Thu, 12 May 2011 08:13:54 +0000 (04:13 -0400)] 
Use assertEqualMem instead of assert(0 == memcmp(xxx....)).

SVN-Revision: 3316

14 years agoImprove the check that FS_IOC_FIEMAP operation is supported on the filesystem.
Michihiro NAKAJIMA [Thu, 12 May 2011 07:48:44 +0000 (03:48 -0400)] 
Improve the check that FS_IOC_FIEMAP operation is supported on the filesystem.

SVN-Revision: 3315

14 years agoIf FS_IOC_FIEMAP operation fails by EOPNOTSUPP, the operation is not supported.
Michihiro NAKAJIMA [Thu, 12 May 2011 07:43:54 +0000 (03:43 -0400)] 
If FS_IOC_FIEMAP operation fails by EOPNOTSUPP, the operation is not supported.

SVN-Revision: 3314

14 years agoAssign U+FFFD(Replacement Character) for unknown character in UTF-8
Michihiro NAKAJIMA [Thu, 12 May 2011 05:21:45 +0000 (01:21 -0400)] 
Assign U+FFFD(Replacement Character) for unknown character in UTF-8
even if the platform has no conversion function.

SVN-Revision: 3313

14 years agoIncrease robustness for an empty filename or an invalid filename on Windows,
Michihiro NAKAJIMA [Thu, 12 May 2011 02:55:54 +0000 (22:55 -0400)] 
Increase robustness for an empty filename or an invalid filename on Windows,
which cannot be completely converted from WCS to MBS.
Correctly detect invalid UTF-8 string on Windows.

SVN-Revision: 3312

14 years agoUse archive_entry_*_l functions at zip format writer.
Michihiro NAKAJIMA [Thu, 12 May 2011 00:30:11 +0000 (20:30 -0400)] 
Use archive_entry_*_l functions at zip format writer.

SVN-Revision: 3311

14 years agoUse archive_entry_*_l functions at xar format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 15:49:37 +0000 (11:49 -0400)] 
Use archive_entry_*_l functions at xar format writer.

SVN-Revision: 3310

14 years agoUse archive_entry_*_l functions at pax format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 15:33:57 +0000 (11:33 -0400)] 
Use archive_entry_*_l functions at pax format writer.

SVN-Revision: 3309

14 years agoUse archive_entry_*_l functions at ustar format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 13:56:41 +0000 (09:56 -0400)] 
Use archive_entry_*_l functions at ustar format writer.

SVN-Revision: 3308

14 years agoUse archive_entry_*_l functions at gnutar format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 13:40:51 +0000 (09:40 -0400)] 
Use archive_entry_*_l functions at gnutar format writer.

SVN-Revision: 3307

14 years agoUse archive_entry_*_l functions at cpio newc format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 13:02:36 +0000 (09:02 -0400)] 
Use archive_entry_*_l functions at cpio newc format writer.

SVN-Revision: 3306

14 years agoUse archive_entry_*_l functions at cpio format writer.
Michihiro NAKAJIMA [Wed, 11 May 2011 12:47:19 +0000 (08:47 -0400)] 
Use archive_entry_*_l functions at cpio format writer.

SVN-Revision: 3305

14 years agoUse archive_entry_copy_*_l functions at zip format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 12:27:11 +0000 (08:27 -0400)] 
Use archive_entry_copy_*_l functions at zip format reader.

SVN-Revision: 3304

14 years agoUse archive_entry_copy_*_l functions at xar format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 12:12:04 +0000 (08:12 -0400)] 
Use archive_entry_copy_*_l functions at xar format reader.

SVN-Revision: 3303

14 years agoUse archive_entry_copy_*_l functions at tar format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 10:49:07 +0000 (06:49 -0400)] 
Use archive_entry_copy_*_l functions at tar format reader.

SVN-Revision: 3302

14 years agoUse archive_entry_copy_*_l functions at lha format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 10:07:53 +0000 (06:07 -0400)] 
Use archive_entry_copy_*_l functions at lha format reader.

SVN-Revision: 3301

14 years agoUse archive_entry_copy_*_l functions at cpio format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 09:39:04 +0000 (05:39 -0400)] 
Use archive_entry_copy_*_l functions at cpio format reader.

SVN-Revision: 3300

14 years agoUse archive_entry_copy_*_l functions at cab format reader.
Michihiro NAKAJIMA [Wed, 11 May 2011 09:28:26 +0000 (05:28 -0400)] 
Use archive_entry_copy_*_l functions at cab format reader.

SVN-Revision: 3299

14 years agoCorrect winioctl to winioctl.h in configure.ac.
Michihiro NAKAJIMA [Wed, 11 May 2011 05:49:52 +0000 (01:49 -0400)] 
Correct winioctl to winioctl.h in configure.ac.
Fix comment about winioctl.h in build/cmake/config.h.in.

SVN-Revision: 3298

14 years agoIn configure, SSIZE_MAX requires limits.h
Michihiro NAKAJIMA [Wed, 11 May 2011 05:42:01 +0000 (01:42 -0400)] 
In configure, SSIZE_MAX requires limits.h

SVN-Revision: 3297

14 years agoCorrect macro names in CMakeLists.txt.
Michihiro NAKAJIMA [Wed, 11 May 2011 05:18:59 +0000 (01:18 -0400)] 
Correct macro names in CMakeLists.txt.
  HAVE_ACL_LIB ==> HAVE_LIBACL
  HAVE_ATTR_LIB ==> HAVE_LIBATTR

SVN-Revision: 3296

14 years agoSpecify -fno-builtin to gcc during detecting functions because use of
Michihiro NAKAJIMA [Wed, 11 May 2011 04:39:24 +0000 (00:39 -0400)] 
Specify -fno-builtin to gcc during detecting functions because use of
-Werror on CMake prevent the detection of built-in functions of gcc by
compiling failure which is conflicting types for built-in function.

SVN-Revision: 3295

14 years agoDetect readdir_r with cmake on linux.
Michihiro NAKAJIMA [Tue, 10 May 2011 15:35:19 +0000 (11:35 -0400)] 
Detect readdir_r with cmake on linux.

SVN-Revision: 3294