-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to 1.24: various bug fixes, no major changes
- Loading branch information
Christian Weisgerber
committed
Oct 28, 2010
1 parent
4a18221
commit 0721dcc
Showing
11 changed files
with
96 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
MD5 (tar-1.23.tar.bz2) = QeLKS5JOx4YOUbQ60Gzbfg== | ||
RMD160 (tar-1.23.tar.bz2) = 55Bit/adgLc0RFMG9p+4uWgB6Qk= | ||
SHA1 (tar-1.23.tar.bz2) = bzsUQ6AZ2gLk7CChRG1KpUtIgHE= | ||
SHA256 (tar-1.23.tar.bz2) = yTKDctti+7HZTJ5OPO/JYREa9G3kcIW2NTWcAKDuvjY= | ||
SIZE (tar-1.23.tar.bz2) = 2189324 | ||
MD5 (tar-1.24.tar.xz) = 3rrkQ95+HGHNJMLVO8pQxg== | ||
RMD160 (tar-1.24.tar.xz) = 1cBnDy153qPI4+jZTTPfQH3IFTs= | ||
SHA1 (tar-1.24.tar.xz) = ynlri76Xaz/TdipL1lJATRNlDnI= | ||
SHA256 (tar-1.24.tar.xz) = WcSjj3b1SeqLwTC0f0HRKzIvCHsN2jnzIKjbHWjANe4= | ||
SIZE (tar-1.24.tar.xz) = 1763448 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
$OpenBSD: patch-gnu_fdopendir_c,v 1.1 2010/10/28 13:50:30 naddy Exp $ | ||
--- gnu/fdopendir.c.orig Tue Oct 26 17:44:19 2010 | ||
+++ gnu/fdopendir.c Tue Oct 26 17:45:00 2010 | ||
@@ -144,6 +144,7 @@ fd_clone_opendir (int fd) | ||
# else /* !REPLACE_FCHDIR */ | ||
|
||
/* Occupy the destination FD slot, so that save_cwd cannot hijack it. */ | ||
+ struct saved_cwd saved_cwd; | ||
int fd_reserve = dup (fd); | ||
if (fd_reserve < 0) | ||
{ | ||
@@ -152,7 +153,6 @@ fd_clone_opendir (int fd) | ||
goto fail; | ||
} | ||
|
||
- struct saved_cwd saved_cwd; | ||
if (save_cwd (&saved_cwd) != 0) | ||
openat_save_fail (errno); | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
$OpenBSD: patch-tests_extrac11_at,v 1.1 2010/10/28 13:50:30 naddy Exp $ | ||
--- tests/extrac11.at.orig Sun Oct 24 20:07:46 2010 | ||
+++ tests/extrac11.at Thu Oct 28 15:10:15 2010 | ||
@@ -45,31 +45,37 @@ for dir in $dirs; do | ||
done | ||
done | ||
|
||
-# Check that "ulimit" itself works. | ||
-((ulimit -n 100 && | ||
- tar -cf archive1.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- && | ||
- tar -xf archive1.tar -C dest1 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- | ||
- ) && | ||
- diff -r a dest1/a | ||
+# Check that "ulimit" itself works. Close file descriptors before | ||
+# invoking ulimit, to work around a bug (or a "feature") in some shells, | ||
+# where they squirrel away dups of file descriptors into FD 10 and up | ||
+# before closing the originals. | ||
+( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- && | ||
+ ulimit -n 100 && | ||
+ tar -cf archive1.tar a && | ||
+ tar -xf archive1.tar -C dest1 a | ||
+ ) && | ||
+ diff -r a dest1/a | ||
) >/dev/null 2>&1 || | ||
AT_SKIP_TEST | ||
|
||
# Another test that "ulimit" itself works: | ||
# tar should fail when completely starved of file descriptors. | ||
-((ulimit -n 4 && | ||
- tar -cf archive2.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- && | ||
- tar -xf archive2.tar -C dest2 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- | ||
- ) && | ||
- diff -r a dest2/a | ||
+( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- && | ||
+ ulimit -n 4 && | ||
+ tar -cf archive2.tar a && | ||
+ tar -xf archive2.tar -C dest2 a | ||
+ ) && | ||
+ diff -r a dest2/a | ||
) >/dev/null 2>&1 && | ||
AT_SKIP_TEST | ||
|
||
# Tar should work when there are few, but enough, file descriptors. | ||
-((ulimit -n 10 && | ||
- tar -cf archive3.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- && | ||
- tar -xf archive3.tar -C dest3 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- | ||
- ) && | ||
- diff -r a dest3/a >/dev/null 2>&1 | ||
+( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- && | ||
+ ulimit -n 10 && | ||
+ tar -cf archive3.tar a && | ||
+ tar -xf archive3.tar -C dest3 a | ||
+ ) && | ||
+ diff -r a dest3/a >/dev/null 2>&1 | ||
) || { diff -r a dest3/a; exit 1; } | ||
], | ||
[0],[],[],[],[],[gnu]) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters