mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
Merge tag '0.79'
This commit is contained in:
commit
13e2dfd4dd
2
Buildscr
2
Buildscr
@ -35,7 +35,7 @@ module putty
|
||||
ifeq "$(RELEASE)" "" set Ndate $(!builddate)
|
||||
ifneq "$(Ndate)" "" in . do echo $(Ndate) | perl -pe 's/(....)(..)(..)/$$1-$$2-$$3/' > date
|
||||
ifneq "$(Ndate)" "" read Date date
|
||||
set Epoch 18293 # update this at every release
|
||||
set Epoch 18595 # update this at every release
|
||||
ifneq "$(Ndate)" "" in . do echo $(Ndate) | perl -ne 'use Time::Local; /(....)(..)(..)/ and print timegm(0,0,0,$$3,$$2-1,$$1) / 86400 - $(Epoch)' > days
|
||||
ifneq "$(Ndate)" "" read Days days
|
||||
|
||||
|
@ -1 +1 @@
|
||||
0.78
|
||||
0.79
|
||||
|
@ -41,7 +41,7 @@ use Plink:
|
||||
|
||||
\c C:\>plink
|
||||
\c Plink: command-line connection utility
|
||||
\c Release 0.78
|
||||
\c Release 0.79
|
||||
\c Usage: plink [options] [user@]host [command]
|
||||
\c ("host" can also be a PuTTY saved session name)
|
||||
\c Options:
|
||||
|
@ -39,7 +39,7 @@ use PSCP:
|
||||
|
||||
\c C:\>pscp
|
||||
\c PuTTY Secure Copy client
|
||||
\c Release 0.78
|
||||
\c Release 0.79
|
||||
\c Usage: pscp [options] [user@]host:source target
|
||||
\c pscp [options] source [source...] [user@]host:target
|
||||
\c pscp [options] -ls [user@]host:filespec
|
||||
|
@ -1741,7 +1741,17 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
MB_ICONERROR | MB_OK);
|
||||
return 1;
|
||||
}
|
||||
fprintf(fp, "IdentityAgent \"%s\"\n", pipename);
|
||||
fputs("IdentityAgent \"", fp);
|
||||
/* Some versions of Windows OpenSSH prefer / to \ as the path
|
||||
* separator; others don't mind, but as far as we know, no
|
||||
* version _objects_ to /, so we use it unconditionally. */
|
||||
for (const char *p = pipename; *p; p++) {
|
||||
char c = *p;
|
||||
if (c == '\\')
|
||||
c = '/';
|
||||
fputc(c, fp);
|
||||
}
|
||||
fputs("\"\n", fp);
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user