[ros-diffs] [greatlrd] 17634: fix bug 739 can not create file
notepad newfile.txt
greatlrd at svn.reactos.com
greatlrd at svn.reactos.com
Sun Sep 4 13:47:58 CEST 2005
fix bug 739 can not create file notepad newfile.txt
at cmd prompt
Modified: trunk/reactos/subsys/system/notepad/dialog.c
_____
Modified: trunk/reactos/subsys/system/notepad/dialog.c
--- trunk/reactos/subsys/system/notepad/dialog.c 2005-09-04
11:31:54 UTC (rev 17633)
+++ trunk/reactos/subsys/system/notepad/dialog.c 2005-09-04
11:47:50 UTC (rev 17634)
@@ -216,7 +216,7 @@
return;
hFile = CreateFile(szFileName, GENERIC_READ, FILE_SHARE_READ, NULL,
- OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
+ OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if(hFile == INVALID_HANDLE_VALUE)
{
ShowLastError();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050904/d243dbab/attachment.html
More information about the Ros-diffs
mailing list