Debian Codegraph @

debian/patches/Version_2_6_15pre3

raw
1 Description: <short summary of the patch>
2 TODO: Put a short summary on the line above and replace this paragraph
3 with a longer explanation of this change. Complete the meta-information
4 with other relevant fields (see below for details). To make it easier, the
5 information below has been extracted from the changelog. Adjust it or drop
6 it.
7 .
8 gcl (2.6.14-4) unstable; urgency=medium
9 .
10 * Version_2_6_15pre3
11 Author: Camm Maguire <[email protected]>
12
13 ---
14 The information above should follow the Patch Tagging Guidelines, please
15 checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
16 are templates for supplementary fields that you might want to add:
17
18 Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
19 Bug: <upstream-bugtracker-url>
20 Bug-Debian: https://bugs.debian.org/<bugnumber>
21 Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
22 Forwarded: (no|not-needed|<patch-forwarded-url>)
23 Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
24 Reviewed-By: <name and email of someone who approved/reviewed the patch>
25 Last-Update: 2023-02-14
26
27 --- gcl-2.6.14.orig/git.tag
28 +++ gcl-2.6.14/git.tag
29 @@ -1 +1 @@
30 -"Version_2_6_15pre2"
31 +"Version_2_6_15pre3"
32 --- gcl-2.6.14.orig/o/gcl_readline.d
33 +++ gcl-2.6.14/o/gcl_readline.d
34 @@ -117,14 +117,14 @@ rl_completion_words(const char *text, in
35 wtext=*wtext==':' ? wtext+1 : wtext;
36 len=strlen(wtext);
37 tp=package;
38 - i=0;
39 base=internal ? tp->p.p_internal : tp->p.p_external;
40 size=internal ? tp->p.p_internal_size : tp->p.p_external_size;
41 + i=0;
42 l=base[i];
43
44 }
45
46 - while (tp && tp != Cnil) {
47 + while (tp != OBJNULL && tp != Cnil) {
48
49 while (1) {
50 while (type_of(l)==t_cons) {
51 @@ -147,17 +147,17 @@ rl_completion_words(const char *text, in
52 return c;
53 }
54 }
55 - if (++i==size)
56 + if (++i>=size)
57 break;
58 l=base[i];
59 }
60
61 tp=use->c.c_car;
62 use=use->c.c_cdr;
63 - base=internal ? tp->p.p_internal : tp->p.p_external;
64 - size=internal ? tp->p.p_internal_size : tp->p.p_external_size;
65 + base=tp==Cnil ? NULL : (internal ? tp->p.p_internal : tp->p.p_external);
66 + size=tp==Cnil ? 0 : (internal ? tp->p.p_internal_size : tp->p.p_external_size);
67 i=0;
68 - l=base[i];
69 + l=base==NULL ? Cnil : base[i];
70
71 }
72