upgrade version to 1.43

pull/37/head V1.0.43
YuQing 2019-12-25 20:35:44 +08:00
parent 12dde730c8
commit c8c75666cf
3 changed files with 2 additions and 8 deletions

View File

@ -12,6 +12,6 @@ Chinese language: http://www.fastken.com/
# the command lines as: # the command lines as:
git clone https://github.com/happyfish100/libfastcommon.git git clone https://github.com/happyfish100/libfastcommon.git
cd libfastcommon; git checkout V1.0.42 cd libfastcommon; git checkout V1.0.43
./make.sh clean && ./make.sh && ./make.sh install ./make.sh clean && ./make.sh && ./make.sh install

View File

@ -4,7 +4,7 @@
%define CommitVersion %(echo $COMMIT_VERSION) %define CommitVersion %(echo $COMMIT_VERSION)
Name: libfastcommon Name: libfastcommon
Version: 1.0.42 Version: 1.0.43
Release: 1%{?dist} Release: 1%{?dist}
Summary: c common functions library extracted from my open source projects FastDFS Summary: c common functions library extracted from my open source projects FastDFS
License: LGPL License: LGPL

View File

@ -204,11 +204,5 @@ int buffered_file_writer_append_buff(BufferedFileWriter *writer,
memcpy(writer->current, buff, len); memcpy(writer->current, buff, len);
writer->current += len; writer->current += len;
if (writer->current > writer->water_mark)
{
return buffered_file_writer_flush(writer);
}
return 0; return 0;
} }