1
1

* fish_file_store): Call get_interrupt instead of testing

whether got_interrupt is non-NULL (it always is).
Этот коммит содержится в:
Andrew V. Samoilov 2004-09-09 13:26:02 +00:00
родитель bc432cb01e
Коммит 4d149bb08e
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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);