- Timestamp:
- Jul 27, 2006, 4:42:10 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/dll/sysinfo.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/sysinfo.c
r332 r374 12 12 08 Feb 03 SHL Enable display 13 13 01 Aug 04 SHL RunRmview: avoid buffer overflow 14 2 2 Jul 06 SHL Comments14 26 Jul 06 SHL Report open errors 15 15 16 16 ***********************************************************************/ … … 49 49 goto Abort; 50 50 unlinkf("%s","$RMVIEW.#$#"); 51 fp = fopen("$RMVIEW.#$#","w"); 52 if(fp) { 51 fp = xfopen("$RMVIEW.#$#","w"); 52 if (!fp) 53 goto Abort; 54 else { 53 55 newstdout = -1; 54 56 if(DosDupHandle(fileno(stdout),&newstdout)) { … … 65 67 fclose(fp); 66 68 } 67 else69 if (!WinIsWindow(thab,hwnd)) 68 70 goto Abort; 69 if(!WinIsWindow(thab,hwnd)) 70 goto Abort; 71 fp = fopen("$RMVIEW.#$#","r"); 72 if(fp) { 71 fp = xfopen("$RMVIEW.#$#","r"); 72 if (fp) { 73 73 fgets(s,2048,fp); 74 74 fgets(s,2048,fp);
Note:
See TracChangeset
for help on using the changeset viewer.
