]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
17 years agoAdd test for Windows drive letters.
Michihiro NAKAJIMA [Wed, 25 Feb 2009 07:57:44 +0000 (02:57 -0500)] 
Add test for Windows drive letters.

SVN-Revision: 710

17 years agoImprove stripping Windows drive letters.
Michihiro NAKAJIMA [Wed, 25 Feb 2009 07:06:17 +0000 (02:06 -0500)] 
Improve stripping Windows drive letters.

SVN-Revision: 709

17 years agoOn Windows, rewrite permissive_name function.
Michihiro NAKAJIMA [Wed, 25 Feb 2009 06:53:34 +0000 (01:53 -0500)] 
On Windows, rewrite permissive_name function.
GetFullPathName Windows API does not always
return a full path name start with drive letters
such as "c:\". It wasn't that permissive_name
function had expected.

e.g.
 When we changed a current directory by "//./c:/path-to"
 and got a full path name of "file" by GetFullPathName,
 GetFullPathName API returned "\\.\c:\path-to\file"
 not "c:\path-to\file". And then permissive_name
 returned "\\?\\\.\c:\path-to\file" (wrong path).

SVN-Revision: 708

17 years agoTweak a mtree format test.
Michihiro NAKAJIMA [Mon, 23 Feb 2009 13:19:34 +0000 (08:19 -0500)] 
Tweak a mtree format test.
Make directories for through the routine which open
a directory in reading a mtree format.
If we don't make directories, the routine won't try
to open the directory.

SVN-Revision: 707

17 years agoIssue 5: On Windows, convert illegal filename characters to '_'.
Tim Kientzle [Mon, 23 Feb 2009 03:05:20 +0000 (22:05 -0500)] 
Issue 5: On Windows, convert illegal filename characters to '_'.
Among other things, this removes a pain point when
extracting non-Windows tar archives on Windows platforms.
(Note: submitted patch was accidentally attached to Issue 6.)

Obtained from: rosenfield.albert

SVN-Revision: 702

17 years agoMake the current time be an argument to get_date(), to facilitate
Tim Kientzle [Mon, 23 Feb 2009 01:47:28 +0000 (20:47 -0500)] 
Make the current time be an argument to get_date(), to facilitate
testing.  In particular, this should make it easier to test
relative time names such as "3am next tuesday".

SVN-Revision: 701

17 years agoA few more test cases.
Tim Kientzle [Mon, 23 Feb 2009 01:42:42 +0000 (20:42 -0500)] 
A few more test cases.

SVN-Revision: 700

17 years agoLots of comments, some minor code restructuring and cleanup.
Tim Kientzle [Mon, 23 Feb 2009 01:14:58 +0000 (20:14 -0500)] 
Lots of comments, some minor code restructuring and cleanup.
One structural change:  timezones are now represented as seconds
offset from GMT, which makes everything a tad more consistent.

SVN-Revision: 699

17 years agoEliminate the global state object by allocating it
Tim Kientzle [Mon, 23 Feb 2009 00:38:20 +0000 (19:38 -0500)] 
Eliminate the global state object by allocating it
in the top-level get_date() function and passing it
down.

SVN-Revision: 698

17 years agoCollect all global state into a single structure called "global" for now.
Tim Kientzle [Sun, 22 Feb 2009 22:09:42 +0000 (17:09 -0500)] 
Collect all global state into a single structure called "global" for now.

SVN-Revision: 697

17 years agoNo more YACC: Translated the old getdate.y into a recursive-descent
Tim Kientzle [Sun, 22 Feb 2009 07:54:25 +0000 (02:54 -0500)] 
No more YACC:  Translated the old getdate.y into a recursive-descent
parser in plain C.  Should recognize exactly the same date specifications
as the former YACC version.

SVN-Revision: 696

17 years agoTrack first and last parsed token.
Tim Kientzle [Sun, 22 Feb 2009 06:41:48 +0000 (01:41 -0500)] 
Track first and last parsed token.

SVN-Revision: 695

17 years agoAnother step in refactoring getdate.y: We now tokenize the
Tim Kientzle [Sun, 22 Feb 2009 06:30:59 +0000 (01:30 -0500)] 
Another step in refactoring getdate.y:  We now tokenize the
entire string, then return elements from the token array.
This will greatly simplify handling look-ahead in the next
refactoring step.

SVN-Revision: 694

17 years agoTowards a yacc-less bsdtar: Push some bookkeeping down towards the
Tim Kientzle [Sun, 22 Feb 2009 06:23:03 +0000 (01:23 -0500)] 
Towards a yacc-less bsdtar:  Push some bookkeeping down towards the
leaves, which gets us closer to a simple "phrase book" structure for
the grammar.  Isolate a stateless tokenizer that can be used in other
ways.

SVN-Revision: 693

17 years agosvn property fixup.
Tim Kientzle [Sun, 22 Feb 2009 06:20:14 +0000 (01:20 -0500)] 
svn property fixup.

SVN-Revision: 692

17 years agogetdate.c and getdate.h are not as special as they used to be.
Tim Kientzle [Sun, 22 Feb 2009 06:19:54 +0000 (01:19 -0500)] 
getdate.c and getdate.h are not as special as they used to be.

SVN-Revision: 691

17 years agoFix signed/unsigned mismatch.
Tim Kientzle [Sat, 21 Feb 2009 22:42:51 +0000 (17:42 -0500)] 
Fix signed/unsigned mismatch.

SVN-Revision: 690

17 years agoCheck in getdate.c and getdate.h.
Tim Kientzle [Sat, 21 Feb 2009 19:19:33 +0000 (14:19 -0500)] 
Check in getdate.c and getdate.h.

On systems that have Yacc or Bison, these are constructed from
getdate.y.  However, as we push the portability envelope, we're
encountering more systems that don't have Yacc/Bison and the
lack of these files is making it difficult for people on those
platforms to contribute.

Eventually, I'd like to rewrite getdate() into straight C
and lose the Yacc dependency entirely, but I'm not quite
ready for that.

SVN-Revision: 689

17 years agoMinor fidgeting with the AM/PM parsing.
Tim Kientzle [Sat, 21 Feb 2009 07:22:59 +0000 (02:22 -0500)] 
Minor fidgeting with the AM/PM parsing.

SVN-Revision: 688

17 years agoAdd in more tests of the date-parsing logic.
Tim Kientzle [Sat, 21 Feb 2009 07:19:03 +0000 (02:19 -0500)] 
Add in more tests of the date-parsing logic.

SVN-Revision: 687

17 years agoPartial fix for Issue 5: If -P is not specified, strip Windows drive
Tim Kientzle [Sat, 21 Feb 2009 06:13:58 +0000 (01:13 -0500)] 
Partial fix for Issue 5: If -P is not specified, strip Windows drive
letters as well as leading '/' characters.

SVN-Revision: 682

17 years agoSynchronize la_open function in bsdtar_windows.c
Michihiro NAKAJIMA [Sat, 21 Feb 2009 03:08:18 +0000 (22:08 -0500)] 
Synchronize la_open function in bsdtar_windows.c
with the one in libarchive_windows.c for
maintenance to be easily.

SVN-Revision: 681

17 years agoOn Windows, Avoid la_open function returning error
Michihiro NAKAJIMA [Sat, 21 Feb 2009 02:46:41 +0000 (21:46 -0500)] 
On Windows, Avoid la_open function returning error
when we open a direcotry with O_RDONLY mode.
A behavior of la_open function is close to
the POSIX open function.

SVN-Revision: 680

17 years agoFix a bug. Did not handle character '\' when
Michihiro NAKAJIMA [Fri, 20 Feb 2009 23:19:48 +0000 (18:19 -0500)] 
Fix a bug. Did not handle character '\' when
converting to wide-character is failed.

SVN-Revision: 679

17 years agoWindows shell whose name is command.exe/cmd.exe does not
Michihiro NAKAJIMA [Fri, 20 Feb 2009 22:25:23 +0000 (17:25 -0500)] 
Windows shell whose name is command.exe/cmd.exe does not
deal with wildcard characters '*' and '?'.
Windows application should handle those characters by
FindFirstFile() Win32 API for usability.

SVN-Revision: 678

17 years agoIf we don't have yacc or bison, just warn and continue.
Tim Kientzle [Fri, 20 Feb 2009 07:09:03 +0000 (02:09 -0500)] 
If we don't have yacc or bison, just warn and continue.
In particular, most Windows folks don't have it; that's why
we include pre-built getdate.c/getdate.h in the shipped packages.

SVN-Revision: 677

17 years agoSimplify cheking that a compression is not supported.
Michihiro NAKAJIMA [Thu, 19 Feb 2009 08:42:27 +0000 (03:42 -0500)] 
Simplify cheking that a compression is not supported.

SVN-Revision: 676

17 years agoCompress/uncompress programs such as gzip or gunzip are
Michihiro NAKAJIMA [Thu, 19 Feb 2009 06:46:54 +0000 (01:46 -0500)] 
Compress/uncompress programs such as gzip or gunzip are
not always available in the system on which test program
(libarchive_test) is running.

SVN-Revision: 675

17 years agoOn Windows, libarchive/bsdtar can deal with an external program.
Michihiro NAKAJIMA [Thu, 19 Feb 2009 06:15:21 +0000 (01:15 -0500)] 
On Windows, libarchive/bsdtar can deal with an external program.

SVN-Revision: 674

17 years agoSince gzip has a fallback to an executable, we can unconditionally
Tim Kientzle [Wed, 18 Feb 2009 22:26:33 +0000 (17:26 -0500)] 
Since gzip has a fallback to an executable, we can unconditionally
support it in archive_read_support_compression_all().

SVN-Revision: 669

17 years agoDon't redefine isdigit(). Since this is only used in one place,
Tim Kientzle [Wed, 18 Feb 2009 22:25:31 +0000 (17:25 -0500)] 
Don't redefine isdigit().  Since this is only used in one place,
just expand it there and remove the macro.

SVN-Revision: 668

17 years agoBoth cpio/test/test.h and cpio/cpio_platform.h try to define __FBSDID
Tim Kientzle [Wed, 18 Feb 2009 21:32:02 +0000 (16:32 -0500)] 
Both cpio/test/test.h and cpio/cpio_platform.h try to define __FBSDID
on non-FreeBSD platforms.  Avoid conflicts.

SVN-Revision: 661

17 years agoIssue 8: Compression name should be "none" if we're reading
Tim Kientzle [Wed, 18 Feb 2009 05:59:34 +0000 (00:59 -0500)] 
Issue 8: Compression name should be "none" if we're reading
an uncompressed archive.  Fill in assertions to verify textual
name for various compression formats.

SVN-Revision: 659

17 years agoIssue 7: Only flush and close the file if the file was actually
Tim Kientzle [Wed, 18 Feb 2009 05:46:34 +0000 (00:46 -0500)] 
Issue 7: Only flush and close the file if the file was actually
opened.  Add a test for this case and update all the build systems.
(Note: the FreeBSD-specific Makefiles should be removed; three
build systems is too many.)

SVN-Revision: 658

17 years agoCatch up with some file renaming.
Tim Kientzle [Wed, 18 Feb 2009 05:41:49 +0000 (00:41 -0500)] 
Catch up with some file renaming.

SVN-Revision: 657

17 years agoAdd test_compat_xz.c into CMakeLists.txt.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 23:34:38 +0000 (18:34 -0500)] 
Add test_compat_xz.c into CMakeLists.txt.
I forgot it.

SVN-Revision: 656

17 years agoAdd xz compatibly test.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 23:31:22 +0000 (18:31 -0500)] 
Add xz compatibly test.

SVN-Revision: 655

17 years agoFor portability, some platform cannot always support
Michihiro NAKAJIMA [Tue, 17 Feb 2009 21:01:05 +0000 (16:01 -0500)] 
For portability, some platform cannot always support
gzip compression(zlib).

SVN-Revision: 654

17 years agoRemove all compiling condition of ZLIB and BZLIB2
Michihiro NAKAJIMA [Tue, 17 Feb 2009 07:43:15 +0000 (02:43 -0500)] 
Remove all compiling condition of ZLIB and BZLIB2
from libarchive_test.

SVN-Revision: 653

17 years agoAdd stricter warning option to Visual Studio.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 06:04:44 +0000 (01:04 -0500)] 
Add stricter warning option to Visual Studio.

SVN-Revision: 652

17 years agoAdd test_read_format_txz.c into CMakeLists.txt
Michihiro NAKAJIMA [Tue, 17 Feb 2009 05:41:12 +0000 (00:41 -0500)] 
Add test_read_format_txz.c into CMakeLists.txt

SVN-Revision: 651

17 years agoAdd more xz format test.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 05:32:05 +0000 (00:32 -0500)] 
Add more xz format test.

SVN-Revision: 650

17 years agoEliminate compiling warning in xz compression.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 03:53:10 +0000 (22:53 -0500)] 
Eliminate compiling warning in xz compression.

SVN-Revision: 649

17 years agoEliminate compiling warning.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 20:12:49 +0000 (15:12 -0500)] 
Eliminate compiling warning.

SVN-Revision: 648

17 years agoEliminate linking error when the platform is non-Posix
Michihiro NAKAJIMA [Mon, 16 Feb 2009 19:44:09 +0000 (14:44 -0500)] 
Eliminate linking error when the platform is non-Posix
system and does not have zlib.

SVN-Revision: 647

17 years agoFill in a missing #else
Tim Kientzle [Mon, 16 Feb 2009 19:33:52 +0000 (14:33 -0500)] 
Fill in a missing #else

SVN-Revision: 646

17 years agoClarify the failure messages and generalize the end-of-line test to
Tim Kientzle [Mon, 16 Feb 2009 19:33:31 +0000 (14:33 -0500)] 
Clarify the failure messages and generalize the end-of-line test to
accept \r\n or \n line termination.

SVN-Revision: 645

17 years agoSkip symlink tests on Windows.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 07:56:21 +0000 (02:56 -0500)] 
Skip symlink tests on Windows.
Now, all bsdtar tests passed on Windows.
Results are:
0 of 13 tests reported failures
 Total of 84126 assertions checked.
 Total of 0 assertions failed.
 Total of 9 assertions skipped.

Still needs more improvement.

SVN-Revision: 644

17 years agoFix spelling.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 07:33:47 +0000 (02:33 -0500)] 
Fix spelling.

SVN-Revision: 643

17 years agoOn Windows, a file mode of group members and others
Michihiro NAKAJIMA [Mon, 16 Feb 2009 07:04:28 +0000 (02:04 -0500)] 
On Windows, a file mode of group members and others
does not work.

SVN-Revision: 642

17 years agoConsider carriage return code on Windows.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:56:51 +0000 (01:56 -0500)] 
Consider carriage return code on Windows.

SVN-Revision: 641

17 years agoSkip the test using -s option if bsdtar does not support
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:52:20 +0000 (01:52 -0500)] 
Skip the test using -s option if bsdtar does not support
that platform does not have regex.h.

SVN-Revision: 640

17 years agocommand.com cannot handle "`" operation like unix shell.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:43:41 +0000 (01:43 -0500)] 
command.com cannot handle "`" operation like unix shell.
e.g. bsdtar cvf - `cat listfile` > xxx

SVN-Revision: 639

17 years agocommand.com cannot accept the command used '/' with drive
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:29:46 +0000 (01:29 -0500)] 
command.com cannot accept the command used '/' with drive
name such as c:/xxx/bsdtar.exe when use '|' pipe handling.

SVN-Revision: 638

17 years agoMake sure close file descriptor in bsdtar_test.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:15:43 +0000 (01:15 -0500)] 
Make sure close file descriptor in bsdtar_test.

SVN-Revision: 637

17 years agoSimplify Windows conditionals just a bit.
Tim Kientzle [Mon, 16 Feb 2009 05:10:51 +0000 (00:10 -0500)] 
Simplify Windows conditionals just a bit.

SVN-Revision: 636

17 years agoAdd execution bit to directory mode.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 04:13:35 +0000 (23:13 -0500)] 
Add execution bit to directory mode.
It is more simular unix.

SVN-Revision: 635

17 years agoBug fix. we need how log match path1 and path2 are.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 03:40:08 +0000 (22:40 -0500)] 
Bug fix. we need how log match path1 and path2 are.

SVN-Revision: 634

17 years agoConsider a directory separator of Windows.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 02:23:17 +0000 (21:23 -0500)] 
Consider a directory separator of Windows.

SVN-Revision: 633

17 years agoMake sure open() function is used with a binary mode
Michihiro NAKAJIMA [Mon, 16 Feb 2009 02:19:16 +0000 (21:19 -0500)] 
Make sure open() function is used with  a binary mode
on Windows.

SVN-Revision: 632

17 years agoOn Windows, Use "rmdir /S /Q" instead of "rm -rf"
Michihiro NAKAJIMA [Mon, 16 Feb 2009 02:06:45 +0000 (21:06 -0500)] 
On Windows, Use "rmdir /S /Q" instead of "rm -rf"
to remove directory.

SVN-Revision: 631

17 years agoOn Windows, Use NUL instead of /dev/null.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 02:02:13 +0000 (21:02 -0500)] 
On Windows, Use NUL instead of /dev/null.

SVN-Revision: 630

17 years agoNow, we can run bsdtar and bsdtar_test on Windows.
Michihiro NAKAJIMA [Sun, 15 Feb 2009 23:05:53 +0000 (18:05 -0500)] 
Now, we can run bsdtar and bsdtar_test on Windows.
But those need more improvement.
bsdtar_test reported many errors.

SVN-Revision: 629

17 years agoBackout r624. It is wrong way.
Michihiro NAKAJIMA [Sun, 15 Feb 2009 22:03:45 +0000 (17:03 -0500)] 
Backout r624. It is wrong way.

SVN-Revision: 628

17 years agoDo not call __archive_errx function in POISX functions
Michihiro NAKAJIMA [Sun, 15 Feb 2009 21:51:23 +0000 (16:51 -0500)] 
Do not call __archive_errx function in POISX functions
replaced or implemented on Windows. Consider those
functions are used by bsdtar or bsdcpio. Or those ones
copy to bsdtar or bsdcpio easily.

SVN-Revision: 627

17 years agor625 uncovered a few places where const was needed.
Tim Kientzle [Sun, 15 Feb 2009 21:46:15 +0000 (16:46 -0500)] 
r625 uncovered a few places where const was needed.
In particular, the refdir and testprog variables should have been const.

SVN-Revision: 626

17 years agoWhen parse options in bsdtar_test, Do not use getopt(),
Michihiro NAKAJIMA [Sun, 15 Feb 2009 20:47:24 +0000 (15:47 -0500)] 
When parse options in bsdtar_test, Do not use getopt(),
which isn't available on all platforms.

SVN-Revision: 625

17 years agoOn Windows, Do not call _close() function directly to
Michihiro NAKAJIMA [Sun, 15 Feb 2009 20:03:40 +0000 (15:03 -0500)] 
On Windows, Do not call _close() function directly to
avoid assertion message.

SVN-Revision: 624

17 years agoYacc bison 2.1 for Windows installed is detected
Michihiro NAKAJIMA [Sun, 15 Feb 2009 04:03:40 +0000 (23:03 -0500)] 
Yacc bison 2.1 for Windows installed is detected
but does not work. It is shell script.

SVN-Revision: 623

17 years agoAvoid compiling warning on the platform that does not have regex.h
Michihiro NAKAJIMA [Sun, 15 Feb 2009 03:27:09 +0000 (22:27 -0500)] 
Avoid compiling warning on the platform that does not have regex.h

SVN-Revision: 622

17 years agoRemove unnecessary definition.
Michihiro NAKAJIMA [Sun, 15 Feb 2009 03:21:41 +0000 (22:21 -0500)] 
Remove unnecessary definition.

SVN-Revision: 621

17 years agoEliminate cmake error.
Michihiro NAKAJIMA [Sun, 15 Feb 2009 03:17:26 +0000 (22:17 -0500)] 
Eliminate cmake error.

SVN-Revision: 620

17 years agoMinor tweaks to the README
Tim Kientzle [Sat, 14 Feb 2009 08:47:03 +0000 (03:47 -0500)] 
Minor tweaks to the README

SVN-Revision: 619

17 years agoUpdate the PROJECTS file just a bit.
Tim Kientzle [Sat, 14 Feb 2009 08:44:19 +0000 (03:44 -0500)] 
Update the PROJECTS file just a bit.

SVN-Revision: 618

17 years agoUpdate the INSTALL instructions a bit. Need to fill in more detail
Tim Kientzle [Sat, 14 Feb 2009 08:40:31 +0000 (03:40 -0500)] 
Update the INSTALL instructions a bit.  Need to fill in more detail
about cmake usage.

SVN-Revision: 617

17 years agobuild/autoconf dir is used to hold most of the autoconf-related support
Tim Kientzle [Sat, 14 Feb 2009 08:26:15 +0000 (03:26 -0500)] 
build/autoconf dir is used to hold most of the autoconf-related support
files.

SVN-Revision: 616

17 years agoThese are executable files.
Tim Kientzle [Sat, 14 Feb 2009 08:25:49 +0000 (03:25 -0500)] 
These are executable files.

SVN-Revision: 615

17 years agoCatch up with some of the moved files.
Tim Kientzle [Sat, 14 Feb 2009 08:14:01 +0000 (03:14 -0500)] 
Catch up with some of the moved files.

SVN-Revision: 614

17 years agoMove the version number stamp file and the release.sh/autogen.sh scripts
Tim Kientzle [Sat, 14 Feb 2009 08:13:15 +0000 (03:13 -0500)] 
Move the version number stamp file and the release.sh/autogen.sh scripts
out of the root directory and into the 'build' directory.

SVN-Revision: 613

17 years agoMove some of the autoconf support files into build/autoconf.
Tim Kientzle [Sat, 14 Feb 2009 07:51:43 +0000 (02:51 -0500)] 
Move some of the autoconf support files into build/autoconf.
It should be possible to move a lot more of the autoconf support
files (including Makefile.in, autom4te.cache, etc) into
build/autoconf, but I haven't found any way to do this.

SVN-Revision: 612

17 years agoThis shouldn't be in SVN.
Tim Kientzle [Sat, 14 Feb 2009 07:13:11 +0000 (02:13 -0500)] 
This shouldn't be in SVN.

SVN-Revision: 611

17 years agoClean up the top level a bit by moving the auxiliary cmake files down into
Tim Kientzle [Sat, 14 Feb 2009 00:03:30 +0000 (19:03 -0500)] 
Clean up the top level a bit by moving the auxiliary cmake files down into
build/cmake and the windows build files down into build/windows.
I intend to do the same with the autoconf files, but that will
require a little more creativity.

SVN-Revision: 610

17 years agoThe signature byte sequence is a 'const' argument.
Tim Kientzle [Fri, 13 Feb 2009 23:49:10 +0000 (18:49 -0500)] 
The signature byte sequence is a 'const' argument.

SVN-Revision: 609

17 years agoClear the bidder object before returning it.
Tim Kientzle [Fri, 13 Feb 2009 23:48:24 +0000 (18:48 -0500)] 
Clear the bidder object before returning it.

SVN-Revision: 608

17 years agoDo not regard a read data in which a character '\n'
Michihiro NAKAJIMA [Fri, 13 Feb 2009 19:08:14 +0000 (14:08 -0500)] 
Do not regard a read data in which a character '\n'
isn't included as last block of a mtree file or
last line of a entry. A data returned by the
__archive_read_ahead function isn't always includeing
the character '\n' if following datas have it.

SVN-Revision: 607

17 years agoImprove /set keyword handling in mtree.
Michihiro NAKAJIMA [Fri, 13 Feb 2009 13:46:12 +0000 (08:46 -0500)] 
Improve /set keyword handling in mtree.
When a parent directory is changed, check datas written with
/set keyword and write it again if its values are different from
current entry's, except directory-only mode.

SVN-Revision: 606

17 years agoDo not use _waccess_s function. we cannot know
Michihiro NAKAJIMA [Wed, 11 Feb 2009 13:44:52 +0000 (08:44 -0500)] 
Do not use _waccess_s function. we cannot know
whether a path is a directory.

SVN-Revision: 605

17 years agoCatch up on r599 for cmake.
Michihiro NAKAJIMA [Mon, 9 Feb 2009 13:19:34 +0000 (08:19 -0500)] 
Catch up on r599 for cmake.

SVN-Revision: 602

17 years agoOn Windows, remove compiling option that eliminate POSIX
Michihiro NAKAJIMA [Mon, 9 Feb 2009 12:57:08 +0000 (07:57 -0500)] 
On Windows, remove compiling option that eliminate POSIX
deprecation warnings by.

SVN-Revision: 601

17 years agoFollow r590, add sys/types.h before sys/acl.h for
Michihiro NAKAJIMA [Mon, 9 Feb 2009 07:51:50 +0000 (02:51 -0500)] 
Follow r590, add sys/types.h before sys/acl.h for
cmake to check headers on Mac OSX.

SVN-Revision: 600

17 years agoSet -Wall -Werror to catch more minor build lint during development.
Tim Kientzle [Mon, 9 Feb 2009 06:19:35 +0000 (01:19 -0500)] 
Set -Wall -Werror to catch more minor build lint during development.

SVN-Revision: 599

17 years agoSome cast reworking, found by trying to build on Mac OS.
Tim Kientzle [Mon, 9 Feb 2009 06:14:23 +0000 (01:14 -0500)] 
Some cast reworking, found by trying to build on Mac OS.

SVN-Revision: 598

17 years agoDarwin gratuitously renamed 'libtoolize' to 'glibtoolize'. <sigh>
Tim Kientzle [Mon, 9 Feb 2009 06:13:45 +0000 (01:13 -0500)] 
Darwin gratuitously renamed 'libtoolize' to 'glibtoolize'.  <sigh>

SVN-Revision: 597

17 years agoFix a type mismatch.
Tim Kientzle [Mon, 9 Feb 2009 06:11:20 +0000 (01:11 -0500)] 
Fix a type mismatch.

SVN-Revision: 596

17 years agoMissing casts.
Tim Kientzle [Mon, 9 Feb 2009 06:10:49 +0000 (01:10 -0500)] 
Missing casts.

SVN-Revision: 595

17 years agoFill in a couple of missing casts.
Tim Kientzle [Mon, 9 Feb 2009 06:10:27 +0000 (01:10 -0500)] 
Fill in a couple of missing casts.

SVN-Revision: 594

17 years agoOn second thought, another guard here wouldn't hurt.
Tim Kientzle [Mon, 9 Feb 2009 06:10:09 +0000 (01:10 -0500)] 
On second thought, another guard here wouldn't hurt.

SVN-Revision: 593

17 years agoMake the fake __FBSDID() macro match the one in cpio/cpio_platform.h,
Tim Kientzle [Mon, 9 Feb 2009 06:09:20 +0000 (01:09 -0500)] 
Make the fake __FBSDID() macro match the one in cpio/cpio_platform.h,
so that we don't get errors from it being redefined.

SVN-Revision: 592

17 years agoFix a couple of signed/unsigned mismatches.
Tim Kientzle [Mon, 9 Feb 2009 06:00:29 +0000 (01:00 -0500)] 
Fix a couple of signed/unsigned mismatches.

SVN-Revision: 591

17 years agoGet this to compile on Mac OS. It looks like Mac OS
Tim Kientzle [Mon, 9 Feb 2009 05:59:03 +0000 (00:59 -0500)] 
Get this to compile on Mac OS.  It looks like Mac OS
xattr support is close to Linux, so it may be easy to
get this to work.  For now, though, I've just added
in enough configuration checks so it doesn't try to build
the xattr support.

SVN-Revision: 590