projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f98085a
)
Small bug fix.
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 5 Oct 1994 10:47:31 +0000
(10:47 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 5 Oct 1994 10:47:31 +0000
(10:47 +0000)
util/res.c
patch
|
blob
|
history
diff --git
a/util/res.c
b/util/res.c
index
743d5e8
..
e641500
100644
(file)
--- a/
util/res.c
+++ b/
util/res.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: res.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: res.c,v $
- * Revision 1.9 1994-09-16 14:41:12 quinn
+ * Revision 1.10 1994-10-05 10:47:31 adam
+ * Small bug fix.
+ *
+ * Revision 1.9 1994/09/16 14:41:12 quinn
* Added log warning to res_get_def
*
* Revision 1.8 1994/09/16 14:37:12 quinn
* Added log warning to res_get_def
*
* Revision 1.8 1994/09/16 14:37:12 quinn
@@
-167,10
+170,7
@@
Res res_open (const char *name)
{
Res r;
if (access (name, R_OK))
{
Res r;
if (access (name, R_OK))
- {
log (LOG_LOG|LOG_ERRNO, "cannot access `%s'", name);
log (LOG_LOG|LOG_ERRNO, "cannot access `%s'", name);
- xfree (r);
- }
r = xmalloc (sizeof(*r));
r->init = 0;
r->name = xstrdup (name);
r = xmalloc (sizeof(*r));
r->init = 0;
r->name = xstrdup (name);