From 23cdfca84155a8ba47c8f923d3cb137d89b27db9 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 4 Jul 1995 10:20:05 +0000 Subject: [PATCH] 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 --- cb5/d4data.c | 4 ++-- cb5/d4go.c | 2 +- cb5/d4seek.c | 4 ++-- cb5/d4skip.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cb5/d4data.c b/cb5/d4data.c index f898cb4c3..85dc3a4b5 100755 --- a/cb5/d4data.c +++ b/cb5/d4data.c @@ -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 diff --git a/cb5/d4go.c b/cb5/d4go.c index 37fcecd2e..9bc628b6e 100755 --- a/cb5/d4go.c +++ b/cb5/d4go.c @@ -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 diff --git a/cb5/d4seek.c b/cb5/d4seek.c index c4e1833ed..482d59cf6 100755 --- a/cb5/d4seek.c +++ b/cb5/d4seek.c @@ -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 diff --git a/cb5/d4skip.c b/cb5/d4skip.c index 5efae28f2..af4720660 100755 --- a/cb5/d4skip.c +++ b/cb5/d4skip.c @@ -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