index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-04-29 12:03:09 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-29 12:03:09 -0400 |
commit | a58e17a1d7a9901bb32277c9aed7edded3501767 (patch) | |
tree | 25209ab6fcfb551da7d55ee9a1e8e0c235511e2d /lib/libalpm/deps.c | |
parent | ea327cab843397a5727a8a0dd560aab8e0975df6 (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 6 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 6f075bb8..51b3207f 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -60,12 +60,12 @@ pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdeptype_t type, RET_ERR(PM_ERR_MEMORY, NULL); } - STRNCPY(miss->target, target, PKG_NAME_LEN); + strncpy(miss->target, target, PKG_NAME_LEN); miss->type = type; miss->depend.mod = depmod; - STRNCPY(miss->depend.name, depname, PKG_NAME_LEN); + strncpy(miss->depend.name, depname, PKG_NAME_LEN); if(depversion) { - STRNCPY(miss->depend.version, depversion, PKG_VERSION_LEN); + strncpy(miss->depend.version, depversion, PKG_VERSION_LEN); } else { miss->depend.version[0] = 0; } |