Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b73db3b897fc777b330a7713a3f57ddb675ec801457d03fd42421d17c860df37
Ticket: 9e6b569963ea497e9e623a79d5a5f92c5681bfdb
file normalize ~user fails on Windows
User & Date: sebres on 2018-05-25 13:06:10
Changes

  1. icomment:
    @Ashok:
    
    > it would be clearer to me at least if the single while loop was broken out explicitly rather than setting domain = -1.
    
    Well, it is "impossible" to break without unfolding of the cycle (because "domain = -1" is just a mark for a <b>post-condition</b>, so read it as "try again but once, leave the cycle <b>later</b> if domain becomes not NULL").
    
    Of course one could rewrite it with unfolding the cycle, but the code-base grows then and IMHO it was clear enough (anyway I gave extra a comment nearby the setting of domain to -1 to explain it).
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"