home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / database / cbase103 / btree / rlsnotes.txt < prev   
Encoding:
Text File  |  1991-09-23  |  3.0 KB  |  105 lines

  1. ----------------------------------------------------------------------
  2. | Citadel                                                            |
  3. | 241 East Eleventh Street * Brookville, IN 47012 * 317-647-4720     |
  4. |                                               BBS 317-647-2403     |
  5. ----------------------------------------------------------------------
  6.  
  7. In this file are summarized the additions and modifications made to
  8. btree this release.  Users upgrading from a previous release should
  9. read it completely.
  10.  
  11.  
  12.                       btree 1.0.2 Release Notes
  13.                       -------------------------
  14. o <ansi.h> used for ANSI compatibility.
  15.  
  16. o Function prototype form used for function definitions if AC_PROTO
  17.   defined.
  18.  
  19. o Fields can now be in any order and can overlap.
  20.  
  21. o Undefined bt_fltocr macro in btfix replaced with code.
  22.  
  23. o Modified flag check removed from btopen.
  24.  
  25. o btlock and btopen fixed to work on systems with mandatory file
  26.   locking.
  27.  
  28. o DOS library names changed to more customary form where memory model
  29.   is first character rather than last.
  30.  
  31.  
  32.                       btree 1.0.1 Release Notes
  33.                       -------------------------
  34. o AC_* macros (see blkio release notes) used in place of __STDC__ to
  35.   detect ANSI compatibility.
  36.  
  37. o ~NULL replaced with (char *)NULL + 1 in btcursor macro because some
  38.   compilers would not accept the ~ operator on NULL.
  39.  
  40. o btlock bug fixed.
  41.  
  42.  
  43.                        btree 1.0 Release Notes
  44.                        -----------------------
  45. o The btree library has been enhanced to recognize fields. This has
  46.   required changes in the btcreate and btopen parameter lists.  The
  47.   original functions were
  48.  
  49.  
  50.  
  51.  
  52.                                                      Citadel  91/09/23
  53.      int btcreate(char *filename, size_t m, size_t keysize);
  54.      int btopen(char *filename, char *type,
  55.                 int (*cmp)(const void *p1, const void *p2, size_t n));
  56.   The new functions are
  57.  
  58.      int btcreate(char *filename, size_t m, size_t keysize,
  59.                                 int fldc, btfield_t btfldv[]);
  60.      int btopen(char *filename, char *type,
  61.                                 int fldc, btfield_t btfldv[]);
  62.  
  63. o btdelete and btdelcur set the cursor to null.
  64.  
  65. o btlock sets the cursor to null when unlocking.
  66.  
  67. o errno macro BTEDUPKEY shortened to BTEDUP
  68.  
  69. o The btree node links are of type bpos_t, and so changing bpos_t also
  70.   changed these links.  See the blkio release notes for explanation of
  71.   the effects of this change.
  72.  
  73. o btkeycmp added to compare btree keys.
  74.  
  75. o The btfix function has been added to fix corrupt btree files.  This has
  76.   required a slight change in the btree file format.
  77.  
  78. o function prototypes used if __STDC__ == 1
  79.  
  80. o const used if __STDC__ == 1
  81.  
  82. o -A compiler option used in Turbo C installation batch file to set
  83.   __STDC__ to 1.
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.                                                      Citadel  91/09/23
  105.