projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce9bb92
)
Use pg_usleep() instead of plain sleep(), to fix Windows build
author
Heikki Linnakangas
Wed, 26 Mar 2014 13:25:39 +0000
(15:25 +0200)
committer
Heikki Linnakangas
Wed, 26 Mar 2014 13:25:39 +0000
(15:25 +0200)
Per buildfarm.
contrib/pg_xlogdump/pg_xlogdump.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_xlogdump/pg_xlogdump.c
b/contrib/pg_xlogdump/pg_xlogdump.c
index e947696429d754907da8b828cad9852575dac84a..3fb9099649d72a627de305e5b713c6f9ae644779 100644
(file)
--- a/
contrib/pg_xlogdump/pg_xlogdump.c
+++ b/
contrib/pg_xlogdump/pg_xlogdump.c
@@
-705,7
+705,7
@@
main(int argc, char **argv)
break;
else
{
- sleep(1);
+ pg_usleep(1000000L); /* 1 second */
continue;
}
}