Re: HELP!

From: Sammy (samedi@dhc.net)
Date: 02/16/97


On Sun, 16 Feb 1997, The Arrow wrote:

> 	/* write the header information */
> 	fprintf(fl, "#%d\n", area->vnum);  /* <-- it chrashes here! */
> 	printf("aedit_save_file(): first write successfully!\n");

Strange problem.  Is it possible you've opened the same file twice, or
don't have enough disk space to write?

I'd try putting an if statement on the fprintf and catch the problem with
perror.  I'm not sure that would work, but it's supposed to.

Sam

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST