[Github-comments] [geany/geany] Avoid re-scanning the string (PR #2962)

xiota notifications at xxxxx
Thu Nov 25 05:59:15 UTC 2021


Upon further reflection... the change I suggested rescans the "Entering directory" portion of the string...  Should probably be (but haven't tested):
```C
pos = strchr(pos + 18, '/');
```
>From search, the string looks like:
```
make[1]: Entering directory `/mnt/lfs/sources/gcc-build'
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2962#issuecomment-978863995
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211124/f49c57c2/attachment.htm>


More information about the Github-comments mailing list