Re: Can EINTR be handled the way BSD handles it? -- a plea from auser-land programmer...

2000-11-06 Thread dean gaudet
On Mon, 6 Nov 2000, George Talbot wrote: > I respectfully disagree that programs which don't surround some of the > most common system calls with > > do > { > rv = __some_system_call__(...); > } while (rv == -1 && errno == EINTR); welcome to Unix. this is how

Re: Can EINTR be handled the way BSD handles it? -- a plea from auser-land programmer...

2000-11-06 Thread Theodore Y. Ts'o
Date:Mon, 6 Nov 2000 09:13:25 -0500 (EST) From: George Talbot <[EMAIL PROTECTED]> I respectfully disagree that programs which don't surround some of the most common system calls with do { rv = __some_system_call__(...); }

Re: Can EINTR be handled the way BSD handles it? -- a plea from auser-land programmer...

2000-11-06 Thread George Talbot
I respectfully disagree that programs which don't surround some of the most common system calls with do { rv = __some_system_call__(...); } while (rv == -1 && errno == EINTR); are broken. Especially if those programs don't use signals. The problem that

Re: Can EINTR be handled the way BSD handles it? -- a plea from auser-land programmer...

2000-11-06 Thread George Talbot
I respectfully disagree that programs which don't surround some of the most common system calls with do { rv = __some_system_call__(...); } while (rv == -1 errno == EINTR); are broken. Especially if those programs don't use signals. The problem that

Re: Can EINTR be handled the way BSD handles it? -- a plea from auser-land programmer...

2000-11-06 Thread Theodore Y. Ts'o
Date:Mon, 6 Nov 2000 09:13:25 -0500 (EST) From: George Talbot [EMAIL PROTECTED] I respectfully disagree that programs which don't surround some of the most common system calls with do { rv = __some_system_call__(...); }

Re: Can EINTR be handled the way BSD handles it? -- a plea from auser-land programmer...

2000-11-06 Thread dean gaudet
On Mon, 6 Nov 2000, George Talbot wrote: I respectfully disagree that programs which don't surround some of the most common system calls with do { rv = __some_system_call__(...); } while (rv == -1 errno == EINTR); welcome to Unix. this is how it is, and