projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0defda
)
xclone->userspec
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 5 Oct 2004 06:47:18 +0000
(06:47 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 5 Oct 2004 06:47:18 +0000
(06:47 +0000)
lib/userspec.c
patch
|
blob
|
history
diff --git
a/lib/userspec.c
b/lib/userspec.c
index ba66fac8b34d359dff2c6c17a8cdbbf5e81bda6b..037961d4746374e5d3b02c2a03c0f64ddc2b4ac9 100644
(file)
--- a/
lib/userspec.c
+++ b/
lib/userspec.c
@@
-154,7
+154,7
@@
parse_with_separator (char const *spec, char const *separator,
size_t ulen = separator - spec;
if (ulen != 0)
{
- u = x
clone
(spec, ulen + 1);
+ u = x
memdup
(spec, ulen + 1);
u[ulen] = '\0';
}
}