[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/BOOST PATCH 3/6] Add gluecode



Hi Vlad,

If we return 0 (success), won't this potentially cause crashes, since the 
caller will expect flagp to be set?

-- Felipe

On 11.12.19, 01:32, "Vlad-Andrei BĂDOIU (78692)" 
<vlad_andrei.badoiu@xxxxxxxxxxxxxxx> wrote:

    Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
    ---
     glue.cpp | 6 ++++++
     1 file changed, 6 insertions(+)
     create mode 100644 glue.cpp
    
    diff --git a/glue.cpp b/glue.cpp
    new file mode 100644
    index 0000000..d01860c
    --- /dev/null
    +++ b/glue.cpp
    @@ -0,0 +1,6 @@
    +#include <fenv.h>
    +
    +int fegetexceptflag(fexcept_t *flagp, int excepts)
    +{
    +   return 0;
    +}
    -- 
    2.20.1
    
    

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.