[729] in Zephyr_Bugs

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

zwgc's /tmp/wg.

daemon@ATHENA.MIT.EDU (R. Bernstein)
Thu Dec 7 18:19:06 1995

Date: Thu, 7 Dec 1995 18:13:46 -0500
From: "R. Bernstein" <rocky@drmsr011.drm.pwj.com>
To: bug-zephyr@MIT.EDU
Cc: murali@drmsr011.drm.pwj.com
Reply-To: rocky@drmsr011.drm.pwj.com

When I start zwgc on a workstation, the file /tmp/wg.<uid> is created. If I then
set the display to somewhere else and run zwgc again, this file is
overwritten with the new port number. However both zwgc's seem to work
fine---I get messages at both places.

Now if I when I kill the second zwgc, I get this message below, because the
first kill has removed /tmp/wg.<uid>

zwgc: error while trying to delete /tmp/wg.<uid>: A file or directory in the path name does not exist.

It doesn't seem to do any harm; however what was intended? Should
there be two files in /tmp/wg? Or should the the program not be trying
to delete an already deleted file.

Or perhaps /tmp/wg.<uid> is not needed at all? 

If I knew which was the best solution, I'd be happy to send a
suggested patch. 

Thanks.


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