Changeset 65474


Ignore:
Timestamp:
Mar 26, 2010, 3:54:05 PM (7 years ago)
Author:
raimue@…
Message:

cregistry: Remove obsolete TODO, put TODO in right place

Location:
trunk/base/src/cregistry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/cregistry/sql.c

    r65418 r65474  
    3838#include <sqlite3.h>
    3939#include <time.h>
    40 
    41 /*
    42  * TODO: maybe this could be made into something that could be separately loaded
    43  *       by sqlite3? It's a bit hard to query the registry with the command-line
    44  *       sqlite3 tool because of the missing VERSION collation. My understanding
    45  *       is that you can make a dylib that can be loaded using an sql statement,
    46  *       which is less than transparent, but certainly reasonable.
    47  *
    48  * TODO: break out rpm_vercomp into a separate file which can be shared by
    49  *       pextlib and cregistry. The version here is slightly modified so as to
    50  *       take explicit string lengths. Since these are available in Tcl it's an
    51  *       easy change and might be a tiny bit faster; it's necessary for the
    52  *       application here.
    53  */
    5440
    5541/**
  • trunk/base/src/cregistry/vercomp.c

    r65384 r65474  
    3939#include <string.h>
    4040#include <ctype.h>
     41
     42/*
     43 * TODO: share this function between pextlib and cregistry. The version here is
     44 *       slightly modified so as to take explicit string lengths. Since these
     45 *       are available in Tcl it's an easy change and might be a tiny bit
     46 *       faster; it's necessary for the application here.
     47 */
    4148
    4249/**
Note: See TracChangeset for help on using the changeset viewer.