mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
replaced gets() with fgets()
This commit is contained in:
parent
94666c4b55
commit
675343c517
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue