Fix bug in ls for esp32.

This commit is contained in:
Brad Nelson
2022-09-05 21:45:21 -07:00
parent 234d85bf71
commit bc12a4bf72
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@
( Migrate various words to separate vocabularies, and constants )
forth definitions internals
: read-dir ( dh -- a n ) dup if errno else 0 then ;
: read-dir ( dh -- a n ) readdir dup if z>s else 0 then ;
forth definitions
vocabulary ESP ESP definitions