Segmentation Fault +REP
#8

Quote:
Originally Posted by Misiur
Посмотреть сообщение
I'm 99% sure that you use fclose on an invalid file handle, like:
pawn Код:
//Wrong
new File:foo = fopen("something.txt"); //Didn't open right, wrong handle
fclose(foo);
//Right
new File:foo = fopen("something.txt");
if(foo) {
    fclose(foo);
}
I already showed you how.
Reply


Messages In This Thread
Segmentation Fault +REP - by ShinichiKudou - 22.02.2014, 14:54
Re: Segmentation Fault +REP - by ShinichiKudou - 22.02.2014, 14:57
Re: Segmentation Fault +REP - by Abagail - 22.02.2014, 15:04
Re: Segmentation Fault +REP - by daniscape - 22.02.2014, 15:04
Re: Segmentation Fault +REP - by ShinichiKudou - 22.02.2014, 15:06
Re: Segmentation Fault +REP - by Misiur - 22.02.2014, 15:10
Re: Segmentation Fault +REP - by ShinichiKudou - 22.02.2014, 15:11
Re: Segmentation Fault +REP - by Misiur - 22.02.2014, 15:56
Re: Segmentation Fault +REP - by ShinichiKudou - 22.02.2014, 16:08
Re: Segmentation Fault +REP - by daniscape - 22.02.2014, 17:28

Forum Jump:


Users browsing this thread: 2 Guest(s)