Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

fopen() network strange bug! (Developers)

posted by cpcdos(R) Homepage E-mail, FRANCE [Jura], 25.03.2015, 10:35

Hi everybody!

I have a strange problem with fopen() function with gcc
apparently, most people has the same problem (fopen() php function -> same problem):
and other....

I have tested :
my drive mapped in x:
fopen("x:\, "r");
fopen("x:\\, "r");
fopen("x:/, "r");
fopen("x://, "r");
Or directly with server name :
fopen("\\MyServer\, "r");
fopen("\\\\MyServer\\, "r");
fopen("//MyServer/, "r");
fopen("////MyServer//, "r");

This not work.. (File not exist) fopen = NULL
But if I open another not existing file, he create this file, but empty and fopen not NULL :confused:

What is this bug ? There are a final solution for this problem ?


FAVIER Sébastien

ps: Excuse my for my English level, I'm a French student


Complete thread:

Back to the forum
Board view  Mix view
15277 Postings in 1373 Threads, 253 registered users, 10 users online (0 registered, 10 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum