Differences From Artifact [9d416f0baa]:
- File windows/window.c — part of check-in [dc0247bf7b] at 2007-02-16 12:44:07 on branch trunk — r7265 broke the legacy `putty @sessionname' construction, which I wouldn't care about except for the fact that it's still used to implement the Saved Sessions menu item in PuTTY and Pageant. (user: simon size: 143264)
To Artifact [c19890a39f]:
- File windows/window.c — part of check-in [de46d1c4c8] at 2007-02-17 11:44:24 on branch trunk — Unbreak "Duplicate session" on Windows, in a similar way to r7291. (user: jacob size: 143289)
| ︙ | |||
409 410 411 412 413 414 415 416 417 418 419 420 421 422 | 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 | + |
Config *cp;
if (sscanf(p + 1, "%p", &filemap) == 1 &&
(cp = MapViewOfFile(filemap, FILE_MAP_READ,
0, 0, sizeof(Config))) != NULL) {
cfg = *cp;
UnmapViewOfFile(cp);
CloseHandle(filemap);
loaded_session = TRUE;
} else if (!do_config()) {
cleanup_exit(0);
}
} else {
/*
* Otherwise, break up the command line and deal with
* it sensibly.
|
| ︙ |