Diedrich Vorberg ([EMAIL PROTECTED]) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
I fixed (worked arround) bug pqReadData function on HPUX

Long Description
Version: 7.2.1
uname -a: HP-UX c200 B.11.11 U 9000/782

I used to get a "could not receive data from server: Error: 0" error message from the 
pqReadData function in fe-misc.c:491. Turns out recv() returnes -1 but set errno to 0. 
I just guessed that means there´s nothing more to read and added a line

   if (SOCK_ERRNO == 0) return someread; 

which made the problem go away. I have not taken the time to investigate further and I 
am afraid my expertise is insufficient :) 

Sorry about my poor Server-programming, hope this points you in the right direction.

Diedrich

Sample Code


No file was uploaded with this report


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to