Use of _ in string causes sdssplitlen() to return no tokens
Đang mở
- Ngôn ngữ chính
- C
- Star
- 5.6k
- Fork
- 510
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Thank you for a fantastic library!!
One minor possible issue:
I am using sdssplitlen() to parse out the elements of a path+file string, as in:
/DIR1/DIR2/this_isafile.txt <-- cTempString
tokens = sdssplitlen(cTempString,sdslen(cTempString),"/",1,&count);
With an underscore in the string, sdssplitlen() returns NULL.
Haven't single-step debugged it yet. For now, avoiding using filenames with _
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.