#169 the use of `mktemp' is dangerous; use `mkstemp' instead

closed-fixed
5
2012-03-16
2012-03-15
Anonymous
No

Warning message during compile:

In function 'add_unique_output_file',
inlined from 'arma_x12_model' at arma_x12.c:904:25:
arma_x12.c:124:15: warning: call to 'mktemp' declared with attribute warning: the use of `mktemp' is dangerous; use `mkstemp' instead

Also here too

../lib/src/graphing.c: In function 'make_temp_plot_name':
../lib/src/graphing.c:1254:19: warning: call to 'mktemp' declared with attribute warning: the use of `mktemp' is dangerous; use `mkstemp' instead

Discussion

  • Allin Cottrell

    Allin Cottrell - 2012-03-16
    • assigned_to: nobody --> allin
    • status: open --> closed-fixed
     
  • Allin Cottrell

    Allin Cottrell - 2012-03-16

    It's not really an issue for gretl, but I've now modifed the code to
    use mkstemp.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks