Bash-4.2 direxpand with patch 22

This commit is contained in:
Chet Ramey
2012-03-13 09:52:48 -04:00
parent e6a6f4787f
commit 2a6dda23e7
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -160,14 +160,13 @@ void
zsyncfd (fd)
int fd;
{
off_t off;
int r;
off_t off, r;
off = lused - lind;
r = 0;
if (off > 0)
r = lseek (fd, -off, SEEK_CUR);
if (r >= 0)
if (r != -1)
lused = lind = 0;
}
+1 -1
View File
@@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 21
#define PATCHLEVEL 22
#endif /* _PATCHLEVEL_H_ */