1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-12 21:01:52 +03:00

Preliminary work for pgindent run.

Update typedefs.list from current buildfarm results.  Adjust pgindent's
typedef blacklist to block some more unfortunate typedef names that have
snuck in since last time.  Manually tweak a few places where I didn't
like the initial results of pgindent'ing.
This commit is contained in:
Tom Lane
2018-04-26 14:45:04 -04:00
parent a0854f1072
commit f83bf385c1
6 changed files with 118 additions and 22 deletions

View File

@ -114,8 +114,8 @@ run_ssl_passphrase_command(const char *prompt, bool is_server_start, char *buf,
/* strip trailing newline */
len = strlen(buf);
if (buf[len - 1] == '\n')
buf[len-- -1] = '\0';
if (len > 0 && buf[len - 1] == '\n')
buf[--len] = '\0';
error:
pfree(command.data);