<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 11/24/2021 7:32 AM, David Faitelson via Cuis-dev wrote:
    <blockquote
cite="mid:PAXPR08MB7467CD4FD496EE4E8F3FDF798D619@PAXPR08MB7467.eurprd08.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style type="text/css" style="display: none;"> P {margin-top:0;margin-bottom:0;} </style>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Dear all,</div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I've noticed there's a bug in the code for browsing multiple
        Windows volumes. When I try to open my second volume (P: mounted
        to some cloud storage provider) it shows me C:</div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I've tracked down the problem to a bug in FileSystemEntry
        >> pathComponents: drive:</div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        it does not update 'drive' when the token list is empty, but
        this is what happens when we ask it to open a root drive. </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        I've added a statement right at the beginning <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        self drive: driveStringOrNil.<br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Which appears to solve the problem. <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Cheers,</div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        David<br>
      </div>
      <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div>
        <div id="Signature">
          <div>
            <div style="font-family: Calibri,Arial,Helvetica,sans-serif;
              font-size: 12pt; color: rgb(0, 0, 0);">
              <div>
                <p style="font-weight: normal; color: windowtext;"
                  lang="EN-US"><span style="color: rgb(51, 153, 51);
                    font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    font-weight: bold;" lang="EN-US"><span>Dr.
                    </span></span><span style="color: rgb(51, 153, 51);
                    font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    font-weight: bold;" lang="EN-US"><span>David
                    </span><span>Faitelson</span></span><span
                    style="font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    color: rgb(51, 153, 51);"> </span></p>
              </div>
              <div>
                <p style="font-weight: normal; color: windowtext;"
                  lang="EN-US"><span style="color: rgb(89, 89, 89);
                    font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    font-weight: bold;" lang="EN-US"><span>Senior
                      Lecturer</span></span><span style="font-size:
                    12pt; line-height: 20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    color: rgb(89, 89, 89);"> </span></p>
              </div>
              <div>
                <p style="font-weight: normal; color: windowtext;"
                  lang="EN-US"><span style="color: rgb(51, 153, 51);
                    font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    font-weight: bold;" lang="HE"><span>|</span></span><span
                    style="color: rgb(89, 89, 89); font-size: 12pt;
                    line-height: 20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span>
                    </span></span><span style="color: rgb(89, 89, 89);
                    font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span>Office</span></span><span
                    style="color: rgb(89, 89, 89); font-size: 12pt;
                    line-height: 20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span>: +972-3-7688782</span></span><span
                    style="color: rgb(89, 89, 89); font-size: 12pt;
                    line-height: 20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="EN-US"><span>
                    </span></span><span style="color: rgb(51, 153, 51);
                    font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    font-weight: bold;" lang="HE"><span>|</span></span><span
                    style="color: rgb(89, 89, 89); font-size: 12pt;
                    line-height: 20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span> </span></span><span style="color:
                    rgb(89, 89, 89); font-size: 12pt; line-height:
                    20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="EN-US"><span>Mobile</span></span><span
                    style="color: rgb(89, 89, 89); font-size: 12pt;
                    line-height: 20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span>: +972-5</span></span><span
                    style="color: rgb(89, 89, 89); font-size: 12pt;
                    line-height: 20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span>2</span></span><span style="color:
                    rgb(89, 89, 89); font-size: 12pt; line-height:
                    20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span>-</span></span><span style="color:
                    rgb(89, 89, 89); font-size: 12pt; line-height:
                    20.5042px; font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span>6568896</span></span><span
                    style="font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    color: rgb(89, 89, 89);"> </span></p>
              </div>
              <div>
                <p style="font-weight: normal; color: windowtext;"
                  lang="EN-US"><span style="color: rgb(89, 89, 89);
                    font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="EN-US"><span>Mivtza</span><span> Kadesh St.,
                      Tel-Aviv</span></span><span style="color: rgb(89,
                    89, 89); font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;"
                    lang="HE"><span> 38</span></span><span
                    style="font-size: 12pt; line-height: 20.5042px;
                    font-family:
                    Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                    color: rgb(89, 89, 89);"> </span></p>
              </div>
              <div>
                <p style="font-weight: normal; color: windowtext;"
                  lang="EN-US"><span style="font-size: 12pt;
                    font-family:
                    Calibri,Calibri_EmbeddedFont,Calibri_MSFontService,sans-serif;
                    line-height: 20.5042px;"></span><a
                    moz-do-not-send="true"
                    href="http://www.afeka.ac.il/" target="_blank"
                    rel="noreferrer noopener"><span style="color: rgb(0,
                      112, 192); text-decoration: underline; font-size:
                      12pt; font-family:
                      Arial,Arial_EmbeddedFont,Arial_MSFontService,sans-serif;
                      line-height: 20.5042px;" lang="EN-US"><span>www.afeka.ac.il</span></span></a><span
                    style="font-size: 11pt; font-family:
                    Calibri,Calibri_EmbeddedFont,Calibri_MSFontService,sans-serif;
                    line-height: 18.3458px;"></span><span
                    style="font-size: 11pt; line-height: 18.3458px;
                    font-family:
                    Calibri,Calibri_EmbeddedFont,Calibri_MSFontService,sans-serif;"> </span></p>
              </div>
              <div>
                <p style="font-weight: normal; color: windowtext;"
                  lang="EN-US"><span style="font-size: 11pt;
                    font-family:
                    Calibri,Calibri_EmbeddedFont,Calibri_MSFontService,sans-serif;
                    line-height: 18.3458px;" lang="EN-US"></span><span
                    style="width: auto; height: auto;"><img
                      style="width: 297px; height: 48px;"
                      data-outlook-trace="F:1|T:1"
                      src="cid:part1.08090705.03070405@jvuletich.org"></span><span
                    style="color: rgb(0, 0, 0); font-size: 12pt;
                    font-family: Times New Roman,Times New
                    Roman_EmbeddedFont,Times New
                    Roman_MSFontService,serif; line-height: 20.5042px;"
                    lang="HE"><span> </span></span><span
                    style="font-size: 12pt; line-height: 20.5042px;
                    font-family: Times New Roman,Times New
                    Roman_EmbeddedFont,Times New
                    Roman_MSFontService,serif; color: rgb(0, 0, 0);"> </span></p>
              </div>
              <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Hello David,<br>
    <br>
    Thanks! I just pushed to GitHub an update with this. The old version
    of the code was already a bit confusing, so I also refactored it to
    make it shorter and clearer.<br>
    <br>
    Cheers,<br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
  </body>
</html>