updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / xgraph / gcc4.4.diff
blob90d5f8a1b514c4bb1d63064d2513197a5ce265d4
1 diff -aur xgraph-12.1.orig/dialog.c xgraph-12.1.new/dialog.c
2 --- xgraph-12.1.orig/dialog.c 2009-06-16 20:27:46.000000000 +0200
3 +++ xgraph-12.1.new/dialog.c 2009-06-16 20:32:30.000000000 +0200
4 @@ -777,7 +777,7 @@
5 memset(new_info->lines, 0, sizeof(Window) * E_LINES);
7 lineptr = text;
8 - while (getline(&lineptr, line)) {
9 + while (xgraph_getline(&lineptr, line)) {
10 if (new_info->num_lines >= new_info->alloc_lines) {
11 int old_alloc_lines_size = new_info->alloc_lines * sizeof(Window);
12 new_info->alloc_lines *= 2;
13 @@ -884,11 +884,11 @@
14 else
15 fputs(err_text, stderr);
17 -\f
21 int
22 -getline(tptr, lptr)
23 +xgraph_getline(tptr, lptr)
24 char **tptr;
25 char *lptr;
27 @@ -914,7 +914,7 @@
28 return 0;
31 -\f
35 static void