[116] in Zephyr_Bugs

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

Re: zwgc in zephyr locker RT (soup)

raeburn@ATHENA.MIT.EDU (raeburn@ATHENA.MIT.EDU)
Fri Oct 19 20:37:19 1990

For reference, the relevant code from Jay's .zwgc.desc file:

      appendport "log" $log_file
      if $error != "" then
         put "stdout" "zwgc.desc: error on opening "+$log_file+
            " for append: "+$error+"\n"
      endif
...
         set error = ""
         put "log" "----------------------------------------------------------------------------\n"
         put "log" $output
         if $error != "" then
            put "stdout" "zwgc.desc: error on writting "+
               $log_file+": "+$error+"\n"
         endif

So the problem in zwgc is:

Using "put" to an appendport-created port may cause $error to be set
to "No children" under some circumstances.

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