Add new -T|--toggle option to strace

Christopher Faylor cgf@redhat.com
Thu Jun 6 18:37:00 GMT 2002


On Fri, Jun 07, 2002 at 02:09:17AM +0100, Conrad Scott wrote:
>2002-06-07  Conrad Scott  <conrad.scott@dsl.pipex.com>
>
>	* strace.cc (toggle): New global variable.
>	(error): Use exit instead of ExitProcess so that stdio buffers get
>	flushed.
>	(create_child): Remove command line error checking.
>	(dostrace): Ditto.
>	(dotoggle): New function.
>	(usage): Add entry for new option -T|--toggle.  Alphabetize.
>	(longopts): Add new option -T|--toggle.
>	(opts): Ditto.
>	(main): Handle new -T|--toggle option.  Move all command line checking
>	here from other functions.
>	* utils.sgml: Update section for strace.

Applied.

Thanks,
cgf



More information about the Cygwin-patches mailing list