Compare commits
3 Commits
d6dca2cad1
...
932b16ecb3
| Author | SHA1 | Date |
|---|---|---|
|
|
932b16ecb3 | |
|
|
564facf33e | |
|
|
a16fde8070 |
2
INSTALL
2
INSTALL
|
|
@ -21,5 +21,5 @@ Debian, Ubuntu etc.:
|
||||||
# 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.86
|
cd libfastcommon; git checkout V1.0.87
|
||||||
./make.sh clean && ./make.sh && sudo ./make.sh install
|
./make.sh clean && ./make.sh && sudo ./make.sh install
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ libfastcommon.a: $(FAST_STATIC_OBJS)
|
||||||
.c:
|
.c:
|
||||||
$(COMPILE) -o $@ $< $(FAST_STATIC_OBJS) $(LIB_PATH) $(INC_PATH)
|
$(COMPILE) -o $@ $< $(FAST_STATIC_OBJS) $(LIB_PATH) $(INC_PATH)
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c -o $@ $< $(INC_PATH)
|
$(COMPILE) -c -fPIC -o $@ $< $(INC_PATH)
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(COMPILE) -c -fPIC -o $@ $< $(INC_PATH)
|
$(COMPILE) -c -fPIC -o $@ $< $(INC_PATH)
|
||||||
install:
|
install:
|
||||||
|
|
|
||||||
|
|
@ -3283,6 +3283,7 @@ static int format_bytes_string(const int64_t input_bytes,
|
||||||
}
|
}
|
||||||
p = buff + fc_itoa(n, buff);
|
p = buff + fc_itoa(n, buff);
|
||||||
}
|
}
|
||||||
|
|
||||||
return p - buff;
|
return p - buff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue