mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2003
Posts: 10
S
Pikka bird
OP Offline
Pikka bird
S
Joined: Apr 2003
Posts: 10
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,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
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.


New username: hixxy
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
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


New username: hixxy
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
Seems a security measure.


Link Copied to Clipboard