Content-Length: 301300 | pFad | http://github.com/postgrespro/postgres/commit/5bb2ddc0af62cfcd538e0e51460fc1f4f91ee333
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991f3e5 commit 5bb2ddcCopy full SHA for 5bb2ddc
src/tools/entab/entab.c
@@ -14,6 +14,7 @@
14
#include <stdlib.h>
15
#include <string.h>
16
#include <stdarg.h>
17
+#include <unistd.h>
18
19
#if defined(WIN32) || defined(__CYGWIN__)
20
#define PG_BINARY_R "rb"
@@ -181,10 +182,12 @@ main(int argc, char **argv)
181
182
if (*src == '\\')
183
escaped = TRUE;
184
if (*src == '"' || *src == '\'')
185
+ {
186
if (quote_char == ' ')
187
quote_char = *src;
188
else if (*src == quote_char)
189
quote_char = ' ';
190
+ }
191
}
192
else if (*src != '\r' && *src != '\n')
193
escaped = FALSE;
src/tools/entab/halt.c
@@ -11,6 +11,7 @@
11
#include <signal.h>
12
#include <stdio.h>
13
+#include <string.h>
#include <errno.h>
Fetched URL: http://github.com/postgrespro/postgres/commit/5bb2ddc0af62cfcd538e0e51460fc1f4f91ee333
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments