home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / news / 683 / recio120 / whatsnew. < prev   
Text File  |  1994-04-08  |  2KB  |  29 lines

  1. recio, Version 1.20, Release April 8, 1994.
  2. Copyright (C) 1994, William Pierpoint.
  3.  
  4. WHAT'S NEW in RECIO version 1.20?
  5.  
  6.   Created new rerrstr and rstrerror functions.  Simplified TESTCH.C and 
  7.   TESTCO.C code by using rerrstr.
  8.  
  9.   Changed the specification and code for the rgets and rcgets functions to 
  10.   return a pointer to an empty string (rather than a null pointer) on error.  
  11.   This will help reduce null pointer errors in application programs. 
  12.  
  13.   Changed the specification and code for the rgetrec function.  The rgetrec 
  14.   function now clears the record buffer before the next record is read.  
  15.   This will cause the error number to be set to R_EMISDAT if the application 
  16.   ignores the eof indicator and attempts to read fields in records beyond 
  17.   end-of-file.  There is one exception: if the field just prior to the record 
  18.   buffer string terminator is a string field (which for an empty record buffer 
  19.   is the first field), it won't be trapped as missing data.  This is an 
  20.   unavoidable consequence of allowing empty string fields.  But you shouldn't 
  21.   be ignoring end-of-file anyway!  Also rgetrec continues to increment the 
  22.   record number if the program reads beyond end of file.  This solves an 
  23.   "off by one" bug when the file ends prematurely.
  24.  
  25.   Developed the dif program to locate line where two text files first 
  26.   differ.  Inserted dif source into TUTOR.TXT to illustrate a very simple
  27.   callback error function.  Substituted the dif program for the cmp program 
  28.   in regression test TEST.BAT.
  29.