Bugzilla – Attachment 70023 Details for
Bug 152315
wordcut-0.5.1b2-5: local variable used before set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
bugzilla-152315-locale-variable-used-before-set.patch
bugzilla-152315-locale-variable-used-before-set.patch (text/plain), 698 bytes, created by
Mike Fabian
on 2006-02-23 17:40:07 UTC
(
hide
)
Description:
bugzilla-152315-locale-variable-used-before-set.patch
Filename:
MIME Type:
Creator:
Mike Fabian
Created:
2006-02-23 17:40:07 UTC
Size:
698 bytes
patch
obsolete
>diff -ru wordcut-0.5.1b2.orig/wordcut/wordcut_dict_dump.c wordcut-0.5.1b2/wordcut/wordcut_dict_dump.c >--- wordcut-0.5.1b2.orig/wordcut/wordcut_dict_dump.c 2003-09-11 08:23:08.000000000 +0200 >+++ wordcut-0.5.1b2/wordcut/wordcut_dict_dump.c 2006-02-23 18:25:52.000000000 +0100 >@@ -4,7 +4,7 @@ > static char dump_buffer[1000]; > > static void dump_(uint8_t *data,int p,int c) { >- uint8_t header=data[p],size; >+ uint8_t header=data[p],size=data[p+1]; > int i; > > >@@ -19,8 +19,6 @@ > } > printf ("\n"); > } >- size=data[p+1]; >- > > if (size > 0) { > if (header & 0x2) { >wordcut-0.5.1b2/wordcutã ãã«çºè¦: wordcut_dict_dump.c.~1~
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 152315
: 70023