Hi Theo,

> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [email protected] 2015/11/13 09:53:46
> 
> Modified files:
>       usr.bin/telnet : commands.c telnet.1 
> 
> Log message:
> Delete tracefile command.  Tracefiles can now only be specified at
> program startup.  Who uses that?  Noone...
> ok millert

Heh, you will probably be able to use that to get rid of "wpath"
near the end of main()!

I saw no "wpath" operation except the fopen() in SetNetTrace(),
and once you get rid of the nasty call path

  close_connection() -> tninit() -> init_network() -> SetNetTrace()

then SetNetTrace() will only be called from the tninit() at the
top of main() and from the getopt() loop in main().

Yours,
  Ingo

Reply via email to