Browse Subversion Repository
Diff of /trunk/teraterm/ttpcmn/ttcmn.c
Parent Directory
| Revision Log
| Patch
| 1972 |
#if 1 |
#if 1 |
| 1973 |
for (i=1; i<=ComPortMax; i++) { |
for (i=1; i<=ComPortMax; i++) { |
| 1974 |
FILE *fp; |
FILE *fp; |
| 1975 |
char buf[11]; // \\.\COMxxx + NULL |
char buf[12]; // \\.\COMxxxx + NULL |
| 1976 |
_snprintf_s(buf, sizeof(buf), _TRUNCATE, "\\\\.\\COM%d", i); |
_snprintf_s(buf, sizeof(buf), _TRUNCATE, "\\\\.\\COM%d", i); |
| 1977 |
if ((fp = fopen(buf, "r")) != NULL) { |
if ((fp = fopen(buf, "r")) != NULL) { |
| 1978 |
fclose(fp); |
fclose(fp); |
|
|
Legend:
| Removed from v.3675 |
|
| changed lines |
| |
Added in v.3707 |
|
|
| |