Re: [PATCHES] Patch for VS.Net 2005's strxfrm() bug

2006-07-25 Thread William ZHANG
Tom Lane [EMAIL PROTECTED] William ZHANG [EMAIL PROTECTED] writes: When I tried to compile pgsql-8.2devel with VS.Net 2005 and do regression tests, I found the problem. It's a bug inVS.Net 2005: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99694 So why

Re: [PATCHES] [BUGS] BUG #1815: ECPGdebug causes crash on Windows XP

2005-08-13 Thread William ZHANG
Bruce Momjian pgman@candle.pha.pa.us wrote:[EMAIL PROTECTED] William ZHANG wrote: Make sure the lib directory is in the PATH. I tested it in MinGW. $ ecpg main.pgc $ gcc main.c -I../include -L../lib -lecpg $ export PATH=$PATH:/c/Program Files/PostgreSQL/8.0/lib $ ./a.exe [1772

Re: [PATCHES] Bug in canonicalize_path()

2005-08-11 Thread William ZHANG
What if we let the trailing . or .. as it is? On Windows, GetFullPathName() can canonicalize a given path. $ uname -a MINGW32_NT-5.0 DEV 1.0.10(0.46/3/2) 2003-10-11 10:14 i686 unknown $ cat path.c #include windows.h int main(void) { CHAR Buf[1024]; GetFullPathName(C:\\Temp,

Re: [PATCHES] Bug in canonicalize_path()

2005-08-11 Thread William ZHANG
pgman@candle.pha.pa.us To: Tom Lane [EMAIL PROTECTED] Cc: William ZHANG [EMAIL PROTECTED]; pgsql-patches@postgresql.org Sent: Friday, August 12, 2005 11:15 AM Subject: Re: [PATCHES] Bug in canonicalize_path() Tom Lane wrote: Bruce Momjian pgman@candle.pha.pa.us writes: But what about usr/local