Re: release setup now?
Michael's script works for me. One caveat: I had to manually run 'clean_lst.pl ./a*.lst' 26 times (using different starting letters). However, that was because I got a BSOD when running it fullbore -- where it tried to fixup all files. Now, a perl script should never ever be able to cause a BSOD on W2K. Neither should a user-mode program (like setup.exe) However, on my machines, both do on rare occasions. The error is down deep in ntoskrnl and/or the ntfs file system driver -- I even did a full reinstall of the OS, yet I still get the BSOD sometimes. It's an MS bug, I am sure -- and I've noticed that it only happens when there are a lot of files being opened and closed rapidly. (For instance, when uninstalling lots of files in an old package, and installing lots of files in the new replacement package. Or when opening each .lst and rewriting them without \000 chars.) So, I don't blame Michael's script for my BSOD. I blame MS. But, once I limited the number of open/modified files per run (by running the script by hand on each letter of the alphabet) Michael's script DID successfully remove the \000 chars. --Chuck Robert Collins wrote: I'd already done a reinstall... can someone here validate Michael's script? (someone that tried the beta and has not reinstall those packages..) Rob
RE: release setup now?
I'd already done a reinstall... can someone here validate Michael's script? (someone that tried the beta and has not reinstall those packages..) Rob -Original Message- From: Michael A Chase [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 7:32 AM To: Robert Collins Cc: CygWin-Apps Subject: Re: release setup now? I was having some problems uploading to my website, but the script is now available in http://home.ix.netcom.com/~mchase/zip/clean_lst.zip . I added a wrapper script to make it easier to use. It works fine for me, but someone else should try it before we unleash it on the general public. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart- questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. - Original Message - From: Robert Collins [EMAIL PROTECTED] To: Michael A Chase [EMAIL PROTECTED] Cc: CygWin-Apps [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 19:38 Subject: RE: release setup now? Thanks Michael - do you want to put that somewhere on the web (it could be at www.cygwin.com), and we can advise the cygwin@ crowd that tested... that they should run this?
Re: release setup now?
I was having some problems uploading to my website, but the script is now available in http://home.ix.netcom.com/~mchase/zip/clean_lst.zip . I added a wrapper script to make it easier to use. It works fine for me, but someone else should try it before we unleash it on the general public. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. - Original Message - From: Robert Collins [EMAIL PROTECTED] To: Michael A Chase [EMAIL PROTECTED] Cc: CygWin-Apps [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 19:38 Subject: RE: release setup now? Thanks Michael - do you want to put that somewhere on the web (it could be at www.cygwin.com), and we can advise the cygwin@ crowd that tested... that they should run this?
Re: release setup now?
- Original Message - From: Charles Wilson [EMAIL PROTECTED] To: Robert Collins [EMAIL PROTECTED] Cc: CygWin-Apps [EMAIL PROTECTED] Sent: Monday, March 18, 2002 22:24 Subject: Re: release setup now? I think so. I know of two minor (non-show-stopper) nits: 1) IF (and only if) folks have used the setup-snapshots AND they happened to use a particular version (dunno which one, sorry), then the foo.lst.gz files in /etc/setup that were created by this particular bad setup.exe, contain 0x00 bytes at the end of each line. This has been fixed in setup itself -- but the bad .lst.gz files remain. This *may* cause trouble in the future (when the .lst file is re-read for uninstall) but a) it only affects a few people b) it may not even be a problem (don't borrow trouble) c) it's easily fixed by hand b) The 0x00 is at the start of all but the first line, so it prevents uninstall from removing most old files. I've seen this effect when I've replaced packages that I'd installed with a setup.exe snapshot that writes the 0x00. c) The attached script will repair the files. It won't change files that don't have the problem and preserves file modification dates and permissions, so there should be no problem running the script even if you aren't affected by the problem. # Using clean_lst.pl: cd /etc/setup gzip -d *.lst.gz xxx/clean_lst.pl.gz xxx/clean_lst.pl gzip -9 *.lst -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. clean_lst.pl.gz Description: GNU Zip compressed data
RE: release setup now?
Thanks Michael - do you want to put that somewhere on the web (it could be at www.cygwin.com), and we can advise the cygwin crowd that tested... that they should run this? Cheers, Rob
Re: release setup now?
On Wed, Mar 20, 2002 at 02:38:51PM +1100, Robert Collins wrote: Thanks Michael - do you want to put that somewhere on the web (it could be at www.cygwin.com), and we can advise the cygwin crowd that tested... that they should run this? You can submit an announcement or submit it as software. (Wow, now we can have an enjoyable discussion about how terrifically hard it is to find the word submit on the cygwin web page.) cgf
RE: release setup now?
-Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 2:40 PM To: [EMAIL PROTECTED] Subject: Re: release setup now? On Wed, Mar 20, 2002 at 02:38:51PM +1100, Robert Collins wrote: Thanks Michael - do you want to put that somewhere on the web (it could be at www.cygwin.com), and we can advise the cygwin@ crowd that tested... that they should run this? You can submit an announcement or submit it as software. (Wow, now we can have an enjoyable discussion about how terrifically hard it is to find the word submit on the cygwin web page.) Nyahh, I was thinking real-low-tech, and emailing cygwin@, because it only affects beta-testers, and they were all from cygwin@. Rob
Re: release setup now?
Robert Collins wrote: 2) It seems that when uninstalling (or upgrading), if the uninstalled package leaves behing a directory that is empty, the directory is not removed. Not a big deal, and certainly not a showstopper. Hmm, has that behaviour changed? I'll add a TODO for it. Actually, now that I think about it, this problem may be related to 0x00 problem. The only packages I noticed this on were local updates of the auto-* and libtool* packages that I was testing. But I had been installing these updates using setup-snapshots. So all of my .lst file had 0x00 -- and then when I tried to upgrade, the uninstall didn't work exactly right... That's my story and I'm sticking to it. --Chuck