From 436a2956d80db29ac1dff640b631620d856b4f70 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 22 Nov 2005 18:17:34 +0000 Subject: Re-run pgindent, fixing a problem where comment lines after a blank comment line where output as too long, and update typedefs for /lib directory. Also fix case where identifiers were used as variable names in the backend, but as typedefs in ecpg (favor the backend for indenting). Backpatch to 8.1.X. --- src/port/exec.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/port/exec.c') diff --git a/src/port/exec.c b/src/port/exec.c index e754b182157..80fbccfd3bc 100644 --- a/src/port/exec.c +++ b/src/port/exec.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/exec.c,v 1.39 2005/10/15 02:49:51 momjian Exp $ + * $PostgreSQL: pgsql/src/port/exec.c,v 1.40 2005/11/22 18:17:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -95,8 +95,8 @@ validate_exec(const char *path) /* * Ensure that the file exists and is a regular file. * - * XXX if you have a broken system where stat() looks at the symlink instead - * of the underlying file, you lose. + * XXX if you have a broken system where stat() looks at the symlink + * instead of the underlying file, you lose. */ if (stat(path, &buf) < 0) return -1; @@ -297,9 +297,9 @@ resolve_symlinks(char *path) * points, for example). After following the final symlink, we use * getcwd() to figure out where the heck we're at. * - * One might think we could skip all this if path doesn't point to a symlink - * to start with, but that's wrong. We also want to get rid of any - * directory symlinks that are present in the given path. We expect + * One might think we could skip all this if path doesn't point to a + * symlink to start with, but that's wrong. We also want to get rid of + * any directory symlinks that are present in the given path. We expect * getcwd() to give us an accurate, symlink-free path. */ if (!getcwd(orig_wd, MAXPGPATH)) -- cgit v1.2.3