[Midnightbsd-cvs] src: flopen.c: Introduce crazy hack to work around GCC warning that's

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 22 16:59:45 EDT 2011


Log Message:
-----------
Introduce crazy hack to work around GCC warning that's killing buildworld.

va_start doesn't like it when you modify the value of an argument to a function before calling it. It makes sense, but it's inconvenient.

Modified Files:
--------------
    src/lib/libutil:
        flopen.c (r1.2 -> r1.3)
        (http://cvsweb.midnightbsd.org/src/lib/libutil/flopen.c?r1=1.2&r2=1.3)


More information about the Midnightbsd-cvs mailing list