Go Back   FlashFXP Forums > > > >

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 Display Modes
Old 11-10-2003, 11:10 PM   #1
b>d>>s
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-11-2003, 12:03 AM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

CreateFile() api that those commands are using, may give odd results under race conditions..
darkone is offline   Reply With Quote
Old 11-11-2003, 12:17 AM   #3
b>d>>s
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-11-2003, 12:29 AM   #4
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
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-11-2003, 12:33 AM   #5
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

oook, sweet.

many thanks.
b>d>>s is offline   Reply With Quote
Reply

Tags
$ppath2, c/0day/1109/actualtes, ioftpd.badaazz.lock, open, [file

Thread Tools
Display Modes 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

Forum Jump


All times are GMT -5. The time now is 05:46 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)