Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > ioFTPD beta > Bug Reports

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread
Old 11-10-2003, 10:10 PM   #1
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default iTCL

disappearing/swapping vars between scripts ?
open/file commands losing handles?

just curious cos i get some odd errors on very plain code

or not being able to open 0 byte files.

Code:
--------------------------- ErrorInfo ----------------------------
couldn't open "C:/0Day/1109/ACTUALTES....GT/.ioFTPD.badaazz.lock": no such file or directory
    while executing
"open $ppath2/.ioFTPD.badaazz.lock w"
    ("while" body line 3)
    invoked from within
"while {1} {
		if {![file exists $ppath2/.ioFTPD.badaazz
b>d>>s is offline   Reply With Quote
Old 11-10-2003, 11:03 PM   #2
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,234
Default

CreateFile() api that those commands are using, may give odd results under race conditions..
darkone is offline   Reply With Quote
Old 11-10-2003, 11:17 PM   #3
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

tits.

any suggestions ? :'(

catch {} error, check :? etc.
b>d>>s is offline   Reply With Quote
Old 11-10-2003, 11:29 PM   #4
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,234
Default

Wait until next version.. it'll provide you a fancy locking api (if I remember to implement it )

You can expect it to work as following:

lock -wait "lockname" <timeout/milliseconds>
lock -release "lockname"

lock will return 0 on success, 1 on timeout & tcl error on system error.
darkone is offline   Reply With Quote
Old 11-10-2003, 11:33 PM   #5
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

oook, sweet.

many thanks.
b>d>>s is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 01:45 PM.