map.c ReadClassificationFile bug?

11 views
Skip to first unread message

hojo

unread,
Sep 17, 2013, 11:48:24 AM9/17/13
to barnyar...@googlegroups.com
I noticed in v 2-1.13, the ReadClassificationFile function looks like this:

int ReadClassificationFile(Barnyard2Config *bc)
{
    FILE        *fd;
    char        buf[BUFFER_SIZE];
    char        *index;
    char        **toks;
    int         num_toks;
    int         count = 0;
   
    if( (bc == NULL) ||
        (bc->class_file == NULL))
    {
        /* XXX */
        return 1;
    }
   
    DEBUG_WRAP(DebugMessage(DEBUG_MAPS, "map: opening file %s\n", file););


I patched it to read bc->class_file rather than file.  I'm not sure if it has already been patched or if it went unnoticed.

beenph

unread,
Sep 17, 2013, 12:22:27 PM9/17/13
to barnyar...@googlegroups.com


--
 
---
You received this message because you are subscribed to the Google Groups "barnyard2-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to barnyard2-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages