0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

updated for version 7.1-167

This commit is contained in:
Bram Moolenaar
2007-12-03 20:32:43 +00:00
parent 0a30746d70
commit e9c3bcda1d
2 changed files with 6 additions and 2 deletions

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
167,
/**/ /**/
166, 166,
/**/ /**/

View File

@@ -212,7 +212,7 @@ static void xxdline __P((FILE *, char *, int));
#define TRY_SEEK /* attempt to use lseek, or skip forward by reading */ #define TRY_SEEK /* attempt to use lseek, or skip forward by reading */
#define COLS 256 /* change here, if you ever need more columns */ #define COLS 256 /* change here, if you ever need more columns */
#define LLEN (9 + (5*COLS-1)/2 + 2 + COLS) #define LLEN (11 + (9*COLS-1)/1 + COLS + 2)
char hexxa[] = "0123456789abcdef0123456789ABCDEF", *hexx = hexxa; char hexxa[] = "0123456789abcdef0123456789ABCDEF", *hexx = hexxa;
@@ -590,7 +590,8 @@ char *argv[];
default: octspergrp = 0; break; default: octspergrp = 0; break;
} }
if (cols < 1 || (!hextype && (cols > COLS))) if (cols < 1 || ((hextype == HEX_NORMAL || hextype == HEX_BITS)
&& (cols > COLS)))
{ {
fprintf(stderr, "%s: invalid number of columns (max. %d).\n", pname, COLS); fprintf(stderr, "%s: invalid number of columns (max. %d).\n", pname, COLS);
exit(1); exit(1);
@@ -750,6 +751,7 @@ char *argv[];
} }
if (ebcdic) if (ebcdic)
e = (e < 64) ? '.' : etoa64[e-64]; e = (e < 64) ? '.' : etoa64[e-64];
/* When changing this update definition of LLEN above. */
l[11 + (grplen * cols - 1)/octspergrp + p] = l[11 + (grplen * cols - 1)/octspergrp + p] =
#ifdef __MVS__ #ifdef __MVS__
(e >= 64) (e >= 64)