Skip site navigation (1) Skip section navigation (2)

Re: [pgsql-hackers-win32] Failures with windows port

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>,pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [pgsql-hackers-win32] Failures with windows port
Date: 2004-06-07 15:42:40
Message-ID: 40C48CF0.4040200@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32
Shridhar Daithankar wrote:

> Bruce Momjian wrote:
>
>> Shridhar Daithankar wrote:
>>
>>> Bruce Momjian wrote:
>>>
>>>>> http://www.hserus.net/~shridhar/regression.diffs.gz
>>>>> http://www.hserus.net/~shridhar/regression.out
>>>>
>>>>
>>>> Uh, were did you get this snapshot?  Hold old was it?  These newline
>>>> problems were fixed perhaps 2 weeks ago.
>>>
>>>
>>> ftp://ftp.postgresql.org/pub/dev/postgresql-snapshot.tar.gz
>>>
>>> It is timestamped at 6/7/2004, 8:09 AM.
>>>
>>> Anyways, I will install flex and bison and use CVS. I was just being 
>>> lazy to opt for a snapshot..
>>
>>
>>
>> That is certainly new enough.  We added a MinGW workaround to fix a
>> problem with extra newlines coming from psql, but you might have a
>> configuration that doesn't need the workaround.
>>
>> Do you need this line in psql/print.c?
>>     
>>     #ifndef __MINGW32__
>>         /* for some reason MinGW outputs an extra newline, so this 
>> supresses it */
>>         fputc('\n', fout);
>>     #endif
>>
>> That might be the cause of your problem?  If you have it try removing 
>> it and recompile.
>
>
> No it is not. A quick #if 0...#endif around it and recompile produced 
> 87 failures out of 95 test, one being ignored.
>
> Leaving it for a full build as I am calling it a day. Will give it 
> another  go tomorrow morning..
>

What you would need to test is not #ifdefing the whole thing out - 
rather you would need to enable the fputc by removing the #ifndef and 
#endif lines.

cheers

andrew

In response to

Responses

pgsql-hackers by date

Next:From: Andreas PflugDate: 2004-06-07 15:47:15
Subject: Re: serverlog function (log_destination file)
Previous:From: Shachar ShemeshDate: 2004-06-07 15:39:45
Subject: Re: Case preserving - suggestions

pgsql-hackers-win32 by date

Next:From: Jochem van DietenDate: 2004-06-07 16:14:00
Subject: Re: [HACKERS] Failures with windows port
Previous:From: Shridhar DaithankarDate: 2004-06-07 15:13:38
Subject: Re: [pgsql-hackers-win32] Failures with windows port

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group