[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/libstore ChangeLog module.c typed.c
From: |
Marcus Brinkmann |
Subject: |
hurd/libstore ChangeLog module.c typed.c |
Date: |
Sat, 02 Aug 2003 18:02:03 -0400 |
CVSROOT: /cvsroot/hurd
Module name: hurd
Branch:
Changes by: Marcus Brinkmann <address@hidden> 03/08/02 18:02:03
Modified files:
libstore : ChangeLog module.c typed.c
Log message:
2003-08-02 Ognyan Kulev <address@hidden>
* module.c (store_module_open): NAME that doesn't contain ':' is
not considered invalid argument, but a class name without
class-specific portion.
* typed.c (store_typed_open): When NAME is empty string, don't
invoke store_open (name + 1, ...).
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libstore/ChangeLog.diff?tr1=1.94&tr2=1.95&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libstore/module.c.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libstore/typed.c.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: hurd/libstore/ChangeLog
diff -u hurd/libstore/ChangeLog:1.94 hurd/libstore/ChangeLog:1.95
--- hurd/libstore/ChangeLog:1.94 Tue Dec 3 12:47:06 2002
+++ hurd/libstore/ChangeLog Sat Aug 2 18:02:03 2003
@@ -1,3 +1,11 @@
+2003-08-02 Ognyan Kulev <address@hidden>
+
+ * module.c (store_module_open): NAME that doesn't contain ':' is
+ not considered invalid argument, but a class name without
+ class-specific portion.
+ * typed.c (store_typed_open): When NAME is empty string, don't
+ invoke store_open (name + 1, ...).
+
2002-10-01 Ludovic Courtès <address@hidden>
* store.h: New type store_set_size_meth_t: New type. New
Index: hurd/libstore/module.c
diff -u hurd/libstore/module.c:1.3 hurd/libstore/module.c:1.4
--- hurd/libstore/module.c:1.3 Wed May 8 05:24:31 2002
+++ hurd/libstore/module.c Sat Aug 2 18:02:03 2003
@@ -1,5 +1,5 @@
/* Dynamic loading of store class modules
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -97,11 +97,8 @@
struct store **store)
{
const struct store_class *cl;
- const char *clname_end = strchr (name, ':');
+ const char *clname_end = strchrnul (name, ':');
error_t err;
-
- if (! clname_end)
- return EINVAL;
err = open_class (1, name, clname_end, &cl);
if (err)
Index: hurd/libstore/typed.c
diff -u hurd/libstore/typed.c:1.6 hurd/libstore/typed.c:1.7
--- hurd/libstore/typed.c:1.6 Thu Mar 14 16:10:01 2002
+++ hurd/libstore/typed.c Sat Aug 2 18:02:03 2003
@@ -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 <address@hidden>
This file is part of the GNU Hurd.
@@ -113,7 +113,7 @@
const struct store_class *cl;
const char *clname_end = strchrnul (name, ':');
- if (clname_end == name)
+ if (clname_end == name && *clname_end)
/* Open NAME with store_open. */
return store_open (name + 1, flags, classes, store);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd/libstore ChangeLog module.c typed.c,
Marcus Brinkmann <=