Re: kernel32: Specify the access rights when creating a file object.

2012-01-13 Thread Alexandre Julliard
Dmitry Timoshkov writes: > Alexandre Julliard wrote: > >> Requiring extra access rights can break things, especially in such >> low-level functions. It's not just a harmless cleanup, so you need to >> either show an app that requires it, or provide a test case that >> demonstrates that the extra

Re: kernel32: Specify the access rights when creating a file object.

2012-01-13 Thread Dmitry Timoshkov
Alexandre Julliard wrote: > Requiring extra access rights can break things, especially in such > low-level functions. It's not just a harmless cleanup, so you need to > either show an app that requires it, or provide a test case that > demonstrates that the extra accesses are required on Windows

Re: kernel32: Specify the access rights when creating a file object.

2012-01-13 Thread Alexandre Julliard
Dmitry Timoshkov writes: >> Alexandre Julliard wrote: >> >> > > While investigating how to fix the file section access tests in kernel32 >> > > I've >> > > found that some places in Wine deliberately create objects with access >> > > rights >> > > set to 0, that leads to creation of potential

Re: kernel32: Specify the access rights when creating a file object.

2012-01-13 Thread Dmitry Timoshkov
> Alexandre Julliard wrote: > > > > While investigating how to fix the file section access tests in kernel32 > > > I've > > > found that some places in Wine deliberately create objects with access > > > rights > > > set to 0, that leads to creation of potentially not accessible objects. > > >

Re: kernel32: Specify the access rights when creating a file object.

2012-01-12 Thread Dmitry Timoshkov
Alexandre Julliard wrote: > > While investigating how to fix the file section access tests in kernel32 > > I've > > found that some places in Wine deliberately create objects with access > > rights > > set to 0, that leads to creation of potentially not accessible objects. > > Many of these ar

Re: kernel32: Specify the access rights when creating a file object.

2012-01-12 Thread Alexandre Julliard
Dmitry Timoshkov writes: > While investigating how to fix the file section access tests in kernel32 I've > found that some places in Wine deliberately create objects with access rights > set to 0, that leads to creation of potentially not accessible objects. Many of these are deliberate. You'll