30 lines
783 B
Diff
30 lines
783 B
Diff
|
|
||
|
__DATE__/__TIME__ should not be used; it causes unnecessary
|
||
|
rebuilds in the build service.
|
||
|
|
||
|
---
|
||
|
version.c | 6 +++---
|
||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||
|
|
||
|
Index: putty-0.62/version.c
|
||
|
===================================================================
|
||
|
--- putty-0.62.orig/version.c
|
||
|
+++ putty-0.62/version.c
|
||
|
@@ -30,13 +30,13 @@ char sshver[] = "PuTTY-Prerelease-" STR(
|
||
|
|
||
|
#elif defined SVN_REV
|
||
|
|
||
|
-char ver[] = "Custom build r" STR(SVN_REV) ", " __DATE__ " " __TIME__;
|
||
|
+char ver[] = "Custom build r" STR(SVN_REV);
|
||
|
char sshver[] = "PuTTY-Custom-r" STR(SVN_REV);
|
||
|
|
||
|
#else
|
||
|
|
||
|
-char ver[] = "Unidentified build, " __DATE__ " " __TIME__;
|
||
|
-char sshver[] = "PuTTY-Local: " __DATE__ " " __TIME__;
|
||
|
+char ver[] = "Unidentified build";
|
||
|
+char sshver[] = "PuTTY-Local";
|
||
|
|
||
|
#endif
|
||
|
|