Closed Misiur closed 6 years ago
Nice culture reference!
Are you using compatibility mode, and on which OS are you compiling? See this discussion: https://github.com/Zeex/pawn/commit/d0f3a9a8df277265291a7ce2b0c9623b3c4a47b1#commitcomment-10583578
Win 7 x64, no #pragma compat 1
and/or -Z+
flag in sight.
I'll try this commit If my msvc can do it.
I guess the issue is where it searches backwards for the dirsep. It should search for both, but either /
or \
appears to be hardcoded in some places.
What exactly doesn't work here?
When file is included with /
as path separator, the files included from it aren't aware that they are in a folder.
Hey, any news? Need some packaged example to investigate? I got somewhere near plungequalifiedfile
, but no dice.
Just to point out, most of YSI exploits this. So if you fix it you will need to modify the affected includes.
Assume a matryoshka of kinds:
When using backslash to specify path to included file, everything is nice. However, only that setup will work:
test.pwn
_level1/test.inc
_level2/test.inc
Is this intended behaviour?