The following commit has been merged in the master branch:
commit 96a0f9db4a87a9d6285b7bcdc4dcab1340c68eac
Author: Guillem Jover <[email protected]>
Date: Wed Feb 6 01:31:01 2013 +0100
u-a: Remove explicit size from array initializer
diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c
index e873610..66b44cb 100644
--- a/utils/update-alternatives.c
+++ b/utils/update-alternatives.c
@@ -472,7 +472,7 @@ rename_mv(const char *src, const char *dst)
return false;
if (rename(src, dst) != 0) {
- const char *args[3] = { src, dst, NULL };
+ const char *args[] = { src, dst, NULL };
int r;
r = spawn("mv", args);
if (WIFEXITED(r) && WEXITSTATUS(r) == 0)
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]