[MINC-development] bug in upet2mnc

Andrew Janke a.janke at gmail.com
Tue Jul 27 02:40:35 EDT 2010


Hi John,


On Fri, Jul 23, 2010 at 21:25,  <jcupitt at gmail.com> wrote:
> Hi, I think I've found a bug in upet2mnc.

I think you are right... :)

>    if (_verbose_flag || level != MSG_INFO) {
>        if (level != MSG_INFO) {
>            if (prefix_str != NULL) {
>                fprintf(stderr, "%s", prefix_str);
>            }
>            va_start(ap, fmt);
>            vfprintf(stderr, fmt, ap);
>            va_end(ap);
>        }
>        if (prefix_str != NULL) {
>            fprintf(stdout, "%s", prefix_str);
>        }
>        va_start(ap, fmt);
>        vfprintf(stdout, fmt, ap);
>        va_end(ap);
>    }

Seems the most sensible thing to me, I have included this in CVS for
the next MINC release (2.1 due soon).

Thanks again,


--
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia    +61 (402) 700 883


More information about the MINC-development mailing list