summaryrefslogtreecommitdiff
path: root/data/vim/timestamp.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/vim/timestamp.diff')
-rw-r--r--data/vim/timestamp.diff81
1 files changed, 16 insertions, 65 deletions
diff --git a/data/vim/timestamp.diff b/data/vim/timestamp.diff
index c54d24bf1..afa810efc 100644
--- a/data/vim/timestamp.diff
+++ b/data/vim/timestamp.diff
@@ -1,73 +1,24 @@
-diff -ur vim81/src/globals.h vim81+iPhone/src/globals.h
---- vim81/src/globals.h 2018-07-27 10:35:59.000000000 -1000
-+++ vim81+iPhone/src/globals.h 2018-07-27 11:41:21.000000000 -1000
-@@ -1133,11 +1133,7 @@
+diff -ur vim-8.1.1471/src/globals.h vim-8.1.1471+iOS/src/globals.h
+--- vim-8.1.1471/src/globals.h 2019-06-05 10:57:04.000000000 -1000
++++ vim-8.1.1471+iOS/src/globals.h 2019-08-30 09:01:39.000000000 -1000
+@@ -1124,7 +1124,7 @@
/* These are in version.c, call init_longVersion() before use. */
extern char *Version;
-#if defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC)
--extern char longVersion[];
--#else
--EXTERN char *longVersion;
--#endif
-+extern char *longVersion;
-
- /*
- * Some file names are stored in pathdef.c, which is generated from the
-diff -ur vim81/src/version.c vim81+iPhone/src/version.c
---- vim81/src/version.c 2018-07-27 10:36:00.000000000 -1000
-+++ vim81+iPhone/src/version.c 2018-07-27 11:39:59.000000000 -1000
-@@ -31,45 +31,6 @@
++#if 0 //defined(HAVE_DATE_TIME) && defined(VMS) && defined(VAXC)
+ extern char longVersion[];
+ #else
+ EXTERN char *longVersion;
+diff -ur vim-8.1.1471/src/version.c vim-8.1.1471+iOS/src/version.c
+--- vim-8.1.1471/src/version.c 2019-06-05 10:57:04.000000000 -1000
++++ vim-8.1.1471+iOS/src/version.c 2019-08-30 09:00:13.000000000 -1000
+@@ -31,7 +31,7 @@
char *Version = VIM_VERSION_SHORT;
static char *mediumVersion = VIM_VERSION_MEDIUM;
-#if defined(HAVE_DATE_TIME) || defined(PROTO)
--# if (defined(VMS) && defined(VAXC)) || defined(PROTO)
--char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__)
-- + sizeof(__TIME__) + 3];
--
-- void
--init_longVersion(void)
--{
-- /*
-- * Construct the long version string. Necessary because
-- * VAX C can't catenate strings in the preprocessor.
-- */
-- strcpy(longVersion, VIM_VERSION_LONG_DATE);
-- strcat(longVersion, __DATE__);
-- strcat(longVersion, " ");
-- strcat(longVersion, __TIME__);
-- strcat(longVersion, ")");
--}
--
--# else
-- void
--init_longVersion(void)
--{
-- char *date_time = __DATE__ " " __TIME__;
-- char *msg = _("%s (%s, compiled %s)");
-- size_t len = strlen(msg)
-- + strlen(VIM_VERSION_LONG_ONLY)
-- + strlen(VIM_VERSION_DATE_ONLY)
-- + strlen(date_time);
--
-- longVersion = (char *)alloc((unsigned)len);
-- if (longVersion == NULL)
-- longVersion = VIM_VERSION_LONG;
-- else
-- vim_snprintf(longVersion, len, msg,
-- VIM_VERSION_LONG_ONLY, VIM_VERSION_DATE_ONLY, date_time);
--}
--# endif
--#else
- char *longVersion = VIM_VERSION_LONG;
-
- void
-@@ -77,7 +38,6 @@
- {
- // nothing to do
- }
--#endif
-
- static void list_features(void);
-
++#if 0 //defined(HAVE_DATE_TIME) || defined(PROTO)
+ # if (defined(VMS) && defined(VAXC)) || defined(PROTO)
+ char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__)
+ + sizeof(__TIME__) + 3];