Fix issues with patterns of form /*/
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 22 Aug 2024 15:05:41 +0000 (17:05 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Thu, 22 Aug 2024 15:05:41 +0000 (17:05 +0200)
commit347f965b635a992b35991f6e9d2a58523e8b709a
treeb0fd33b86ebd3a907f5a1a2c1aa9e8e552fc0554
parent56846479ba4f31baf1802207436a45838ce388c3
Fix issues with patterns of form /*/

When introducing the handling of multiple slashed one after another
(eg. "///*") the handling of "/*/" patterns stopped working because the
asterisk could be assumed to be 0 symbols resulting in // which was
simplified to / effectively skipping a layer of dirs.
src/wildcards.c