This commit was generated by cvs2svn to compensate for changes in r1549,
which included commits to RCS files with non-trunk default branches. git-svn-id: svn://10.65.10.50/trunk@1550 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d4e8e2d49e
commit
23cdfca841
@ -115,7 +115,7 @@ int S4FUNCTION d4bottom( DATA4 *data )
|
||||
if ( data->code_base->error_code < 0 )
|
||||
return -1 ;
|
||||
#else
|
||||
rc = d4update_record( data, 1 ) ; /* updates the record, returns -1 if code_base->error_code < 0 */
|
||||
rc = d4update_record( data, 0 ) ; /* was 1 updates the record, returns -1 if code_base->error_code < 0 */
|
||||
if ( rc )
|
||||
return rc ;
|
||||
#endif
|
||||
@ -462,7 +462,7 @@ int S4FUNCTION d4top( DATA4 *data )
|
||||
else
|
||||
{
|
||||
#ifndef S4OFF_WRITE
|
||||
rc = d4update_record( data, 1 ) ;
|
||||
rc = d4update_record( data, 0 ) ; /* was 1 */
|
||||
if ( rc )
|
||||
return rc ;
|
||||
#endif
|
||||
|
@ -141,7 +141,7 @@ int S4FUNCTION d4go_eof( DATA4 *data )
|
||||
if ( data->code_base->error_code < 0 )
|
||||
return -1 ;
|
||||
#else
|
||||
rc = d4update_record( data, 1 ) ; /* returns -1 if code_base->error_code < 0 */
|
||||
rc = d4update_record( data, 0 ) ; /* was 1 returns -1 if code_base->error_code < 0 */
|
||||
if ( rc )
|
||||
return rc ;
|
||||
#endif
|
||||
|
@ -109,7 +109,7 @@ int S4FUNCTION d4seek_n( DATA4 *data, char *str, int len )
|
||||
return r4no_tag ;
|
||||
|
||||
#ifndef S4OFF_WRITE
|
||||
rc = d4update_record( data, 1 ) ;
|
||||
rc = d4update_record( data, 0 ) ; /* was 1 */
|
||||
if ( rc )
|
||||
return rc ;
|
||||
#endif
|
||||
@ -233,7 +233,7 @@ int S4FUNCTION d4seek_double( DATA4 *data, double dkey )
|
||||
return r4no_tag ;
|
||||
|
||||
#ifndef S4OFF_WRITE
|
||||
rc = d4update_record( data, 1 ) ;
|
||||
rc = d4update_record( data, 0 ) ; /* was 1 */
|
||||
if ( rc )
|
||||
return rc ;
|
||||
#endif
|
||||
|
@ -123,7 +123,7 @@ int S4FUNCTION d4skip( DATA4 *data, long n )
|
||||
|
||||
#ifndef S4OFF_WRITE
|
||||
if ( data->record_changed )
|
||||
if ( d4update_record( data, 1 ) < 0 )
|
||||
if ( d4update_record( data, 0 ) < 0 ) /* was 1 */
|
||||
return -1 ;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user