Changeset 345 for trunk/thune/boot.c

Show
Ignore:
Timestamp:
01/08/07 18:06:20 (2 years ago)
Author:
krobillard
Message:

Thune - dirize now handles backslash.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/boot.c

    r341 r345  
    168168  "] proc :split-path    ; (fullpath -- path file)\n" 
    169169  "[\n" 
    170   "  dup last '/' eq? iff (dup '/' append drop)\n" 
     170  "  dup last dup '/' if/eq (drop return)\n" 
     171  "    '\\' if/eq return\n" 
     172  "  '/' append head\n" 
    171173  "] proc :dirize    ; (path -- path)\n" 
    172174  "[0 swap add] proc :to-dec\n"