Re: Request for portability test of strerror().

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Pete Forman <gsez020(at)kryten(dot)bedford(dot)waii(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Request for portability test of strerror().
Date: 2000-10-20 13:17:10
Message-ID: 20001020091710.D1294@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Pete,

On Fri, Oct 20, 2000 at 12:33:06PM +0100, Pete Forman wrote:
> I'm preparing a patch for backend/utils/error to make the printing of
> error messages more robust. It would be very helpful if people on
> different systems would compile and run the following test program to
> check the behaviour of strerror().

On Cygwin 1.1.4, I get the following:

$ uname -a
CYGWIN_NT-4.0 KOSH 1.1.4(0.26/3/2) 2000-08-03 20:53 i686 unknown
$ strerror
errno = 0 after strerror(-1) returned "error -1"

Jason

--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2000-10-20 14:17:12 Re: Request for portability test of strerror().
Previous Message Pete Forman 2000-10-20 12:20:42 Re: Request for portability test of strerror().