http://d.puremagic.com/issues/show_bug.cgi?id=2429


ja...@spashett.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #5 from ja...@spashett.com  2009-01-24 06:39 -------
Please see my patch above.

For Windows:

The share mode should always be READ and WRITE, otherwise it's impossible to
open the same file for read and write in two (dmd compiled) processes. Examples
where this is desirable is databases/bloom filters other shared data. Behavior
to conform as other compilers/std libraries on this platform.

For Linux:

The permissions, or (share) variable should alwyas be set to 666. File mode
(i.e. read or write) should have no bearing whatsoever on file permissions.
unix umask should be used instead to change these properties. Behavior to
conform as other compilers/libries on this platform.


-- 

Reply via email to