Re: Add new -T|--toggle option to strace

2002-06-06 Thread Christopher Faylor
On Fri, Jun 07, 2002 at 02:09:17AM +0100, Conrad Scott wrote: >2002-06-07 Conrad Scott <[EMAIL PROTECTED]> > > * strace.cc (toggle): New global variable. > (error): Use exit instead of ExitProcess so that stdio buffers get > flushed. > (create_child): Remove command line

Add new -T|--toggle option to strace

2002-06-06 Thread Conrad Scott
As per a discussion yesterday with Chris, I've added a new option to strace, -T or --toggle, to toggle tracing in a process already being straced. One other change I made was to replace a use of ExitProcess() with exit() --- otherwise some error messages didn't appear since the stdio buffers were

Re: Name aliasing in security.cc

2002-06-06 Thread Pierre A. Humblet
Corinna Vinschen wrote: > You're right but it doesn't matter since I have to open the token > anyway since I need the primary group which isn't available at that > point. Never mind. I now understand what you mean. Still the whole thing (uinfo, passwd, grp) can probably be optimized. Pierre

Re: Name aliasing in security.cc

2002-06-06 Thread Corinna Vinschen
On Thu, Jun 06, 2002 at 10:47:58AM -0400, Pierre A. Humblet wrote: > Corinna Vinschen wrote: > > > You're right but it doesn't matter since I have to open the token > > anyway since I need the primary group which isn't available at that > > point. > > Yes, but you open, read and close it and pas

Re: Name aliasing in security.cc

2002-06-06 Thread Pierre A. Humblet
Corinna Vinschen wrote: > You're right but it doesn't matter since I have to open the token > anyway since I need the primary group which isn't available at that > point. Yes, but you open, read and close it and passwd.cc, and then open, read and close it in grp.cc. > It's faster than strcasec

Re: Patch for sub-second resolution in stat(2)

2002-06-06 Thread Joshua Daniel Franklin
You know, I had some trouble with this, too. Maybe it would be worth adding to contrib.html that attaching a "ChangeLog.txt" file works well to preserve formatting? --- Conrad Scott <[EMAIL PROTECTED]> wrote: > "Earnie Boyd" <[EMAIL PROTECTED]> wrote: > > Attach the ChangeLog entry to the mail,

Re: Name aliasing in security.cc

2002-06-06 Thread Corinna Vinschen
On Thu, Jun 06, 2002 at 10:07:46AM -0400, Pierre A. Humblet wrote: > Corinna Vinschen wrote: > > > > On Wed, Jun 05, 2002 at 08:23:59PM -0400, Pierre A. Humblet wrote: > > > I saw the changes in grp.cc and passwd.cc where you make default > > > entries from the token. That's a good idea, very clo

Re: Patch for sub-second resolution in stat(2)

2002-06-06 Thread Conrad Scott
"Earnie Boyd" <[EMAIL PROTECTED]> wrote: > Attach the ChangeLog entry to the mail, make sure the mime for the > attachment is text or make sure the file has a .txt suffix. Most mail > clients will then display the attachment within the body of the mail. Thanks for the hint: I've just had a look

Re: Name aliasing in security.cc

2002-06-06 Thread Pierre A. Humblet
Corinna Vinschen wrote: > > On Wed, Jun 05, 2002 at 08:23:59PM -0400, Pierre A. Humblet wrote: > > I saw the changes in grp.cc and passwd.cc where you make default > > entries from the token. That's a good idea, very close to what I had > > in mind for the "except" clause" in suggestion c) above.

Re: Patch for sub-second resolution in stat(2)

2002-06-06 Thread Earnie Boyd
Conrad Scott wrote: > > "Corinna Vinschen" <[EMAIL PROTECTED]> wrote: > > If you now substitute the leading space by a leading TAB, the > > ChangeLog entry would be correct. > > > > ;-) > > Corinna > > But I can't convince Outlook Express to insert tab characters into a > message! (breaks down

Re: Patch for sub-second resolution in stat(2)

2002-06-06 Thread Corinna Vinschen
On Thu, Jun 06, 2002 at 02:25:33PM +0100, Conrad Scott wrote: > "Corinna Vinschen" <[EMAIL PROTECTED]> wrote: > > If you now substitute the leading space by a leading TAB, the > > ChangeLog entry would be correct. > > > > ;-) > > Corinna > > But I can't convince Outlook Express to insert tab ch

Re: regtool support for remote registry

2002-06-06 Thread Corinna Vinschen
On Thu, Jun 06, 2002 at 02:11:46PM +0400, Egor Duda wrote: > Hi! > > Attached patch allows regtool to access registry on remote hosts, > e.g.: > > regtool get \\bumba\machine\software\microsoft\windows\currentVersion\programFilesDir Just a question: Wouldn't it make sense to use a syntax as

Re: Patch for sub-second resolution in stat(2)

2002-06-06 Thread Conrad Scott
"Corinna Vinschen" <[EMAIL PROTECTED]> wrote: > If you now substitute the leading space by a leading TAB, the > ChangeLog entry would be correct. > > ;-) > Corinna But I can't convince Outlook Express to insert tab characters into a message! (breaks down sobbing with the utter futility of using

Re: Patch for sub-second resolution in stat(2)

2002-06-06 Thread Earnie Boyd
The leading tab is in the attached file. His mail client converted it to a leading space. Earnie. Corinna Vinschen wrote: > > > ^^ > If you now substitute the leading space by a leading TAB, the > ChangeLog entry would be correct. > > ;-) > Corinna > > -- > Corinna Vinschen

Re: Patch for sub-second resolution in stat(2)

2002-06-06 Thread Corinna Vinschen
On Thu, Jun 06, 2002 at 01:26:57PM +0100, Conrad Scott wrote: > Oh sh*t. It turns out that my changelog entry was more broken than just > formatting. I've appended and attached a new one to this email (the > attachment is because I'm unclear that Outlook Express keeps the > formatting). > > Sorry

Re: Patch for sub-second resolution in stat(2)

2002-06-06 Thread Conrad Scott
Oh sh*t. It turns out that my changelog entry was more broken than just formatting. I've appended and attached a new one to this email (the attachment is because I'm unclear that Outlook Express keeps the formatting). Sorry for imposing my sordid learning experience on everyone. // Conrad 2002-

Re: Name aliasing in security.cc

2002-06-06 Thread Corinna Vinschen
On Wed, Jun 05, 2002 at 08:23:59PM -0400, Pierre A. Humblet wrote: > I saw the changes in grp.cc and passwd.cc where you make default > entries from the token. That's a good idea, very close to what I had > in mind for the "except" clause" in suggestion c) above. > > At any rate this doesn't fav

regtool support for remote registry

2002-06-06 Thread egor duda
Hi! Attached patch allows regtool to access registry on remote hosts, e.g.: regtool get \\bumba\machine\software\microsoft\windows\currentVersion\programFilesDir egor.mailto:[EMAIL PROTECTED] icq 5165414 fidonet 2:5020/496.19 regtool-remote-registry-support.diff Description: Bin