Mercurial > vim
comparison src/xxd/xxd.c @ 25076:5690cf66ee07 v8.2.3075
patch 8.2.3075: xxd always reports an old version string
Commit: https://github.com/vim/vim/commit/80b2ba3e9602e09ab523e78946fbb26da311b68b
Author: =?UTF-8?q?J=C3=BCrgen=20Weigert?= <jnweiger@gmail.com>
Date: Tue Jun 29 20:36:25 2021 +0200
patch 8.2.3075: xxd always reports an old version string
Problem: Xxd always reports an old version string. (?smund Ervik)
Solution: Update the version string with the last known change date.
(J?rgen Weigert, closes #8475)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 29 Jun 2021 20:45:03 +0200 |
parents | 75ef263d09d6 |
children | 0ff315dd0c48 |
comparison
equal
deleted
inserted
replaced
25075:c38c094f926e | 25076:5690cf66ee07 |
---|---|
53 * 2011 April Formatting by Bram Moolenaar | 53 * 2011 April Formatting by Bram Moolenaar |
54 * 08.06.2013 Little-endian hexdump (-e) and offset (-o) by Vadim Vygonets. | 54 * 08.06.2013 Little-endian hexdump (-e) and offset (-o) by Vadim Vygonets. |
55 * 11.01.2019 Add full 64/32 bit range to -o and output by Christer Jensen. | 55 * 11.01.2019 Add full 64/32 bit range to -o and output by Christer Jensen. |
56 * 04.02.2020 Add -d for decimal offsets by Aapo Rantalainen | 56 * 04.02.2020 Add -d for decimal offsets by Aapo Rantalainen |
57 * | 57 * |
58 * (c) 1990-1998 by Juergen Weigert (jnweiger@informatik.uni-erlangen.de) | 58 * (c) 1990-1998 by Juergen Weigert (jnweiger@gmail.com) |
59 * | 59 * |
60 * I hereby grant permission to distribute and use xxd | 60 * I hereby grant permission to distribute and use xxd |
61 * under X11-MIT or GPL-2.0 (at the user's choice). | 61 * under X11-MIT or GPL-2.0 (at the user's choice). |
62 * | 62 * |
63 * Small changes made afterwards by Bram Moolenaar et al. | 63 * Contributions by Bram Moolenaar et al. |
64 * | |
65 * Distribute freely and credit me, | |
66 * make money and share with me, | |
67 * lose money and don't ask me. | |
68 */ | 64 */ |
69 | 65 |
70 /* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */ | 66 /* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */ |
71 #if _MSC_VER >= 1400 | 67 #if _MSC_VER >= 1400 |
72 # define _CRT_SECURE_NO_DEPRECATE | 68 # define _CRT_SECURE_NO_DEPRECATE |
133 #endif | 129 #endif |
134 | 130 |
135 extern long int strtol(); | 131 extern long int strtol(); |
136 extern long int ftell(); | 132 extern long int ftell(); |
137 | 133 |
138 char version[] = "xxd V1.10 27oct98 by Juergen Weigert"; | 134 char version[] = "xxd 2020-02-04 by Juergen Weigert et al."; |
139 #ifdef WIN32 | 135 #ifdef WIN32 |
140 char osver[] = " (Win32)"; | 136 char osver[] = " (Win32)"; |
141 #else | 137 #else |
142 char osver[] = ""; | 138 char osver[] = ""; |
143 #endif | 139 #endif |