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 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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