Update of /cvsroot/firebird/TCS/tcs/tcs
In directory slayer.i.sourceforge.net:/tmp/cvs-serv11971/TCS/tcs/tcs
Modified Files:
exec.e
Log Message:
added some comments and removed unneeded code
Index: exec.e
===================================================================
RCS file: /cvsroot/firebird/TCS/tcs/tcs/exec.e,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** exec.e 2000/11/12 09:35:25 1.2
--- exec.e 2000/11/12 11:46:01 1.3
***************
*** 20,23 ****
--- 20,24 ----
*
* Contributor(s): ______________________________________.
+ * $Id$
*/
***************
*** 1081,1085 ****
* Return identical (TRUE) or difference
* (FALSE).
! *
**************************************/
FILE *file,*blob_file;
--- 1082,1090 ----
* Return identical (TRUE) or difference
* (FALSE).
! * I have changed this to compare
! * two files instead of a blob
! * and a file to be able to use
! * blobs with any segment length
! * FSG 12.Nov.2000
**************************************/
FILE *file,*blob_file;
***************
*** 1251,1254 ****
--- 1256,1260 ----
+ /* Dump the initialization to file */
if (!global)
BLOB_TEXT_DUMP (blob_id, TCS, gds__trans, compare_file);
***************
*** 1256,1261 ****
BLOB_TEXT_DUMP (blob_id, TCS_GLOBAL, gds__trans, compare_file);
-
if (!compare (compare_file, output_file, global))
--- 1262,1267 ----
BLOB_TEXT_DUMP (blob_id, TCS_GLOBAL, gds__trans, compare_file);
+ /* and compare it with the test output */
if (!compare (compare_file, output_file, global))
***************
*** 1267,1274 ****
/* If not global then dump the initialization to the compare_file */
! if (!global)
! BLOB_TEXT_DUMP (blob_id, TCS, gds__trans, compare_file);
! else
! BLOB_TEXT_DUMP (blob_id, TCS_GLOBAL, gds__trans, compare_file);
/* Call do_diffs which is linked in at compile time, in order to *
--- 1273,1283 ----
/* If not global then dump the initialization to the compare_file */
! /* As we have done this previously, this isn't necessary anymore */
!
! /* if (!global)
! * BLOB_TEXT_DUMP (blob_id, TCS, gds__trans, compare_file);
! * else
! * BLOB_TEXT_DUMP (blob_id, TCS_GLOBAL, gds__trans, compare_file);
! */
/* Call do_diffs which is linked in at compile time, in order to *
|