That is, indeed, the fix that's already in the bug...

Edward Wilson wrote:
> Off the top of my head I can't think of anything that changes state on a 0 
> offset relative seek, so, how about (in context diff format),
>  
> *** pfiles.c.prev       Sun Dec 11 23:02:37 2005
> --- pfiles.c    Sun Dec 11 23:02:12 2005
> ***************
> *** 190,195 ****
> --- 190,196 ----
>         char fname[PATH_MAX];
>         struct stat64 statb;
>         struct rlimit rlim;
> +       offset_t off;
>         pid_t pid;
>         int fd;
>         char *s;
> ***************
> *** 277,282 ****
> --- 278,288 ----
>                         (int)statb.st_uid,
>                         (int)statb.st_gid);
>   
> +               off = pr_llseek(Pr, fd, (offset_t) 0, SEEK_CUR);
> +               if (off != (offset_t) -1) {
> +                       (void) printf(" offset:%lld", (long long) off);
> +               }
> + 
>                 if (rdev == NODEV)
>                         (void) printf(" size:%lld\n",
>                                 (longlong_t)statb.st_size);
> This message posted from opensolaris.org
> _______________________________________________
> request-sponsor mailing list
> request-sponsor at opensolaris.org


Reply via email to