* fish_file_store): Call get_interrupt instead of testing
whether got_interrupt is non-NULL (it always is).
Этот коммит содержится в:
родитель
bc432cb01e
Коммит
4d149bb08e
@ -1,3 +1,8 @@
|
||||
2004-09-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* fish_file_store): Call get_interrupt instead of testing
|
||||
whether got_interrupt is non-NULL (it always is).
|
||||
|
||||
2004-09-04 Pavel S. Shirshov <pavelsh@mail.ru>
|
||||
|
||||
* vfs.c (vfs_cmp_handle): Fixing warnings on on 64-bit
|
||||
|
@ -546,7 +546,7 @@ fish_file_store(struct vfs_class *me, struct vfs_s_fh *fh, char *name, char *loc
|
||||
|
||||
while (1) {
|
||||
while ((n = read(h, buffer, sizeof(buffer))) < 0) {
|
||||
if ((errno == EINTR) && got_interrupt)
|
||||
if ((errno == EINTR) && got_interrupt())
|
||||
continue;
|
||||
print_vfs_message(_("fish: Local read failed, sending zeros") );
|
||||
close(h);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user