mIRC Home    About    Download    Register    News    Help

Print Thread
S
SeaEndSkyWay
SeaEndSkyWay
S
bugs in mIRC 6.16:

1. $isfile()

A file with name "ip" is ignored by $isfile().
Example:
Create a file named "ip.txt" in mirc directory,
then //echo -a $isfile(ip.txt)
returns $false .

2. chatlink port

First, in mirc Options dialog, IRC -> Catcher -> chat links,
uncheck "Confirm requests". Then, click on a chatlink, mirc
will connect to a wrong port number.

Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
Quote:
1. $isfile()

A file with name "ip" is ignored by $isfile().
Example:
Create a file named "ip.txt" in mirc directory,
then //echo -a $isfile(ip.txt)
returns $false .


That's also the case for prn, con, shadow, nul and various others.
Anyway, it's not a bug.

Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
Yes but that's not strictly true. The name "ip" may be restricted as a device name but a file called "ip.txt" (or even just "ip" for that matter) in any given directory is perfectly acceptable in Windows.

Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
I'm aware of that. However, if mIRC is intentionally programmed not to write to those filenames (which it is, as Khaled said) then it's not a bug smile

M
mIRCManiac
mIRCManiac
M
Seems a security measure.


Link Copied to Clipboard