This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Add new -T|--toggle option to strace
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 6 Jun 2002 21:37:34 -0400
- Subject: Re: Add new -T|--toggle option to strace
- References: <032201c20dbf$f27da3b0$6132bc3e@BABEL>
- Reply-to: cygwin-patches at cygwin dot com
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