Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <03d301c58616$166ad5f0$0200000a@agamemnon> From: "Jon A. Lambert" To: "Eric Blake" , Cc: References: <1120880636 DOT 6400 DOT 7 DOT camel AT localhost DOT localdomain> <42CF4C9D DOT 8000708 AT byu DOT net> Subject: Re: Unwanted .exe appended to symlinks Date: Mon, 11 Jul 2005 08:43:06 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Eric Blake wrote: > Confirmed. Unfortunately, this is a side effect of my improvements > to ln to unify the cygwin-specific .exe code which tries to determine > when the original file exists as just "file" vs. "file.exe". See line 560 of postgres initdb script. -------- cp /dev/null "$PGDATA"/postgresql.conf || exit_nicely ------- The initdb script is failing with... cp: cannot stat `/dev/null.exe': No such file or directory It's there but cp cannot see it... . $ lal /dev/null crw-rw-rw- 1 postgres None 1, 3 Jul 11 08:42 /dev/null -- J Lambert -- 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/