X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Help on dos2unix Date: Wed, 10 Sep 2008 15:39:35 +0200 Message-ID: <72B97F56A23E3844BB0DEC054CD85C39067A273F@ltssvex10.lts.liebherr.i> In-Reply-To: References: <72B97F56A23E3844BB0DEC054CD85C39067A1D64 AT ltssvex10 DOT lts DOT liebherr DOT i> From: "Heude Pascal (LTS)" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m8ADefPB008634 Yes, it is the cygwin version of dos2unix. And I also use the cygwin version of make. But I am not running a bash but a pdksh. The command I launch is : "dos2unix l82023aa.x" If I look to the return code using the command "echo $?", I got 128. Any idea ? Thanks in advance. -----Message d'origine----- De : cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] De la part de Mark J. Reed Envoyé : mardi 9 septembre 2008 23:59 À : cygwin AT cygwin DOT com Objet : Re: Help on dos2unix On Tue, Sep 9, 2008 at 10:48 AM, Heude Pascal (LTS) wrote: > I am using the command dos2unix to convert file from DOS to UNIX in a makefile. If that's the Cygwin version of dos2unix.exe, then I assume you are also using the Cygwin version of make, which you are in turn running from a Cygwin bash shell? > But I get the return code 128 from the command Exit code 128 is a "something went wrong but I'm not sure what" signal. Usually, exit codes above 128 mean that the process was killed by a fatal signal, whose number you get if you subtract 128. But there's no fatal signal 0, so 128 is sort of a default "execution environment not working right for that command". Hence my suspicion that some non-Cygwin component is at work here. -- 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/ -- 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/