Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
cpcdos(R)

Homepage E-mail

FRANCE [Jura],
25.03.2015, 10:35
 

fopen() network strange bug! (Developers)

Hi everybody!

I have a strange problem with fopen() function with gcc
apparently, most people has the same problem (fopen() php function -> same problem):
https://www.google.fr/#safe=off&q=fopen+network
https://www.google.fr/#safe=off&q=fopen+network+share+bug
and other....

I have tested :
my drive mapped in x:
fopen("x:\myfile.abc, "r");
fopen("x:\\myfile.abc, "r");
fopen("x:/myfile.abc, "r");
fopen("x://myfile.abc, "r");
Or directly with server name :
fopen("\\MyServer\myfile.abc, "r");
fopen("\\\\MyServer\\myfile.abc, "r");
fopen("//MyServer/myfile.abc, "r");
fopen("////MyServer//myfile.abc, "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 ?

Thank

---
FAVIER Sébastien
http://cpcdos.fr.nf/

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

cpcdos(R)

Homepage E-mail

FRANCE [Jura],
07.04.2015, 10:03

@ georgpotthast

fopen() network strange bug!

> I suggest that you ask your questions in the djgpp group:
> https://groups.google.com/forum/#!forum/comp.os.msdos.djgpp

Thank you for your link!

I have found where is the fopen() bug! :-| :
comp.os.msdos.djgpp\I have found fopen() + network bug

---
FAVIER Sébastien
http://cpcdos.fr.nf/

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

georgpotthast(R)

Homepage

Germany,
27.03.2015, 21:25

@ cpcdos

fopen() network strange bug!

I suggest that you ask your questions in the djgpp group:
https://groups.google.com/forum/#!forum/comp.os.msdos.djgpp

Back to the board
Thread view  Mix view  Order
15108 Postings in 1358 Threads, 246 registered users, 15 users online (0 registered, 15 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum