[janitor] dlls/winmm/wine* -Wwrite-strings cleanup

Sylvain Petreolle spetreolle at yahoo.fr
Sat Oct 11 22:19:36 CDT 2003


Was something like this already applied to CVS ?
This could explain why I got garbage into winealsa for the device
names.

> >  > +    char                    device[] = "hw";
> > I think it should be
> > static char                     device[] = "hw";
> 
> Why is that? In fact, I think it shouldn't, if it
> gets modified during the call, we'll end up passing
> garbage values on subsequent calls...


=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the wine-devel mailing list