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
What is this bug ? There are a final solution for this problem ?
Thank
---
Sébastien FAVIER
ps: Excuse me for my English level, I'm a French student
Complete thread:
- fopen() network strange bug! - cpcdos, 25.03.2015, 10:35
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- fopen() network strange bug! - georgpotthast, 27.03.2015, 21:25
- fopen() network strange bug! - cpcdos, 07.04.2015, 10:03
- fopen() network strange bug! - georgpotthast, 27.03.2015, 21:25
Mix view