use SEEK_* not L_*
authorMark Eichin <eichin@mit.edu>
Fri, 10 Jun 1994 19:30:28 +0000 (19:30 +0000)
committerMark Eichin <eichin@mit.edu>
Fri, 10 Jun 1994 19:30:28 +0000 (19:30 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3721 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/rcache/rc_io.c

index b089f3b74c07206e9bb6d1713ac791c0defb1664..2400492bd59590fa5b0169cd252178e1be211b69 100644 (file)
@@ -308,14 +308,14 @@ krb5_rc_iostuff *d;
 krb5_error_code krb5_rc_io_mark (d)
 krb5_rc_iostuff *d;
 {
- d->mark = lseek(d->fd,0,L_INCR); /* can't fail */
+ d->mark = lseek(d->fd,0,SEEK_CUR); /* can't fail */
  return 0;
 }
 
 krb5_error_code krb5_rc_io_unmark (d)
 krb5_rc_iostuff *d;
 {
- (void) lseek(d->fd,d->mark,L_SET); /* if it fails, tough luck */
+ (void) lseek(d->fd,d->mark,SEEK_SET); /* if it fails, tough luck */
  return 0;
 }