Skip to contentSkip to conversation

CVS: alsa-kernel/include initval.h,1.6,1.7

DISCUSSION Clemens Ladisch 1 participant 1 message Dec 3, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

It seems the fix for the get_id fix needs another fix. ;-)

initval.h

Quoted 10 lines · Jaroslav Kysela
initval.h +3 -0
@@ -155,11 +155,14 @@
...
 		while (isalpha(*s) || isdigit(*s) || *s == '_')
 			if (d != NULL)
+				*d++ = *s;
+			s++;
+		if (d != NULL)
...

Without braces, the s++ isn't part of the while loop.

Regards,
Clemens

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en