Skip to content
Snippets Groups Projects
Commit 5bc68ac1 authored by rswindell's avatar rswindell
Browse files

Eliminated gets calls via cmartin macro to fgets.

parent 035f0957
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,9 @@
#include <dos.h>
#endif
/* gets is dangerous */
#define gets(str) fgets((str), sizeof(str) - 1, stdin)
/********************/
/* Global variables */
/********************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment