| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4BBDE131.5050103@gmail.com> |
| Date: | Thu, 08 Apr 2010 07:59:13 -0600 |
| From: | Morgan Gangwere <0 DOT fractalus AT gmail DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Filesystem Filename touch fail [ was: PLEASE TEST YOUR FS ] |
| References: | <1270678042 DOT 14260 DOT 1368807709 AT webmail DOT messagingengine DOT com> <4BBD3CA9 DOT 1090609 AT gmail DOT com> <20100408080635 DOT GL18530 AT calimero DOT vinschen DOT de> |
| In-Reply-To: | <20100408080635.GL18530@calimero.vinschen.de> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 4/8/2010 2:06 AM, Corinna Vinschen wrote:[snip]
Here's a simple C# app to try and write under NTFS two files
-- V cake.cs V --
using System;
namespace delicious.cake {
class test {
static int Main(string[] args) {
try {
Console.WriteLine("Writing to 'foo.'");
System.IO.File.WriteAllText(":","foo.");
} // try
catch(Exception ex) {
Console.WriteLine("Could not write to file 'foo.'");
}
try {
Console.WriteLine("Writing to 'foo '");
System.IO.File.WriteAllText(":","foo ");
} // try
catch(Exception ex) {
Console.WriteLine("Could not write to file 'foo '");
}
return 0;
} // Main(...)
} // test
} // delicious.cake
-- ^ cake.cs ^ --
indrora AT indrora-PC /cygdrive/c/morgan
$ ./test_cake
Writing to 'foo.'
Could not write to file 'foo.'
Writing to 'foo '
Could not write to file 'foo '
c:\morgan>test_cake
Writing to 'foo.'
Could not write to file 'foo.'
Writing to 'foo '
Could not write to file 'foo '
--
Morgan Gangwere
>> Why?
> Because it breaks the logical flow of conversation, plus makes
messages unreadable.
>>> Top-Posting is evil.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |