Fix small bug for build without HAVE_SYMLINK

Started by Yury Zhuravlevover 10 years ago2 messageshackers
Jump to latest
#1Yury Zhuravlev
u.zhuravlev@postgrespro.ru

Hello hackers.

During my work on CMake I stumbled upon this simple bug. I think this is
important for mingw users.
The function is trying to return a variable that has not been announced.

Patch in attach. Probably relevant for stable releases.

Thanks!
--
YUriy Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachments:

have_symlink_bugfix_v1.patchtext/x-patch; charset=UTF-8; name=have_symlink_bugfix_v1.patchDownload+4-2
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Yury Zhuravlev (#1)
Re: Fix small bug for build without HAVE_SYMLINK

YUriy Zhuravlev <u.zhuravlev@postgrespro.ru> writes:

During my work on CMake I stumbled upon this simple bug. I think this is
important for mingw users.
The function is trying to return a variable that has not been announced.

Patch in attach. Probably relevant for stable releases.

Will commit, thanks!

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers