system.attributes()

2 views
Skip to first unread message

Tor

unread,
Oct 7, 2009, 4:11:32 PM10/7/09
to JSDB
Can't make system.attributes() work on MS Windows. Does not matter if
I provide a absolute or relative path as argument, always returns
null.

On Linux it works, but the directory property is missing for
directories so I can't tell if the file is a directory or a real file.

Is there another way to check if a file is a directory or not? (and
not use system.folders() method.)

Btw, thanks for a great software.

Sincerely, Tor

Shanti Rao

unread,
Oct 7, 2009, 5:25:02 PM10/7/09
to JSDB
Yup, there's a bug. The ANSI->UTF-16 conversion inadvertently drops
the last letter in its enthusiasm to null-terminate. A fix is coming
out shortly, possibly this week. Also in the queue are SQLite3 record
locking and better detection of terminated network streams (always
troublesome). Tracemonkey is right after that.

Shanti

PS. The first message anyone sends to this group is sent to me for
approval to cut down on the spam. After that first message, there
won't be any delays in posting.
Reply all
Reply to author
Forward
0 new messages