parent
12dde730c8
commit
c8c75666cf
2
INSTALL
2
INSTALL
|
|
@ -12,6 +12,6 @@ Chinese language: http://www.fastken.com/
|
|||
# the command lines as:
|
||||
|
||||
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
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
%define CommitVersion %(echo $COMMIT_VERSION)
|
||||
|
||||
Name: libfastcommon
|
||||
Version: 1.0.42
|
||||
Version: 1.0.43
|
||||
Release: 1%{?dist}
|
||||
Summary: c common functions library extracted from my open source projects FastDFS
|
||||
License: LGPL
|
||||
|
|
|
|||
|
|
@ -204,11 +204,5 @@ int buffered_file_writer_append_buff(BufferedFileWriter *writer,
|
|||
|
||||
memcpy(writer->current, buff, len);
|
||||
writer->current += len;
|
||||
if (writer->current > writer->water_mark)
|
||||
{
|
||||
return buffered_file_writer_flush(writer);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue