Package: kdrill / 6.5deb2-13

Metadata

Package Version Patches format
kdrill 6.5deb2-13 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
manpages fixes.diff | (download)

kdrill.man | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

---
implicit exit fix.diff | (download)

kanjisearch.c | 1 1 + 0 - 0 !
makedic/makedic.c | 2 1 + 1 - 0 !
makedic/makeedict.c | 2 1 + 1 - 0 !
radsearch.c | 1 1 + 0 - 0 !
4 files changed, 4 insertions(+), 2 deletions(-)

---
pointer fixes.diff | (download)

grades.c | 14 8 + 6 - 0 !
kanasearch.c | 8 4 + 4 - 0 !
kanjisearch.c | 8 4 + 4 - 0 !
learn.c | 2 1 + 1 - 0 !
mainwindow.c | 7 4 + 3 - 0 !
multikanji.c | 4 2 + 2 - 0 !
options.c | 2 1 + 1 - 0 !
skipsearch.c | 6 3 + 3 - 0 !
widgets.c | 4 2 + 2 - 0 !
9 files changed, 29 insertions(+), 26 deletions(-)

---
search segfault fix.diff | (download)

multikanji.c | 3 3 + 0 - 0 !
searchwidgets.c | 6 5 + 1 - 0 !
2 files changed, 8 insertions(+), 1 deletion(-)

---
timeout miss.diff | (download)

game.c | 17 10 + 7 - 0 !
mainwindow.c | 1 0 + 1 - 0 !
timeout.c | 1 1 + 0 - 0 !
3 files changed, 11 insertions(+), 8 deletions(-)

---
clean fixes.diff | (download)

makedic/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
fix edict buffer overflow.diff | (download)

readfile.c | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

---
more MAXTRANSLATIONSALLOWED.diff | (download)

defs.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
increase maxmulti.diff | (download)

/multikanji.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 increase maximum search results to 1000

The search component of kdrill imposes a hard limit of 200 results to all kanji                                                                      
searches, and provides no way to get at any results beyond that limit.                                                                               
                                                                                                                                                     
I have routinely needed to be able to look through all results, well past that                                                                       
limit. I am therefore running with the attached simple one-line patch, which                                                                         
raises the limit to 1000. I have not noticed any significant increase in e.g.                                                                        
memory requirements as a result.

Bug-Debian: http://bugs.debian.org/645650

drop unused variable.diff | (download)

multikanji.c | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 drop unused uname variable in createallmulti()
 This fixes a buffer overflow due to an increase in MAXMULTI from 200 to 1000.
fix double zu.diff | (download)

makedic/fullkatahira.edic | 2 1 + 1 - 0 !
makedic/hiraplus.edic | 2 1 + 1 - 0 !
makedic/infile.hiraplus | 2 1 + 1 - 0 !
makedic/infile.kataplus | 2 1 + 1 - 0 !
makedic/kataplus.edic | 2 1 + 1 - 0 !
5 files changed, 5 insertions(+), 5 deletions(-)

---
use env flags.diff | (download)

makedic/Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
warning fixes.diff | (download)

prefs.c | 2 1 + 1 - 0 !
radsearch.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

---
rename getline.diff | (download)

externs.h | 2 1 + 1 - 0 !
readfile.c | 8 4 + 4 - 0 !
2 files changed, 5 insertions(+), 5 deletions(-)

---