<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-7">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.emailstyle18
        {mso-style-name:emailstyle18;}
span.emailstyle181
        {mso-style-name:emailstyle181;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link="#000000" vlink="#000000">
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Glad the spec stuff worked. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have tried to compile IR on Mono, but there are some patches
that need to be applied first, I’m not sure where those patches are. I
also ran into a problem on Mac with filename and folder casing not matching the
csproj file. I would consider Mac as a *nix platform. It has all the stuff I
look for (mainly bash, and the UNIX system underneath.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>JD<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Unnikrishnan Nair
[mailto:ksunair@yahoo.com] <br>
<b>Sent:</b> Monday, July 07, 2008 7:18 AM<br>
<b>To:</b> ironruby-core@rubyforge.org; Jim Deville<br>
<b>Subject:</b> RE: [Ironruby-core] spec changes<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0>
<tr>
<td valign=top style='padding:0in 0in 0in 0in'>
<p>Thanks Jim, I have a test program that I run in windows with all the spec
against ruby and against IR. It then compare the results and there is where I
found this problem. yes, you are correct with your change. I think we can go
with the change suggested.<o:p></o:p></p>
<p>By the way, did anyone compiled Ironruby on Mono? I finally got the mono
installed and would like to try to compile it to run the spec on Mac this
week. Do you guys consider Mac as *nix environment?<o:p></o:p></p>
<p>Thanks,<o:p></o:p></p>
<p>Unni<br>
<br>
--- On <b>Mon, 7/7/08, Jim Deville <i><jdeville@microsoft.com></i></b>
wrote:<o:p></o:p></p>
<blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal style='margin-bottom:12.0pt'>From: Jim Deville
<jdeville@microsoft.com><br>
Subject: RE: [Ironruby-core] spec changes<br>
To: "ksunair@yahoo.com" <ksunair@yahoo.com>,
"ironruby-core@rubyforge.org" <ironruby-core@rubyforge.org><br>
Date: Monday, July 7, 2008, 1:32 AM<o:p></o:p></p>
<div id=yiv688802618>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Well,
it</span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>¢</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>s not as simple as that. The spec as written is for *nix
paths, where ///// is root. So on one side we should move towards /////
returning the current drive. On the other hand, the notation // represents a
UNC file path, which theoretically should</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'> resolve to a form of
//server/share. I don</span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>¢</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>t know what CRuby wants dirname to return, and I also don</span><span
style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>¢</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>t
know if we are going to deviate at all. I know that it currently returns //,
but if you search for this function, there is some discussion about how it </span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>should
behave, and I</span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>¢</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>m not sure how it resolved. For now, I</span><span
style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>¢</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>d
suggest turning it into:</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>
platform_is_not :windows do</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>
File.dirname(</span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>¡</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>/////</span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>¢</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>).should == </span><span style='font-size:11.0pt;font-family:
"Arial","sans-serif";color:#1F497D'>¡</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>/</span><span
style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>¢</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>
end</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>
platform_is :windows do</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>
File.dirname(</span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>¡</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>/////</span><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>¢</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>).should == </span><span style='font-size:11.0pt;font-family:
"Arial","sans-serif";color:#1F497D'>¡</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>//</span><span
style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>¢</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>
end</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>That
will keep it working on *nix.</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>JD</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
ironruby-core-bounces@rubyforge.org
[mailto:ironruby-core-bounces@rubyforge.org] <b>On Behalf Of </b>Unnikrishnan
Nair<br>
<b>Sent:</b> Sunday, July 06, 2008 8:51 PM<br>
<b>To:</b> ironruby-core@rubyforge.org<br>
<b>Subject:</b> [Ironruby-core] spec changes</span><o:p></o:p></p>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0>
<tr>
<td valign=top style='padding:0in 0in 0in 0in'>
<p>I think the following spec is wrong for FileOps.dirname<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>It is<o:p></o:p></p>
<p> <o:p></o:p></p>
<p> File.dirname('/////').should == '/'<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>but it should be <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> File.dirname('/////').should == '//'<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>If it is my misunderstanding, please let me know. <o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Thanks,<o:p></o:p></p>
<p>Unni<o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
</td>
</tr>
</table>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p>
</div>
</div>
</blockquote>
</td>
</tr>
</table>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p>
</div>
</body>
</html>