Coding standards: Related bug workarounds

Gaetan Nadon memsize at videotron.ca
Wed Mar 17 17:42:50 PDT 2010


On Wed, 2010-03-17 at 14:14 +0000, Matej Urbas wrote:

> Hi,
> 
> I hope you don't mind me asking something like this here, but is there a
> coding guideline for referencing bugs in related projects for which we
> have to do a 'temporary' workaround in our project?
> 
> Here is a description of what I mean -- using a (hypothetical) example: 
> 
> int a = getSomeNumber(); 
> // WA: We have to do something crazy because of a bug in some other
> // project:
> // [WABUG:https://bugzilla.redhat.com/show_bug.cgi?id=527510] 
> while (a < 10) { 
> a = getSomeOtherNumber(); 
> } 
> 
> Thus, the format of the so-called 'Workaround Bug' would be: 
> 
> [WABUG:<uri>]
> 
> Checking for fixed/referenced WABUGs could be automated easily and
> everyone would be happy.
> 
> Do we have anything like that?
> 

Not to my knowledge. I checked the GNU coding standards but could not
find anything. 


> Thank you,
> ---
> Matej
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100317/b4def1e8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100317/b4def1e8/attachment-0001.pgp>


More information about the xorg-devel mailing list