[comp.unix.misc] Ambiguity in definition of setjmp/longjmp makes them much less useful

peter@ficc.ferranti.com (Peter da Silva) (10/10/90)

> > Of course, you need to do this in BSD, but BSD is buggier than a dog pound.

> Say what? I've written large BSD applications that don't do anything
> inside signal handlers other than set flags. Where's this ``need'' you
> talk about?

To use an alarm to break a read. In system V you can do that just by setting
a flag. In BSD you have to longjmp out. Now you'll tell me to use sockets. I'm
allergic to objects outside the UNIX filesystem name space.

> And if you're going to insist that BSD is buggier than SysV,
> how about some proof?

I didn't say that. I said BSD is buggier than a dog pound. That doesn't
imply that System V *isn't*. I just tend to trust System V more because
it shows fewer signs of feeping creaturism. Fewer places for bugs to
hide. In retrospect the awful tardiness of AT&T in getting streams into
someplace you can do something useful with them might be a blessing.
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter@ferranti.com

brnstnd@kramden.acf.nyu.edu (Dan Bernstein) (10/10/90)

In article <G2B6:ND@xds13.ferranti.com> peter@ficc.ferranti.com (Peter da Silva) writes:
> > Say what? I've written large BSD applications that don't do anything
> > inside signal handlers other than set flags. Where's this ``need'' you
> > talk about?
> To use an alarm to break a read. In system V you can do that just by setting
> a flag. In BSD you have to longjmp out.

Oh... Catch up to 4.3, where this has been fixed (in fact giving the
programmer the choice of what to do). You're right, BSD 4.2 can be quite
annoying at times.

> > And if you're going to insist that BSD is buggier than SysV,
> > how about some proof?
> I didn't say that. I said BSD is buggier than a dog pound.

Exactly. And vague statements like ``System V shows fewer signs of
feeping creaturism'' don't convince anyone that BSD is buggier than
System V.

---Dan

peter@ficc.ferranti.com (Peter da Silva) (10/10/90)

In article <18744:Oct1004:11:5190@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes:
> Exactly. And vague statements like ``System V shows fewer signs of
> feeping creaturism'' don't convince anyone that BSD is buggier than
> System V.

Well, that's really great! I'm totally happy with that, and I'm glad we
could have this interchange.

I still haven't said BSD is buggier than System V. I'm saying that System
V seems better integrated and I personally trust it more. The bugs are
weirder in BSD, if you like. I wish they'd both dry up and blow away so
we could start over, but it won't happen...
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter@ferranti.com