* libmisc/chowndir.c: Add splint annotations.

This commit is contained in:
nekral-guest 2011-08-14 14:00:14 +00:00
parent 41accaf963
commit e2bdb4ff83
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-08-14 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/chowndir.c: Add splint annotations.
2011-08-14 Nicolas François <nicolas.francois@centraliens.net>
* lib/gshadow_.h: Fix typo in comment.

View File

@ -116,7 +116,7 @@ int chown_tree (const char *root,
ent_name_len = strlen (root) + strlen (ent->d_name) + 2;
if (ent_name_len > new_name_len) {
char *tmp = realloc (new_name, ent_name_len);
/*@only@*/char *tmp = realloc (new_name, ent_name_len);
if (NULL == tmp) {
rc = -1;
break;