Ognyan Kulev wrote:

I send a simple patch for the first bug mentioned.

I forgot to change the copyright years. Sorry.


Regards
--
Ognyan Kulev <[EMAIL PROTECTED]>, "\"Programmer\""
7D9F 66E6 68B7 A62B 0FCF  EB04 80BF 3A8C A252 9782
--- typed.c.~1.6.~      2002-03-14 23:10:01.000000000 +0200
+++ typed.c     2003-06-04 22:54:48.000000000 +0300
@@ -1,6 +1,6 @@
 /* Support for opening `typed' stores
 
-   Copyright (C) 1997,98,2001,02 Free Software Foundation, Inc.
+   Copyright (C) 1997,98,2001,02,03 Free Software Foundation, Inc.
    Written by Miles Bader <[EMAIL PROTECTED]>
 
    This file is part of the GNU Hurd.
@@ -111,11 +111,11 @@ store_typed_open (const char *name, int 
                  struct store **store)
 {
   const struct store_class *cl;
-  const char *clname_end = strchrnul (name, ':');
+  const char *clname_end = strchr (name, ':');
 
-  if (clname_end == name)
+  if (clname_end == 0)
     /* Open NAME with store_open.  */
-    return store_open (name + 1, flags, classes, store);
+    return store_open (name, flags, classes, store);
 
   /* Try to find an existing class by the given name.  */
   cl = store_find_class (name, clname_end, classes);
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to