Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162698 - [QA] sys-apps/hal-0.5.7.1-r3 has poor programming practices (implicit declarations)
Summary: [QA] sys-apps/hal-0.5.7.1-r3 has poor programming practices (implicit declara...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords: QAcanfix
Depends on:
Blocks:
 
Reported: 2007-01-18 19:41 UTC by Sandro Bonazzola (RETIRED)
Modified: 2007-01-26 21:17 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-18 19:41:41 UTC
* QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * hotplug.c:285: warning: implicit declaration of function 'isdigit'
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-01-18 19:47:59 UTC
Don't care.
Comment 2 Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-18 20:57:24 UTC
(In reply to comment #1)
> Don't care.
> 

Quoting QA die message:
!!! poor code kills airplanes

Fixing this bug requires just a line that includes the right header:
man isdigit -> #include <ctype.h>

Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2007-01-18 23:50:20 UTC
If any airplane uses or has HAL in any of it's on board systems then all the passengers, pilots, crew, airline personnel, and all associated ground crew deserve to die...

Please refer to Comment #1, if that's not acceptable. Find upstream, file a bug with upstream, provide a patch, link this bug to upstream's bug, and get upstream to be responsive and not snub you. THEN... and ONLY then... will I care. 
Comment 4 solar (RETIRED) gentoo-dev 2007-01-19 00:45:04 UTC
SapnKY: As we can see here some devs simply don't give a rats ass even when being presented with a patch.
Comment 5 SpanKY gentoo-dev 2007-01-19 03:44:55 UTC
so if they're going to be tools, we fix it for them

the fix is pretty obvious; not taking care of it exhibits extreme laziness
Comment 6 Ciaran McCreesh 2007-01-19 09:34:29 UTC
The fix is clearly something that should be going upstream. Encouraging developers to start applying these kinds of patches just for Gentoo is highly irresponsible.
Comment 7 SpanKY gentoo-dev 2007-01-19 20:52:59 UTC
no one is encouraging that, shut yer pie hole
Comment 8 Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-20 13:21:08 UTC
My point of view about this is here:
https://bugs.gentoo.org/show_bug.cgi?id=162711#c3
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2007-01-26 21:17:45 UTC
You wanna talk about poor programming practices? Why don't you guys go after this code... Because THESE warnings have actually caused a problem.. HINT... it's KDE... NOT hal.. specifically krdc

In file included from rfbproto.c:1181:
tight.c: In function 'HandleTight8':
tight.c:99: warning: unused variable 'rawData'
tight.c:91: warning: unused variable 'gcv'
tight.c: In function 'InitFilterCopy8':
tight.c:308: warning: unused parameter 'rh'
tight.c: In function 'FilterGradient8':
tight.c:434: warning: suggest parentheses around + or - in operand of &
tight.c:448: warning: suggest parentheses around + or - in operand of &
tight.c: In function 'InitFilterPalette8':
tight.c:462: warning: unused variable 'palette'
tight.c:460: warning: unused variable 'i'
tight.c:458: warning: unused parameter 'rh'
In file included from rfbproto.c:1186:
tight.c: In function 'HandleTight16':
tight.c:99: warning: unused variable 'rawData'
tight.c:91: warning: unused variable 'gcv'
tight.c: In function 'InitFilterCopy16':
tight.c:308: warning: unused parameter 'rh'
tight.c: In function 'FilterGradient16':
tight.c:434: warning: suggest parentheses around + or - in operand of &
tight.c:448: warning: suggest parentheses around + or - in operand of &
tight.c: In function 'InitFilterPalette16':
tight.c:462: warning: unused variable 'palette'
tight.c:460: warning: unused variable 'i'
tight.c:458: warning: unused parameter 'rh'
tight.c: In function 'DecompressJpegRect16':
tight.c:576: warning: comparison between signed and unsigned
tight.c:576: warning: comparison between signed and unsigned
In file included from rfbproto.c:1191:
tight.c: In function 'HandleTight32':
tight.c:99: warning: unused variable 'rawData'
tight.c:91: warning: unused variable 'gcv'
tight.c: In function 'InitFilterCopy32':
tight.c:308: warning: unused parameter 'rh'
tight.c: In function 'FilterGradient32':
tight.c:434: warning: suggest parentheses around + or - in operand of &
tight.c:448: warning: suggest parentheses around + or - in operand of &
tight.c: In function 'InitFilterPalette32':
tight.c:458: warning: unused parameter 'rh'
tight.c: In function 'DecompressJpegRect32':
tight.c:576: warning: comparison between signed and unsigned
tight.c:576: warning: comparison between signed and unsigned
rfbproto.c: In function 'JpegInitSource':
rfbproto.c:1284: warning: unused parameter 'cinfo'
rfbproto.c: In function 'JpegFillInputBuffer':
rfbproto.c:1290: warning: unused parameter 'cinfo'
rfbproto.c: In function 'JpegSkipInputData':
rfbproto.c:1302: warning: comparison between signed and unsigned
rfbproto.c:1300: warning: unused parameter 'cinfo'
rfbproto.c: In function 'JpegTermSource':
rfbproto.c:1313: warning: unused parameter 'cinfo'