Re: wtfindex produces corrupt files on DOS mounts

2003-11-05 Thread Igor Pechtchanski
On Wed, 5 Nov 2003, Vince Rice wrote:

 /home/vrice\ uname -a
 CYGWIN_NT-5.0 SRS8100 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin

 /home/vrice\ which wtfindex
 /usr/bin/wtfindex
 /home/vrice\ ls -Fal /usr/bin/wtfindex.exe
 -rwxrwxrwx1 vriceUsers   12800 Sep  4 11:12
 /usr/bin/wtfindex.exe*

 On DOS mounts, wtfindex produces a .dat file that causes coredumps in
 wtf.  I had edited my acronyms file, ran wtfindex, then wtf started
 coredumping.  I reinstalled wtf, then saved off the existing
 acronyms.dat, and ran wtfindex against acronyms without making any
 changes.  The resulting acronyms.dat differed from the original by
 thirteen bytes, and a comparison showed that where OD existed in the
 original, 0D0A existed in the newly generated one.  Switching to a
 Unix mount generated an identical file to the original, no coredumps.

 I think this is enough information that a cygcheck shouldn't be
 needed, but if you think otherwise just let me know.

 Thanks,

 Vince

 P.S. -- I'm one of the tens of thousands who have never had a
 problem, so I seldom have any reason to post.  So to offset the
 problem report, let me say that Cygwin is the best thing sinced
 sliced bread.  I've used it off and on since before B19 (and what a
 wonderful release THAT was! :) ), and it's been a huge productivity
 enhancer at several client sites.  Thanks to ALL the volunteers who
 make it possible.

Vince,

Thanks for the report.  It would have been great if you also specified the
version of wtf that you used.  However, I've just reproduced this with
wtf-0.0.4-4.  Expect a new release soon.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wtfindex produces corrupt files on DOS mounts

2003-11-05 Thread Vince Rice

--- Igor Pechtchanski [EMAIL PROTECTED] wrote:
 Vince,
 
 Thanks for the report.  It would have been great if you also
 specified the version of wtf that you used.  However, I've just 
 reproduced this with wtf-0.0.4-4.  Expect a new release soon.

My apologies.  I did try to figure out the version, but I couldn't
find anything that would tell me.  There appears to be only one
command line switch (-a), it wasn't in the man page, I tried cygcheck
wtf, and I tried an old filever utility I have on the wtf.exe itself.
 While I'm typing it occurs to me I could have run through setup and
let it tell me...  I know this is a lean and mean program, but would
you consider supporting command line options -v or --version in wtf
itself?

I just did the setup thing, and it is indeed 0.0.4-4 that I have as
well.  Thanks for the quick fix!

Vince

P.S. -- I got to thinking about how setup knew, so I poked around
some more on cygcheck and found that cygcheck -c told me the
information as well.  So now I'll know for next time.  However,
supporting -v or --version in the program itself would still be nice. :)

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: wtfindex produces corrupt files on DOS mounts

2003-11-05 Thread Igor Pechtchanski
On Wed, 5 Nov 2003, Vince Rice wrote:

 --- Igor Pechtchanski pechtcha at cs dot nyu dot edu wrote:
  Vince,
 
  Thanks for the report.  It would have been great if you also
  specified the version of wtf that you used.  However, I've just
  reproduced this with wtf-0.0.4-4.  Expect a new release soon.

 My apologies.  I did try to figure out the version, but I couldn't
 find anything that would tell me.  There appears to be only one
 command line switch (-a), it wasn't in the man page, I tried cygcheck
 wtf, and I tried an old filever utility I have on the wtf.exe itself.
  While I'm typing it occurs to me I could have run through setup and
 let it tell me...  I know this is a lean and mean program, but would
 you consider supporting command line options -v or --version in wtf
 itself?

That's up to the upstream maintainer.  I'll suggest it to him.

 I just did the setup thing, and it is indeed 0.0.4-4 that I have as
 well.  Thanks for the quick fix!

 Vince

 P.S. -- I got to thinking about how setup knew, so I poked around
 some more on cygcheck and found that cygcheck -c told me the
 information as well.  So now I'll know for next time.  However,
 supporting -v or --version in the program itself would still be nice. :)

That's exactly what cygcheck is for.  If you don't want it to do integrity
checking, you can give it a -d (dump-only) option in addition to -c, and
it'll simply query the installed package version (which may be different
from any particular executable's version, BTW, although not in case of
wtf).  Another place to look would be /usr/share/doc/Cygwin for
wtf*.README.  The version on that file should correspond to the package
version.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/