From: Mark Eichin Date: Fri, 10 Jun 1994 19:30:28 +0000 (+0000) Subject: use SEEK_* not L_* X-Git-Tag: krb5-1.0-beta4~132 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f447ce8b3dd1638bebe589a9110fa1920722cbb;p=krb5.git use SEEK_* not L_* git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3721 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/rcache/rc_io.c b/src/lib/krb5/rcache/rc_io.c index b089f3b74..2400492bd 100644 --- a/src/lib/krb5/rcache/rc_io.c +++ b/src/lib/krb5/rcache/rc_io.c @@ -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; }