Dangerous strcpy

Jerry James james at xemacs.org
Fri Jun 23 13:01:14 EDT 2006


Max Matveev <makc at sgi.com> wrote:
>>>>>> "james" == Jerry James <james at xemacs.org> writes:
>
>  james> I don't know.  It seems like a lot of complication and fuss.  All this
>  james> code really wants to know is if DISPLAY points to frame 0 on the same
>  james> machine that XEmacs itself is running on.
>
> And why would you want to do that?  The reason I ask is because in the
> past I've used the trick of setting display to mymachine:0 to deal
> with "energizer bunby sindrome" and to cure some of the bugs which
> made XEmacs hang if run over SHM transport. IMO, if user asked for a
> display to point to host, just point to host and don't try to second
> guess her intentions, she knows best, really.

This code is in sound.c.  If the user is local, it will send sound data
to the local sound device.  If the user is remote, it will try to use
NAS, if that is configured.
-- 
Jerry James, Assistant Professor        james at xemacs.org
Computer Science Department             http://www.cs.usu.edu/~jerry/
Utah State University




More information about the XEmacs-Beta mailing list