[BACK]Return to position.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / bin / dd

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/bin/dd/position.c between version 1.6 and 1.6.6.1

version 1.6, 1997/07/25 06:46:24 version 1.6.6.1, 1999/12/27 18:26:59
Line 70  pos_in()
Line 70  pos_in()
 {  {
         int bcnt, cnt, nr, warned;          int bcnt, cnt, nr, warned;
   
         /* If not a character, pipe or tape device, try to seek on it. */          /* If not a pipe or tape device, try to seek on it. */
         if (!(in.flags & (ISCHR|ISPIPE|ISTAPE))) {          if (!(in.flags & (ISPIPE|ISTAPE))) {
                 if (lseek(in.fd, (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR)                  if (lseek(in.fd, (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR)
                     == -1)                      == -1)
                         err(1, "%s", in.name);                          err(1, "%s", in.name);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.6.1

CVSweb <webmaster@jp.NetBSD.org>