delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 22 Nov 2007 19:26:52 +0100 |
From: | Thomas Baker <tbaker AT tbaker DOT de> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Reliable old script loses data on new Cygwin installation |
Message-ID: | <20071122182652.GA3036@octavius> |
References: | <20071111173033 DOT GA2360 AT sub-tombaker> <fh7ppg$uaa$1 AT ger DOT gmane DOT org> <20071112090628 DOT GA3792 AT sub-tombaker> <fh98d3$ded$1 AT ger DOT gmane DOT org> <20071113165901 DOT GA2096 AT sub-tombaker> <Pine DOT GSO DOT 4 DOT 63 DOT 0711221254560 DOT 14082 AT access1 DOT cims DOT nyu DOT edu> |
Mime-Version: | 1.0 |
In-Reply-To: | <Pine.GSO.4.63.0711221254560.14082@access1.cims.nyu.edu> |
User-Agent: | Mutt/1.4.2.2i |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Thu, Nov 22, 2007 at 12:56:33PM -0500, Igor Peshansky wrote: > > The /bin/pdksh script sequence that is causing problems is: > > [snip] > > The obvious question is: do you still get the error if you replace pdksh > with bash, or is the problem pdksh-specific? > > When you reduce this to a minimal testcase, are there bits of that > testcase that require pdksh to be used? It appears that pdksh (or Cygwin) per se had nothing to do with the problem. As I reported in [1], the problem was resolved when I discovered that the anti-virus software (Anti-Vir) was checking each time a file is written to disk. When I switched off this extra check (so that Anti-Vir now checks only when files are read), the script ran perceptibly faster and data is no longer lost. I originally wrote the script using the MKS Toolkit Korn shell with DOS 3.3, and it uses some features which may be Korn shell-specific (e.g., redirecting to numbered file descriptors with constructs such as "3>|") -- I have not really tried to port it to bash. Tom [1] http://cygwin.com/ml/cygwin/2007-11/msg00313.html -- Tom Baker - tbaker AT tbaker DOT de - baker AT sub DOT uni-goettingen DOT de -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |