]> git.pld-linux.org Git - packages/links2.git/blob - links2-dump_codepage.patch
- removed unnecessary patch (it was done in lame way)
[packages/links2.git] / links2-dump_codepage.patch
1 diff -urN /tmp/links-0.96/default.c links-0.96/default.c
2 --- /tmp/links-0.96/default.c   Sun Apr  8 22:46:18 2001
3 +++ links-0.96/default.c        Wed Mar  6 18:56:09 2002
4 @@ -910,6 +910,7 @@
5         {1, gen_cmd, str_rd, str_wr, 0, MAX_STR_LEN, bookmarks_file, "bookmarks_file", "bookmarks-file"},
6         {1, gen_cmd, str_rd, str_wr, 0, MAX_STR_LEN, default_anon_pass, "ftp.anonymous_password", "ftp.anonymous-password"},
7         {1, gen_cmd, cp_rd, NULL, 0, 0, &dds.assume_cp, "assume_codepage", "assume-codepage"},
8 +       {1, gen_cmd, cp_rd, NULL, 0, 0, &dump_codepage, "dump_codepage", "dump-codepage"},
9         {1, NULL, term_rd, term_wr, 0, 0, NULL, "terminal", NULL},
10         {1, NULL, term2_rd, NULL, 0, 0, NULL, "terminal2", NULL},
11         {1, NULL, type_rd, type_wr, 0, 0, NULL, "association", NULL},
12 diff -urN /tmp/links-0.96/links.h links-0.96/links.h
13 --- /tmp/links-0.96/links.h     Mon Jun 11 12:14:25 2001
14 +++ links-0.96/links.h          Wed Mar  6 18:56:09 2002
15 @@ -1107,6 +1107,8 @@
16  
17  extern int retval;
18  
19 +extern int dump_codepage;
20 +
21  extern unsigned char *path_to_exe;
22  
23  void unhandle_terminal_signals(struct terminal *term);
24 diff -urN /tmp/links-0.96/main.c links-0.96/main.c
25 --- /tmp/links-0.96/main.c      Sun Apr  8 22:46:06 2001
26 +++ links-0.96/main.c           Wed Mar  6 18:39:33 2002
27 @@ -2,6 +2,8 @@
28  
29  int retval = RET_OK;
30  
31 +int dump_codepage = 0;
32 +
33  void unhandle_basic_signals(struct terminal *);
34  
35  void sig_terminate(struct terminal *t)
36 @@ -199,7 +201,7 @@
37                 o.xw = 80;
38                 o.yw = 25;
39                 o.col = 0;
40 -               o.cp = 0;
41 +               o.cp = dump_codepage;
42                 ds2do(&dds, &o);
43                 o.plain = 0;
44                 o.frames = 0;
This page took 0.056695 seconds and 3 git commands to generate.