1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-04-10 23:41:35 +00:00

Fix matchfiles for NULL path

This commit is contained in:
David Schmenk 2024-11-25 13:34:38 -08:00
parent 8ddc1ef8aa
commit 1211991144
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -48,7 +48,7 @@ export def matchList(pathstr, exp)#2
if not dirbuf
dirbuf = heapallocalign(512, 8, 0)
fin
if not ^pathstr
if not (pathstr and ^pathstr)
fileio:getpfx(@curpath)
pathstr = @curpath
fin

View File

@ -139,7 +139,7 @@ while ^arg
struprcpy(@wildfile, arg)
entrylist, entrycnt = matchList(NULL, @wildfile)
if not entrylist
puts(arg); puts(" ???\n")
puts(@wildfile); puts(" ???\n")
else
if not srcfilelist
srcfilelist = entrylist