1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-06 00:02:13 +03:00

pgindent run for 9.5

This commit is contained in:
Bruce Momjian
2015-05-23 21:35:49 -04:00
parent 225892552b
commit 807b9e0dff
414 changed files with 5810 additions and 5308 deletions

View File

@@ -2517,14 +2517,14 @@ walkdir(char *path, void (*action) (char *fname, bool isdir))
int len;
struct stat lst;
len = readlink(subpath, linkpath, sizeof(linkpath)-1);
len = readlink(subpath, linkpath, sizeof(linkpath) - 1);
if (len < 0)
ereport(ERROR,
(errcode_for_file_access(),
errmsg("could not read symbolic link \"%s\": %m",
subpath)));
if (len >= sizeof(linkpath)-1)
if (len >= sizeof(linkpath) - 1)
ereport(ERROR,
(errmsg("symbolic link \"%s\" target is too long",
subpath)));