#2 udpxy doesn't build with optimizations

closed-fixed
nobody
None
5
2010-03-01
2009-12-01
No

When building with -O2/-O3 i'm getting two errors:
- Return value of nice is ignored in util.c/set_nice(), so we just add one line of code to check what it returns
- On line 342 of udpxrec.c the third argument is missing for open(), which specifies the permissions for the file being created. I've just added S_IRUSR, but it can be a ORed mask as i can see.

P.S.
Thanks for the great tool :) I've been unable to route multucast inside NAT until i got udpxy

Discussion

  • Pavel Cherenkov

    Pavel Cherenkov - 2010-03-01
    • status: open --> closed-fixed
     
  • Pavel Cherenkov

    Pavel Cherenkov - 2010-03-01

    Build 15: added the fix; please specify gcc options thru USER_OPT as in USER_OPT="-O3" make lean

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks