Arc Forumnew | comments | leaders | submitlogin
4 points by CatDancer 6142 days ago | link | parent

In the stable def for mkdir:

  ; If we're running Unix, MzScheme <371 has a bug
  ; where make-directory* sets the sticky bit.
  ; Thus, we want to use system instead.
Actually, in MzScheme 352, make-directory also sets the sticky bit, so the version currently in stable is buggy for that version of MzScheme:

  arc> (mkdir "foo")
  nil
  arc> ^D
  $ ls -l
  total 0
  drwxr-xr-t 2 cat cat 48 Feb 29 09:49 foo


1 point by CatDancer 6142 days ago | link

Also the check in ensure-dir to see if the directory already exists has been taken out going from arc2 -> stable, which means that if the os is unix or macos, you're going to be firing up the shell on every single call to ensure-dir.

-----

2 points by CatDancer 6142 days ago | link

Ah, look, an email address for the committer to complain to... very cool! ^_^

-----

1 point by nex3 6142 days ago | link

Fixed and fixed. Thanks :-).

-----

1 point by CatDancer 6142 days ago | link

  arc> (mkdir "foo")
  Error: "Function call on inappropriate object nil (\"foo\")"

-----

1 point by almkglor 6142 days ago | link

Fixed on master branch. Sorry nex-3, I don't develop on stable branch at all, and I'm pretty much just using git as a glorified CVS ^^

-----

1 point by nex3 6142 days ago | link

Would you be willing to try using stable? It's really not that hard, and it keeps the history so neat.

-----

1 point by almkglor 6142 days ago | link

Will try later, anyhow how to do changes on both stable and master?

-----

1 point by nex3 6141 days ago | link

It's probably not worth worrying about for this patch, because mkdir is in a different place in stable... I'll worry about that. But for future reference, the original post has a good procedure.

-----