Bug in Tablix 0.0.6

From: Tomaz Solc <tomaz.solcREMOVE@THISsiol.net>
Date: Fri Mar 26 2004 - 16:13:22 CET

Hi

I'm afraid there is a bug in "student_freemorning.c" and "teacher_freemorning.c" modules in Tablix versions 0.0.6, 0.0.5 and probably 0.0.4 These two modules return incorrect number of errors.

It was confirmed that the following patch solves this problem. It will be included in the next version of Tablix.

Thanks to Hafiz Malik for reporting this bug.

Tomaz Solc

Index: student_freemorning.c
===================================================================
RCS file: /home/avian/repository/tablix/modules/student_freemorning.c,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -3 -r1.4 -r1.4.2.1
--- student_freemorning.c 28 Oct 2003 20:41:26 -0000 1.4
+++ student_freemorning.c 24 Mar 2004 17:24:47 -0000 1.4.2.1
@@ -15,7 +15,7 @@
 /* along with this program; if not, write to the Free Software */
 /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
 
-/* $Id: student_freemorning.c,v 1.4 2003/10/28 20:41:26 avian Exp $ */
+/* $Id: student_freemorning.c,v 1.4.2.1 2004/03/24 17:24:47 avian Exp $ */
 
 /*
  * AUTHOR:
@@ -58,8 +58,8 @@
                                 /* Proste ure zjutraj */
                                 sum+=b;
                        }
+ cpnt+=PERIODS;
                }
- cpnt+=TIMES;
- };
+ }
        return(sum);
-};
+}
Index: teacher_freemorning.c
===================================================================
RCS file: /home/avian/repository/tablix/modules/teacher_freemorning.c,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -3 -r1.4 -r1.4.2.1
--- teacher_freemorning.c 28 Oct 2003 20:41:26 -0000 1.4
+++ teacher_freemorning.c 24 Mar 2004 17:24:47 -0000 1.4.2.1
@@ -15,7 +15,7 @@
 /* along with this program; if not, write to the Free Software */
 /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
 
-/* $Id: teacher_freemorning.c,v 1.4 2003/10/28 20:41:26 avian Exp $ */
+/* $Id: teacher_freemorning.c,v 1.4.2.1 2004/03/24 17:24:47 avian Exp $ */
 
 /*
  * AUTHOR:
@@ -58,8 +58,8 @@
                                 /* Proste ure zjutraj */
                                 sum+=b;
                        }
+ tpnt+=PERIODS;
                }
- tpnt+=TIMES;
- };
+ }
        return(sum);
-};
+}

Received on Fri Mar 26 16:12:26 2004

This archive was generated by hypermail 2.1.8 : Tue Aug 16 2005 - 20:42:10 CEST