]> git.pld-linux.org Git - packages/links2.git/blob - links2-segv.patch
- fix for segfault on x86_64
[packages/links2.git] / links2-segv.patch
1 --- links-2.1pre15/default.c.orig       2004-04-17 23:35:56.000000000 +0200
2 +++ links-2.1pre15/default.c    2004-04-17 23:53:43.466392248 +0200
3 @@ -783,7 +783,7 @@
4                 add_to_str(s, l, " ");
5                 add_quoted_to_str(s, l, (dp->param) ? (dp->param) : (unsigned char*)"");
6                 add_to_str(s, l, " ");
7 -               add_quoted_to_str(s, l, dp->shell);
8 +               add_quoted_to_str(s, l, (dp->shell) ? (dp->shell) : (unsigned char*)"");
9                 add_to_str(s, l, " ");
10                 add_to_str(s, l, get_cp_mime_name(dp->codepage));
11         }
This page took 0.025567 seconds and 3 git commands to generate.