carbon2-commit: Fix VS6 build breakage in fileio.c
Vin Shelton
acs at xemacs.org
Sun Feb 7 12:39:23 EST 2010
changeset: 4912:a03421eb562b
user: Vin Shelton <acs at xemacs.org>
date: Thu Jan 14 20:55:10 2010 -0500
files: src/ChangeLog src/fileio.c
description:
Fix VS6 build breakage in fileio.c
diff -r 5ab6dc5d789e -r a03421eb562b src/ChangeLog
--- a/src/ChangeLog Thu Jan 14 20:34:28 2010 -0500
+++ b/src/ChangeLog Thu Jan 14 20:55:10 2010 -0500
@@ -1,4 +1,7 @@
2010-01-14 Vin Shelton <acs at xemacs.org>
+
+ * fileio.c (check_writable): Fix compilation error under Visual
+ Studio 6.
* sysfile.h:
Add conditional definition for EOVERFLOW, which isn't defined
diff -r 5ab6dc5d789e -r a03421eb562b src/fileio.c
--- a/src/fileio.c Thu Jan 14 20:34:28 2010 -0500
+++ b/src/fileio.c Thu Jan 14 20:55:10 2010 -0500
@@ -2344,7 +2344,7 @@
DWORD dwAccessAllowed;
Extbyte *fnameext;
- LOCAL_FILE_FORMAT_TO_TSTR (filename, fnameext);
+ LOCAL_FILE_FORMAT_TO_TSTR ((Ibyte *)filename, fnameext);
// First check for a normal file with the old-style readonly bit
attributes = qxeGetFileAttributes(fnameext);
More information about the XEmacs-Patches
mailing list