lkml.org 
[lkml]   [2001]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.15 kernel bug report
On Tue, Apr 03, 2001 at 01:53:26AM -0700, Allen Ashley wrote:

> ---------------------------------------------------------------
> soval=fcntl(s,F_GETFL,0);
> ioval=fcntl(0,F_GETFL,0);
> fcntl(s,F_SETFL,soval|O_NONBLOCK);
> fcntl(0,F_SETFL,ioval|O_NONBLOCK);
> cwait=WAITCONNECT;
> *chin=0;
> do{
> /*If the following line is commented out the program does not crash*/
> rval=connect(s, (struct sockaddr *)&dst, sizeof(dst));

You haven't mentioned dst before this line, or s. Make a small,
complete, minimal test program that shows the bug.

Tim.
*/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.078 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site