projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lib/idcache.c (getuser): Remove all uses of the register keyword.
[gnulib.git]
/
lib
/
classpath.c
diff --git
a/lib/classpath.c
b/lib/classpath.c
index
b87ceab
..
4809fc6
100644
(file)
--- a/
lib/classpath.c
+++ b/
lib/classpath.c
@@
-66,7
+66,7
@@
new_classpath (const char * const *classpaths, unsigned int classpaths_count,
if (classpaths_count > 0 && old_classpath[0] == '\0')
length--;
if (classpaths_count > 0 && old_classpath[0] == '\0')
length--;
- result =
(char *) xmalloc (length + 1
);
+ result =
XNMALLOC (length + 1, char
);
p = result;
for (i = 0; i < classpaths_count; i++)
{
p = result;
for (i = 0; i < classpaths_count; i++)
{