Re: Create new files as sparse on NT systems. (2nd try)

2003-02-20 Thread Corinna Vinschen
On Tue, Feb 18, 2003 at 10:51:31PM +0100, Vaclav Haisman wrote: 2003-02-17 Vaclav Haisman [EMAIL PROTECTED] * include/winioctl.h (FSCTL_SET_SPARSE): Define. 2003-02-18 Vaclav Haisman [EMAIL PROTECTED] * wincap.h (wincaps::supports_sparse_files): New flag.

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-20 Thread Corinna Vinschen
On Wed, Feb 19, 2003 at 10:06:37PM +0100, Corinna Vinschen wrote: Since st_blocks contains the number of blocks allocated, according to the Linux man page and SUSv3, shouldn't we change st_blocks to reflect the value of GetCompressedFileSize() now? I've checked in a patch so st_blocks is now

Re: Fix testsuite failures with GCC 3.4

2003-02-20 Thread Corinna Vinschen
On Wed, Feb 19, 2003 at 11:59:11PM +0100, Vaclav Haisman wrote: 2003-02-19 Vaclav Haisman [EMAIL PROTECTED] * winsup.api/crlf.c: Fix C signed/unsigned compare warning. * winsup.api/mmaptest01.c: Ditto. * winsup.api/ltp/chmod01.c: Ditto. * winsup.api/ltp/fork04.c:

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-20 Thread Christopher Faylor
On Thu, Feb 20, 2003 at 11:16:06AM +0100, Corinna Vinschen wrote: On Tue, Feb 18, 2003 at 10:51:31PM +0100, Vaclav Haisman wrote: 2003-02-17 Vaclav Haisman [EMAIL PROTECTED] * include/winioctl.h (FSCTL_SET_SPARSE): Define. 2003-02-18 Vaclav Haisman [EMAIL PROTECTED] *

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-20 Thread Corinna Vinschen
On Thu, Feb 20, 2003 at 10:25:00AM -0500, Christopher Faylor wrote: On Thu, Feb 20, 2003 at 11:16:06AM +0100, Corinna Vinschen wrote: I've applied that patch now. If anybody still has problems with it, please feel free to post a *testcase* which shows the problem. Um. I was still hoping

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-20 Thread Christopher Faylor
On Thu, Feb 20, 2003 at 04:52:22PM +0100, Corinna Vinschen wrote: However, since some people were objecting so doggedly, I was thinking that committing this patch would give a hint that a testcase(tm) is more useful than just musing. Everybody who wants this patch removed can accomplish this by

Silent some more warnings.

2003-02-20 Thread Vaclav Haisman
Hi, this patch silents warnings about strict-aliasing rules breach. There are also two hunks that remove obviously always true assert(). Vaclav Haisman 2003-02-20 Vaclav Haisman [EMAIL PROTECTED] * libc/stdio/vfprintf.c (cvt): Fix strict-aliasing rules breach warning.

access()

2003-02-20 Thread Pierre A. Humblet
Corinna, Here is a patch with a new implementation of access() using AccessCheck. Compared to the old version, the readonly attribute and the deny ace's are taken into account, and the function does not rely on /etc/passwd nor on /etc/group. It also seems to be somewhat faster. I was wondering

Re: access()

2003-02-20 Thread Christopher Faylor
On Thu, Feb 20, 2003 at 08:15:34PM -0500, Pierre A. Humblet wrote: 2) I am not sure when to use LoadDLLfuncEx vs. LoadDLLfunc. LoadDLLfunc issues an error if a function isn't found. LoadDllFuncEx lets you return an error code when the function isn't found. cgf