summaryrefslogtreecommitdiff
path: root/libstore/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstore/create.c')
-rw-r--r--libstore/create.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libstore/create.c b/libstore/create.c
index 71a4c62e..010a053e 100644
--- a/libstore/create.c
+++ b/libstore/create.c
@@ -1,7 +1,7 @@
/* Store creation
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
- Written by Miles Bader <miles@gnu.ai.mit.edu>
+ Copyright (C) 1995,96,97,2001 Free Software Foundation, Inc.
+ Written by Miles Bader <miles@gnu.org>
This file is part of the GNU Hurd.
The GNU Hurd is free software; you can redistribute it and/or
@@ -65,6 +65,9 @@ store_create (file_t source, int flags,
if (err)
store_free (*store);
}
+ else if (err == EINVAL && (flags &~ STORE_INACTIVE) == STORE_NO_FILEIO)
+ /* Open a generic "unknown" store that can regurgitate this encoding. */
+ err = store_unknown_decode (&enc, classes, store);
store_enc_dealloc (&enc);