* src/androidvfs.c (android_fdopen): Do not neglect to
update next when iterating through open_parcel_fds.
method = service_class.open_document;
trunc = (flags & O_TRUNC);
- write = ((flags & O_RDWR) == O_RDWR || (flags & O_WRONLY));
+ write = (((flags & O_RDWR) == O_RDWR) || (flags & O_WRONLY));
inside_saf_critical_section = true;
descriptor
= (*android_java_env)->CallNonvirtualObjectMethod (android_java_env,
if (fd != new_fd)
emacs_abort ();
- goto open_file;
+ break;
}
+ else
+ next = &(*next)->next;
}
- open_file:
return fdopen (fd, mode);
}