]> git.pld-linux.org Git - packages/perl-Proc-ProcessTable.git/blame - format.patch
- x32 rebuild
[packages/perl-Proc-ProcessTable.git] / format.patch
CommitLineData
38cbd834
AF
1--- Proc-ProcessTable-0.48/os/Linux.c.wiget 2013-04-07 12:56:30.000000000 +0200
2+++ Proc-ProcessTable-0.48/os/Linux.c 2013-06-10 21:26:13.953054773 +0200
1c75d2d6
AF
3@@ -394,7 +394,7 @@ static void eval_link(char *pid, char *l
4
5 /* copy the path onto our obstack, set the value (somewhere in pts)
6 * and free the results of canonicalize_file_name */
7- obstack_printf(mem_pool, link);
8+ obstack_printf(mem_pool, "%s", link);
9 obstack_1grow(mem_pool, '\0');
10
11 *ptr = (char *) obstack_finish(mem_pool);
12@@ -635,7 +635,7 @@ void OS_get_table()
13 bzero(prs, sizeof(struct procstat));
14
15 /* intilize the format string */
16- obstack_printf(&mem_pool, get_string(STR_DEFAULT_FORMAT));
17+ obstack_printf(&mem_pool, "%s", get_string(STR_DEFAULT_FORMAT));
18 obstack_1grow(&mem_pool, '\0');
19 format_str = (char *) obstack_finish(&mem_pool);
20
38cbd834
AF
21--- Proc-ProcessTable-0.48/ProcessTable.xs.wiget 2013-06-10 21:29:03.826413135 +0200
22+++ Proc-ProcessTable-0.48/ProcessTable.xs 2013-06-10 21:27:54.582453793 +0200
23@@ -402,5 +402,5 @@ _initialize_os(obj)
24 char* error;
25
26 if( (error = OS_initialize()) != NULL ){
27- croak(error);
28+ croak("%s", error);
29 }
This page took 0.145295 seconds and 4 git commands to generate.