Skip to content
Tcl Source Code History Of Ticket be40b736
Login

History Of Ticket be40b736

Artifacts Associated With Ticket be40b736

  1. Ticket change [d1e82f889c] (rid 251573) by oehhar on 2026-02-17 18:23:55:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      When building with present cygwin, the cygwin version of rmdir and mkdir are used. This causes the following error, as the parameters are different:
      
      <verbatim>
      /usr/bin/rmdir: `/S': Permission denied
      /usr/bin/rmdir: `/Q': No such file or directory
      /usr/bin/rmdir: `C:\\test\\fossil\\tk\\6a9bae5e-demo-dist-nmake\\win\\Release_AMD64_VC1944\\libtk.vfs\\tk_library\\demos': Directory not empty
      NMAKE : fatal error U1077: "rmdir /S /Q "C:\test\fossil\tk\6a9bae5e-demo-dist-nmake\win\Release_AMD64_VC1944\libtk.vfs\tk_library\demos"": Rückgabe-Code "0x1"</verbatim>
      
      This happened in this [https://core.tcl-lang.org/tk/info/6a9bae5e8da5cdbe|tk bug 6a9bae5e].
      
      It must be fixed here, as the rules.vc of TCL is used also for Tk.
      A local copy is ignored, if TCL has one.
      
      Csaba proposed the following fix:
      
      <verbatim>
      1. makefile.vc includes rules-ext.vc, which in turn includes rules.vc.  The latter defines RMDIR and MKDIR as follows:
      
        RMDIR   = rmdir /S /Q
        ...
        MKDIR   = mkdir
      
      This is dangerous, because rmdir and mkdir are not only Window (originally DOS) commands, but they are also present in cygwin and msys/mingw, being that these emulate a part of a Unix environment.  And the cygwin commands seem to have precedence over the commands of the same name of Windows. 
      
      IMHO, the above definitions should be replaced with
      
        RMDIR   = rd /S /Q
        ...
        MKDIR   = md
      
      This would be better because rd and md are not present in cygwin and msys/mingw, thus no command-related ambiguities could happen any longer.
      </verbatim>
      
      THanks for all,
      Harald
      
    5. foundin initialized to: "main"
    6. is_private initialized to: "0"
    7. login: "oehhar"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "oehhar"
    14. subsystem initialized to: "53. Configuration and Build Tools"
    15. title initialized to:
      nmake: rmdir and mkdir are picked from cygwin if available
      
    16. type initialized to: "Bug"
  2. Ticket change [781e23184a] (rid 251575) by oehhar on 2026-02-17 18:34:30:

    1. icomment:
      Csabas fix is now in [b1c564e37d], branch [be40b736-nmake-rmdir-cygwin-mixup].
      
      For me, it solves the issue.
      
      Any objections to merge to 8.6,9.0, main branches?
      
      Thanks,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  3. Ticket change [3993145073] (rid 251581) by jan.nijtmans on 2026-02-18 08:19:51:

    1. assignee changed to: "hoehlmann"
    2. closedate changed to: "2461089.84711921"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      > Any objections to merge to 8.6,9.0, main branches?
      
      [1a9be588232b2144]
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"