Changeset 4230 for trunk/src/kernel32/Fileio.cpp
- Timestamp:
- Sep 10, 2000, 11:54:07 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/Fileio.cpp
r4171 r4230 1 /* $Id: Fileio.cpp,v 1.3 7 2000-09-03 09:32:04sandervl Exp $ */1 /* $Id: Fileio.cpp,v 1.38 2000-09-10 21:54:05 sandervl Exp $ */ 2 2 3 3 /* … … 601 601 rc = O32_GetFileAttributes((LPSTR)lpszFileName); 602 602 if(rc == -1 && lpszFileName[strlen(lpszFileName)-1] != '\\') { 603 char *filename = (char *)alloca(strlen(lpszFileName)+ 1);603 char *filename = (char *)alloca(strlen(lpszFileName)+2); //+2!!!!!! 604 604 strcpy(filename, lpszFileName); 605 605 strcat(filename, "\\");
Note:
See TracChangeset
for help on using the changeset viewer.