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 ^ --
indr...@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