Bash-4.2 patch 22
This commit is contained in:
parent
952a575888
commit
ea6616c01e
2 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue