about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-10 21:11:01 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-10 21:11:01 +0000
commit59c3f2949c52a7fa7b3520f0453a9e23f3881c8e (patch)
treee476e5683204ffdb6088c6b4dc43e36cc71a62f8
parentbb967344eecf33050557d1321d37d4135d1a66bb (diff)
downloadglibc-59c3f2949c52a7fa7b3520f0453a9e23f3881c8e.tar.gz
glibc-59c3f2949c52a7fa7b3520f0453a9e23f3881c8e.tar.xz
glibc-59c3f2949c52a7fa7b3520f0453a9e23f3881c8e.zip
Add point for gconv-modules db.
-rw-r--r--PROJECTS25
1 files changed, 20 insertions, 5 deletions
diff --git a/PROJECTS b/PROJECTS
index 06242c70e0..3537b44227 100644
--- a/PROJECTS
+++ b/PROJECTS
@@ -1,6 +1,6 @@
 Open jobs for finishing GNU libc:
 ---------------------------------
-Status: May 1998
+Status: July 1998
 
 If you have time and talent to take over any of the jobs below please
 contact <bug-glibc@gnu.org>.
@@ -113,10 +113,6 @@ contact <bug-glibc@gnu.org>.
      to the page size and install the correct length only for fclose() and
      fflush() calls.
 
-[17] The sprof program to analyze the profiling data generated by ld.so
-     must be finished.  It should have the same functionality as gprof
-     (as far as this is possible).
-
 [18] Based on the sprof program we need tools to analyze the output.  The
      result should be a link map which specifies in which order the .o
      files are placed in the shared object.  This should help to improve
@@ -134,3 +130,22 @@ contact <bug-glibc@gnu.org>.
 [21] The nscd program and the stubs in the libc should be changed so
      that each program uses only one socket connect.  Take a look at
 	http://www.cygnus.com/~drepper/nscd.html
+
+[22] It should be possible to have the information gconv-modules in
+     a simple database which is faster to access.  Using libdb is probably
+     overkill and loading it would probably be slower than reading the
+     plain text file.  But a file format with a simple hash table and
+     some data it points to should be fine.  Probably it should be
+     two tables, one for the aliases, one for the mappings.  The code
+     should start similar to this:
+
+	if (stat ("gconv-modules", &stp) == 0
+	    && stat ("gconv-modules.db", %std) == 0
+	    && stp.st_mtime < std.st_mtime)
+	  {
+	    ... use the database ...
+	  {
+	else
+	  {
+	    ... use the plain file if it exists, otherwise the db ...
+	  }