[GHC] #4520: startup code on Windows should use SetDllDirectory("")

GHC ghc-devs at haskell.org
Sun Oct 9 20:15:32 UTC 2016


#4520: startup code on Windows should use SetDllDirectory("")
-------------------------------------+-------------------------------------
        Reporter:  duncan            |                Owner:
            Type:  feature request   |               Status:  closed
        Priority:  low               |            Milestone:
       Component:  Runtime System    |              Version:  7.0.1
      Resolution:  wontfix           |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by Phyx-):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I believe the guidance is outdated and doesn't change anything at all.
 This guidance also predates UAC, which would prevent a non-admin user from
 writing to the current directory anyway. If the user has admin rights than
 very little can be done to stop interference. There are numerous other
 ways to accomplish the same thing without any extra effort.

 I don't think this change is worth the engineering effort.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4520#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list