projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba8d684
)
use SEEK_* not L_*
author
Mark Eichin
<eichin@mit.edu>
Fri, 10 Jun 1994 19:30:28 +0000
(19:30 +0000)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/src/lib/krb5/rcache/rc_io.c
b/src/lib/krb5/rcache/rc_io.c
index b089f3b74c07206e9bb6d1713ac791c0defb1664..2400492bd59590fa5b0169cd252178e1be211b69 100644
(file)
--- 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_INC
R); /* can't fail */
+ d->mark = lseek(d->fd,0,
SEEK_CU
R); /* 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;
}