Mercurial > vim
comparison src/fileio.c @ 15517:2ad5f0ffaa2e v8.1.0766
patch 8.1.0766: various problems when using Vim on VMS
commit https://github.com/vim/vim/commit/88c86eb751de9e7e410b405084d35b32fafc2a24
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 17 17:13:30 2019 +0100
patch 8.1.0766: various problems when using Vim on VMS
Problem: Various problems when using Vim on VMS.
Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Jan 2019 17:15:06 +0100 |
parents | 41fbbcea0f1b |
children | 959cf4c63b18 |
comparison
equal
deleted
inserted
replaced
15516:f9d855fe7971 | 15517:2ad5f0ffaa2e |
---|---|
5332 | 5332 |
5333 if (insert_space) | 5333 if (insert_space) |
5334 *p++ = ' '; | 5334 *p++ = ' '; |
5335 if (shortmess(SHM_LINES)) | 5335 if (shortmess(SHM_LINES)) |
5336 vim_snprintf((char *)p, IOSIZE - (p - IObuff), | 5336 vim_snprintf((char *)p, IOSIZE - (p - IObuff), |
5337 "%ldL, %lldC", lnum, (long long)nchars); | 5337 "%ldL, %lldC", lnum, (long_long_T)nchars); |
5338 else | 5338 else |
5339 { | 5339 { |
5340 sprintf((char *)p, NGETTEXT("%ld line, ", "%ld lines, ", lnum), lnum); | 5340 sprintf((char *)p, NGETTEXT("%ld line, ", "%ld lines, ", lnum), lnum); |
5341 p += STRLEN(p); | 5341 p += STRLEN(p); |
5342 vim_snprintf((char *)p, IOSIZE - (p - IObuff), | 5342 vim_snprintf((char *)p, IOSIZE - (p - IObuff), |
5343 NGETTEXT("%lld character", "%lld characters", nchars), | 5343 NGETTEXT("%lld character", "%lld characters", nchars), |
5344 (long long)nchars); | 5344 (long_long_T)nchars); |
5345 } | 5345 } |
5346 } | 5346 } |
5347 | 5347 |
5348 /* | 5348 /* |
5349 * Append message for missing line separator to IObuff. | 5349 * Append message for missing line separator to IObuff. |