X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Blake Subject: Re: 1.5.24: data corruption problem with popen and gzip on a text mounted filesystem Date: Mon, 23 Jul 2007 21:22:39 +0000 (UTC) Lines: 21 Message-ID: References: <46A4BC14 DOT 1050603 AT merl DOT com> <46A4ED4A DOT 9060303 AT merl DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 Eric Blake byu.net> writes: > But I thought at one point I had patched dd to > default to binary unless you used oflag=text; I'll have to investigate. Shoot. The dd logic when [io]flag= omits both 'binary' or 'text' in 6.9-3 is: [io]f= unspecified - no change to existing mode of std{in,out} if= specified - default stdin to binary of= specified - use mount point for stdout There was a logic bug in my cygwin-specific patch for of= when I ported it from 5.9x to 6.0 - in the process of accomodating upstream changes in the same section of the file, I accidentally swapped the order of some my lines, and the code that was supposed to default of= to binary became dead code. Look for coreutils 6.9-4 coming soon to a mirror near you, with dd once again defaulting to full binary operation. -- Eric Blake -- 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/