Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit da505ea

Browse files
committed
Fix mistakes in commit d450994.
I intended to include a change to the "skip" count in the test case, but it didn't get folded into the commit. Do that now, so that non-zlib builds don't break. The new file bbstreamer_gzip.c needs <unistd.h> to avoid complaints about dup() not having a prototype, as per buildfarm returns.
1 parent d450994 commit da505ea

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/bin/pg_basebackup/bbstreamer_gzip.c

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#include "postgres_fe.h"
1313

14+
#include <unistd.h>
15+
1416
#ifdef HAVE_LIBZ
1517
#include <zlib.h>
1618
#endif

src/bin/pg_verifybackup/t/009_extract.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
my $method = $tc->{'compression_method'};
3737

3838
SKIP: {
39-
skip "$method compression not supported by this build", 3
39+
skip "$method compression not supported by this build", 2
4040
if ! $tc->{'enabled'};
4141

4242
# Take backup with server compression enabled.

0 commit comments

Comments
 (0)