dosfilewarning

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Jun 21 22:10:00 GMT 2013


On 6/21/2013 3:47 PM, Nellis, Kenneth wrote:
> From: Larry Hall (Cygwin)
>>
>> On 6/21/2013 2:38 PM, Nellis, Kenneth wrote:
>>> I have a BAT file that calls a bash script that generates the
>>> following (edited):
>>>
>>> cygwin warning:
>>>     MS-DOS style path detected: XXX
>>>     Preferred POSIX equivalent is: XXX
>>>     CYGWIN environment variable option "nodosfilewarning" turns off this warning.
>>>     Consult the user's guide for more details about POSIX paths:
>>>       http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>>>
>>> If I rerun the script, I don't get the message a second time, which
>>> makes debugging the problem a problem. How can I have this message
>>> show up on every invocation? I tried closing all Cygwin processes
>>> and tried setting CYGWIN=dosfilewarning, but it seemed to want
>>> something more.
>>
>> It's not designed to do that.  It will show up once per Cygwin DLL
>> session only.  If you want to see something different, you'll need
>> to patch the Cygwin source.
>
> Thanx, but isn't the end of a "Cygwin DLL session" when all processes
> that use the Cygwin DLL have terminated?

Yes, that's correct.  If you're not getting the message, you still have a
process somewhere keeping the DLL in memory.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list