From 5f447ce8b3dd1638bebe589a9110fa1920722cbb Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Fri, 10 Jun 1994 19:30:28 +0000 Subject: [PATCH] use SEEK_* not L_* git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3721 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/rcache/rc_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.26.2