feeding the function a pointer to sb.buf results in path also being cleared by the call to strbuf_reduce and the information is lost. |
||
|---|---|---|
| .. | ||
| compat | ||
| database | ||
| archived.c | ||
| database.h | ||
| die.c | ||
| event.c | ||
| event.h | ||
| fscrawl.c | ||
| fscrawl.h | ||
| inotify-map.c | ||
| inotify-map.h | ||
| inotify-watch.c | ||
| inotify-watch.h | ||
| inotify.c | ||
| list.c | ||
| list.h | ||
| log.c | ||
| log.h | ||
| notify.h | ||
| path.c | ||
| path.h | ||
| queue.c | ||
| queue.h | ||
| rbtree.c | ||
| rbtree.h | ||
| str-list.c | ||
| str-list.h | ||
| strbuf.c | ||
| strbuf.h | ||
| tree.c | ||
| tree.h | ||
| util.h | ||
| xalloc.c | ||
| xalloc.h | ||