mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- The lseek() function return code was not consistently treated as the
then current file position. Fixed. - Numerous house-keeping changes. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14836 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdio_dropiobreadbuffer.c,v 1.4 2005-02-20 13:19:40 obarthel Exp $
|
||||
* $Id: stdio_dropiobreadbuffer.c,v 1.5 2005-02-20 15:46:52 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -77,9 +77,9 @@ __drop_iob_read_buffer(struct iob * file)
|
||||
|
||||
SHOWMSG("calling the action function");
|
||||
|
||||
fam.fam_Action = file_action_seek;
|
||||
fam.fam_Position = -num_unread_bytes;
|
||||
fam.fam_Mode = SEEK_CUR;
|
||||
fam.fam_Action = file_action_seek;
|
||||
fam.fam_Offset = -num_unread_bytes;
|
||||
fam.fam_Mode = SEEK_CUR;
|
||||
|
||||
assert( file->iob_Action != NULL );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user