Ar an t-ochtú lá de mí Iúil, scríobh Jerry James:
>> I will soon. I think I have the Lisp side mostly worked
out, except
>> for STARTTLS support. If I can't figure out how to do that soon, I
>> will submit what I have and keep working on STARTTLS afterwards.
>
> Excellent!
A month goes by ....
Try this version.
Another thing is that usually in the XEmacs code, in situations like
unix_open_network_stream where the Lisp_Object tls is just used for its
booleanness, the C api uses an integer (say, a Boolint) for the boolean value,
converting when passing from Lisp like so:
PROCMETH (open_network_stream, (name, host, service, protocol,
&inch, &outch, !NILP (tls)));
This is cleaner for debugging problems with the garbage collector, since there
won’t be pointers hanging around to objects that are not necessarily garbage
protected. I don’t anticipate any problems with how you’ve written it, but
it’s better style not to pass the Lisp_Object itself on if it’s not being
used.
This has STARTTLS support, and more of the Lisp bits. I'm sure
there are
still plenty of bugs, so please speak up if something doesn't work right.
--
‘Liston operated so fast that he once accidentally amputated an assistant’s
fingers along with a patient’s leg, […] The patient and the assistant both
died of sepsis, and a spectator reportedly died of shock, resulting in the
only known procedure with a 300% mortality.’ (Atul Gawande, NEJM, 2012)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta