[GRASS-dev] [GRASS GIS] #1326: DebCheck QA: fflush() called on input stream "stdin" may result in undefined behaviour
GRASS GIS
trac at osgeo.org
Wed Apr 17 00:13:54 PDT 2013
#1326: DebCheck QA: fflush() called on input stream "stdin" may result in
undefined behaviour
--------------------------------+-------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Compiling | Version: 6.4.0
Keywords: lib/edit, lib/vask | Platform: Linux
Cpu: Unspecified |
--------------------------------+-------------------------------------------
Changes (by hamish):
* milestone: 6.4.2 => 6.4.3
Comment:
{{{
fflush(stdin);
}}}
->
{{{
#include <stdio.h>
scanf("%*[^\n]%*c");
}}}
?,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1326#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list