Revision: 69128
          http://sourceforge.net/p/brlcad/code/69128
Author:   starseeker
Date:     2016-10-19 01:07:12 +0000 (Wed, 19 Oct 2016)
Log Message:
-----------
Set errno

Modified Paths:
--------------
    brlcad/trunk/src/libbn/tests/bn_list.c

Modified: brlcad/trunk/src/libbn/tests/bn_list.c
===================================================================
--- brlcad/trunk/src/libbn/tests/bn_list.c      2016-10-19 01:06:13 UTC (rev 
69127)
+++ brlcad/trunk/src/libbn/tests/bn_list.c      2016-10-19 01:07:12 UTC (rev 
69128)
@@ -63,6 +63,7 @@
     memset(result_buf, 0, BUFFER_SIZE);
 
     rewind(result_fd);
+       errno = 0;
     ret = fread(result_buf, sizeof(char), BUFFER_SIZE, result_fd);
     if (ret < BUFFER_SIZE)
        perror("fread");

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to