projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94666c4
)
replaced gets() with fgets()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 14 Sep 2001 02:59:08 +0000
(
02:59
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 14 Sep 2001 02:59:08 +0000
(
02:59
+0000)
src/glut/glx/glut_dstr.c
patch
|
blob
|
history
diff --git
a/src/glut/glx/glut_dstr.c
b/src/glut/glx/glut_dstr.c
index 46884444986326b59e5d344cac6ef8d5af1c7056..29a699fa5713b4dbbea669168343827780ca32e3 100644
(file)
--- a/
src/glut/glx/glut_dstr.c
+++ b/
src/glut/glx/glut_dstr.c
@@
-1548,7
+1548,7
@@
main(int argc, char **argv)
while (!feof(stdin)) {
if (tty)
printf("dstr> ");
- str =
gets(buffer
);
+ str =
fgets(buffer, 1023, stdin
);
if (str) {
printf("\n");
if (!strcmp("v", str)) {