Mail Archives: djgpp-workers/2000/11/27/10:49:13
> > + new_dev_info = _get_dev_info(fd);
> > +
> > + /* If the dev info words are equal, then the documented
> > + interface can't be used to set the inheritance bit. */
> > + return (new_dev_info == dev_info) ? 1 : 0;
>
> The above comment seems to be misleading: acrually, if the info words
> are equal, the documented interface *can* be used to set inheritance
> bit. Or am I missing something?
This is part of my original code, so it's my doing. The word 'can't' should
indeed be deleted.
>
> > + case F_SETLKW:
> > + {
> > + struct flock *lock_req = NULL; /* shut up -Wall */
> > + int ret = -1;
> > + off_t pos, cur_pos, lock_pos;
> > + off_t len;
When I came up with this part, the FAT32 support was not yet in. So it's my
mistake that offset_t and llseek wasn't used here.
Mark
- Raw text -