Re: reportbug -- conferir inglês
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Herbert P Fortes Neto wrote:
> Olá
Olá,
> Podem conferir o inglês antes de eu reportar o bug?
Ok, vamos tentar :
> --------------primeira parte-----------------
> Hi
>
> I was rebuilding the package of wmaker(sarge) and
> made used of to remove some warnnigs of the compiler.
> Attached the patches(for sarge) and all messages of
> the process (build -- before-after).
Hi,
I was rebuilding wamker's source package (from Sarge) and found some
compiler warnings so I made some patches to fix them. Attached you'll
find the patches (for Sarge) and all the warning messages they fix
(build -- before the fixes and after the fixes).
> -- 'unused variable'
> -wmaker-0.91.0/WINGs/configuration.c:56: warning: unused variable `str'
> -wmaker-0.91.0/src/window.c:3307: warning: unused variable `staterec'(etch too)
> -wmaker-0.91.0/util/fontconv.c:133: warning: unused variable `slt'(etch too)
>
> obs:only in etch
> - /tmp/buildd/wmaker-0.92.0/src/defaults.c:982: warning: unused variable `replace'
>
> -- 'defined but not used'
> -wmaker-0.91.0/WPrefs.app/Themes.c:151:
> warning: `updateThemeList' defined but not used(etch too)
>
> -- 'braces'
> -wmaker-0.91.0/src/framewin.c:156:
> warning: suggest explicit braces to avoid ambiguous `else'(etch too)
>
> -- 'implicit declaration'
> -wmaker-0.91.0/src/startup.c:799:
> warning: implicit declaration of function `XkbQueryExtension'(etch too)
> -wmaker-0.91.0/src/event.c:496:
> warning: implicit declaration of function `handleXkbIndicatorStateNotify'
> /tmp/buildd/wmaker-0.91.0/src/event.c:1204:
> warning: return type defaults to `int'
> /tmp/buildd/wmaker-0.91.0/src/event.c:1226:
> warning: control reaches end of non-void function (etch too)
>
>
> []
>
> obs: Some more obs in next email
Obs: more on the next message.
> ------------fim primeira parte-------------
>
> ------------segunda parte------------------
> continuing
>
> I also add 'static void' to function handleXkbIndicatorStateNotify
> (wmaker-xx/src/event.c:496).
I also added 'static void' to the function
handleXkbIndicatorStateNotify (wmaker-xx/src/event.c:496).
> And i thing is good to add a 'return True' in(sarge -- wmaker-xx/WINGs/winputmethod.c:26):
> Bool
I tought it was also nice to add a 'return True' in Sarge's
wmaker-xx/WINGs/winputmethod.c:26):
> W_InitIMStuff(WMScreen *scr)
> {
> WMIMContext *ctx;
>
> ctx = scr->imctx = wmalloc(sizeof(WMIMContext));
>
> ctx->xim = XOpenIM(scr->display, NULL, NULL, NULL);
> if (ctx->xim == NULL) {
> wwarning("could not open IM");
> return False;
> }
>
> }
>
>
> []
> ----------fim segunda parte---------
Apesar de eu achar que na prática as correções somente seriam aceitas
para a versão do Etch do WindowMaker, porque a política de aceitação de
novos pacotes para a versão estável é bem restrita, permitindo um upload
de um novo pacote somente para corrigir um bug de segurança ou um bug
crítico.
De qualquer forma, caso vá relatar o bug para o sarge, não esqueça de
marcá-lo como existente somente na versão do Sarge do WindowMaker,
especificando a versão do pacote e usando a tag "sarge".
Espero ter ajudado. O reportbug lhe ajudará com isso.
- --
André Luís Lopes
andrelop@debian.org
http://people.debian.org/~andrelop
Public GPG KeyID : 9D1B82F6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFAXbzW4/i9Z0bgvYRAmzaAJwLEvF9fzZZOzohXrFOP8g3o6PVPQCgkMLL
0gbifEy96je1anrn4vGrL1M=
=x4ck
-----END PGP SIGNATURE-----
Reply to: