[5003] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Re: pmail [solaris 7.7K]

daemon@ATHENA.MIT.EDU (Salvatore Valente)
Mon Oct 31 01:06:32 1994

Date: Mon, 31 Oct 1994 01:06:04 +0500
To: yandros@MIT.EDU
Cc: bug-sipb@MIT.EDU
In-Reply-To: "[5002] in SIPB bug reports"
From: Salvatore Valente <svalente@MIT.EDU>


	I just ran pmail on inf.  I tried to reply to a message.
	After I hit `.', I got:
	  gtty: Invalid argument
	  & Saved 2 messages in mbox
	  Held 14 messages in /mit/yandros/.Private/mail/mbox.pop
	and then my shell promt.  I didn't hit `q' or `x' or any of those...

Fixed.

Actually, I should be more specific.  I fixed the bug that made it
quit after you replied.  (It was a bug in the bsd-solaris library.  In
my implementation of signal() using sigaction(), I forgot to set the
restartable syscalls flag, so receiving a sigchld during fgets() was
causing read() to tell fgets() that it had reached the eof on stdin
and so the program would quit...  Blah blah blah blah...  Anyway, I
got a minor headache debugging it.)

As far as the "gtty: Invalid argument", this is an unrelated bug, and
I haven't been able to reproduce it.  However, I looked at the code
that outputs that error message, and it's really sloppy, so I might be
able to fix it anyway...  :-)

Have a nice day.
-Sal.

home help back first fref pref prev next nref lref last post