delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/02/15:57:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <2C08D4EECBDED41184BB00D0B747334202FB436B@exchanger.cacheflow.com>
From: "Karr, David" <david DOT karr AT cacheflow DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Continued: small DOS program fails (Permission Denied) when run f
rom Bash in XEmacs
Date: Wed, 2 May 2001 10:22:30 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

This is a continuation of an earlier issue.  I have a small DOS program,
compiled and linked with MS tools, which executes fine in a standalone "cmd"
window, and in a standalone Bash window, and within GNU make in either
window.  However, when the Bash shell is running in XEmacs, it fails with
"Permission Denied".  I put a printf at the top of "main", and it isn't
getting there.  I would really appreciate some help understanding what is
going on here.

I even tried printing "env" in the "good" and "bad" environments and
manually setting (or unsetting) all the variables in the "bad" environment
to match the "good" one, then rerunning it, but that didn't help.  However,
there were two variables set in the "good" environment that I didn't set in
the "bad" environment, because I didn't understand them.  They looked like
this (straight from the "env" output):

  !C:=C:\WINNT\PROFILES\david.karr\DESKTOP
  !D:=D:\cygwin\bin

What can I do to get any kind of clue of what is going on here?

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019