Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78289 --- shadow/78289 2006-05-04 09:05:22.000000000 -0400 +++ shadow/78289.tmp.15687 2006-05-04 09:05:22.000000000 -0400 @@ -0,0 +1,68 @@ +Bug#: 78289 +Product: Mono: Compilers +Version: 1.1 +OS: +OS Details: Ubuntu Linux Dapper Drake Beta +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Line separators in Makefile cause problems for mcs + +Description of Problem: +When using line separators in a Makefile, the Mono C# compiler gives a +error about an invalid path + +Steps to reproduce the problem: +1. Type make at the command prompt, using the Makefile I will upload in a +minute + + +Actual Results: + +Unhandled Exception: System.ArgumentException: Path is invalid +Parameter name: path +in <0x00254> System.IO.Directory:GetFileSystemEntries (System.String path, +System.String pattern, FileAttributes mask, FileAttributes attrs) +in <0x00011> System.IO.Directory:GetFiles (System.String path, +System.String pattern) +in <0x000a9> Mono.CSharp.Driver:CompileFiles (System.String spec, Boolean +recurse) +in <0x003b2> Mono.CSharp.Driver:MainDriver (System.String[] args) +in <0x00041> Mono.CSharp.Driver:Main (System.String[] args) +make: *** [exe] Error 1 + +Expected Results: + +error CS2001: Source file `Rendering/*.cs' could not be found +error CS2001: Source file `Executing/*.cs' could not be found +error CS2001: Source file `Utils/*.cs' could not be found +error CS2001: Source file `Peers/*.cs' could not be found +error CS2001: Source file `Executing/Binding/*.cs' could not be found +error CS2001: Source file `LayoutManagement/*.cs' could not be found +error CS2001: Source file `FrontEnd/*.cs' could not be found +error CS2001: Source file `Executing/Callers/Caller.cs' could not be found +error CS2001: Source file `Executing/Callers/LocalCaller.cs' could not be found +error CS2001: Source file `Executing/Callers/CallerFactory.cs' could not be +found +Compilation failed: 10 error(s), 0 warnings +make: *** [exe] Error 1 + +How often does this happen? + +Always + +Additional Information: + +The problem goes away when I don't append the '\' separator directly to the +last line, but insert a space before it: + +before -> mcs *.cs Rendering/*.cs\ +after -> mcs *.cs Rendering/*.cs \ _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
