Hi Jes, A new version per your comment, let me know if I still missed something. V3 Change: 1. check the return value of lseek V2 Changes: 1. copy the whole license from util.c to uuid.c 2. check the return value of read correctly Thanks, Guoqing Guoqing Jiang (2): uuid.c: split uuid stuffs from util.c restripe: fix ignoring return value of ‘read’ and lseek Makefile | 6 +-- restripe.c | 12 +++++- util.c | 87 ----------------------------------------- uuid.c | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 125 insertions(+), 92 deletions(-) create mode 100644 uuid.c -- 2.17.1