[SCM] hexter/master: Fix my small mistake.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Oct 5 14:45:35 UTC 2010


The following commit has been merged in the master branch:
commit ad47cb4c0a56ae70c1664e4de1c8c1ca5313c83a
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Oct 5 16:44:21 2010 +0200

    Fix my small mistake.

diff --git a/debian/patches/01-pathmax.patch b/debian/patches/01-pathmax.patch
index f28b7d5..deab722 100644
--- a/debian/patches/01-pathmax.patch
+++ b/debian/patches/01-pathmax.patch
@@ -15,7 +15,7 @@ Forwarded: no
 -        if (project_directory[strlen(project_directory) - 1] != '/') {
 -            char buffer[PATH_MAX];
 -            snprintf(buffer, PATH_MAX, "%s/", project_directory);
-+        path_len = strlen(project_directory);
++        size_t path_len = strlen(project_directory);
 +        if (project_directory[path_len - 1] != '/') {
 +            char *buffer;
 +            buffer = malloc(path_len + 2); /* buflen = project_directory + '/' + '\0' */

-- 
hexter packaging



More information about the pkg-multimedia-commits mailing list