projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6be3e
)
Have gcc check for NULL terminated arglist in rstrscat
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 17 Apr 2008 08:09:03 +0000
(11:09 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 17 Apr 2008 08:11:00 +0000
(11:11 +0300)
rpmio/rpmstring.h
patch
|
blob
|
history
diff --git
a/rpmio/rpmstring.h
b/rpmio/rpmstring.h
index
1947da2
..
54eeaf1
100644
(file)
--- a/
rpmio/rpmstring.h
+++ b/
rpmio/rpmstring.h
@@
-122,7
+122,7
@@
char *rstrcat(char **dest, const char *src);
* @param arg NULL terminated list of strings to concatenate
* @return realloc'd dest with strings appended
*/
-char *rstrscat(char **dest, const char *arg, ...);
+char *rstrscat(char **dest, const char *arg, ...)
RPM_GNUC_NULL_TERMINATED
;
/** \ingroup rpmstring
* Split string into fields separated by a character.