OSDN Git Service

* strace.cc (toggle): New global variable.
authorcgf <cgf>
Fri, 7 Jun 2002 01:36:17 +0000 (01:36 +0000)
committercgf <cgf>
Fri, 7 Jun 2002 01:36:17 +0000 (01:36 +0000)
commit4ace08efe93af2aea6ac20fa90f4c96021e0164d
treee6582456571e5cfc6892a235d39ac539bb576806
parent106d8f5f0c203dd0b318c873ecb7d8ea84aa747c
* 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.
winsup/utils/ChangeLog
winsup/utils/strace.cc
winsup/utils/utils.sgml