7 Bug-Reported-by: Gregory Margo <gmargo@pacbell.net>
8 Bug-Reference-ID: <20110727174529.GA3333@pacbell.net>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-07/msg00102.html
13 The return value from lseek is `off_t'. This can cause corrupted return
14 values when the file offset is greater than 2**31 - 1.
16 Index: b/bash/lib/sh/zread.c
17 ===================================================================
18 --- a/bash/lib/sh/zread.c
19 +++ b/bash/lib/sh/zread.c
31 r = lseek (fd, -off, SEEK_CUR);
37 Index: b/bash/patchlevel.h
38 ===================================================================
39 --- a/bash/patchlevel.h
40 +++ b/bash/patchlevel.h
42 regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
43 looks for to find the patch level (for the sccs version string). */
45 -#define PATCHLEVEL 21
46 +#define PATCHLEVEL 22
48 #endif /* _PATCHLEVEL_H_ */