search for: dwflagsandattribut

Displaying 4 results from an estimated 4 matches for "dwflagsandattribut".

Did you mean: dwflagsandattributes
2013 Apr 20
1
One tiny Windows Unicode patch
...struct utimbuf *times); int unlink_utf8(const char *filename); int rename_utf8(const char *oldname, const char *newname); +HANDLE WINAPI CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile); #ifdef __cplusplus } /* extern "C" */ diff --git a/src/share/grabbag/file.c b/src/share/grabbag/file.c index dd2880c..a3706f1 100644 --- a/src/share/grabbag/file.c +++ b/src/share/grabbag/file.c @@ -127,8 +127,8 @@ FLAC__bool grabbag__file_are_same(const char...
2006 Mar 27
1
Running SQL over SAMBA?
...se must meet SQL Server requirements for data write ordering and write-through guarantees detailed in the "More Information" section of this article. . http://support.microsoft.com/kb/234656/ All versions of SQL Server open the log and data files using the Win32 CreateFile function. The dwFlagsAndAttributes member includes the FILE_FLAG_WRITE_THROUGH option when opened by SQL Server. All comments are welcome and highly appreciated. Cheers, Ephi
2008 Jan 25
1
Windows share modes and Linux file locking, flock & fcntl
...{ handle = CreateFile( filename, GENERIC_READ | GENERIC_WRITE, /* desired access */ 0, /* share mode: no sharing */ NULL, /* security attributes */ OPEN_EXISTING, /* creation disposition - fail if not found */ 0, /* dwFlagsAndAttributes - i think we can ignore this since the file exists */ NULL /* template for attributes when creating file */ ); if(handle != INVALID_HANDLE_VALUE) break; else Sleep(1000); } printf("Acquired Lock\n")...
2017 Nov 09
10
Experiment on how to improve our temporary file handing.
Currently a power failure or other hard crash can cause lld leave a temporary file around. The same is true for other llvm tools. As an example, put a breakpoint in Writer.cpp:236 ("writeBuildId()") and restart the run a few times. You will get t.tmp43a735a t.tmp4deeabb t.tmp9bacdd3 t.tmpe4115c4 t.tmpeb01fff The same would happen if there was a fatal error between the