delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4A48343F.6000304@tlinx.org> |
Date: | Sun, 28 Jun 2009 20:25:51 -0700 |
From: | Linda Walsh <cygwin AT tlinx DOT org> |
User-Agent: | Thunderbird 2.0.0.22 (Windows/20090605) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Bug: /registry file system doesn't return len of default value of keys |
X-Stationery: | 0.4.9 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi all, I've run into some weird behavior from the file-utils (grep, file) but I believe they may all be caused by the same root problem. The /prog/registry filesystem doesn't return the length of the 'default' value (often a string). Under /proc/registry/HKEY_CLASSES_ROOT/ I was grep'ing through ".txt/@" which I expected to find the string "txtfile", but, I think because it is 0 len, grep thinks it is a binary file (which I have my grep set to ignore). Known bug? Is it in the queue to be fixed someday? :-) Now that I know about it, I know how to work around it, so it's not urgent, but it is a bit of a problem with the normal cygwin utils when they see a '0' len, even though it has non-zero length content... Linda -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |