[s1mp3-dev] Linux patch to s1mp3
Bluechip
csbluechip at gmail.com
Mon Jun 19 17:29:50 CDT 2006
It is utterly accepted to use 0 and NULL interchangeably.
Consider such code as
if (!malloc(x)) printf("fail");
BC
At 16:19 19/06/2006, you wrote:
>On 6/19/06, Ricardo Larrañaga <ricardo.larranaga at gmail.com> wrote:
> > Wich part of loadram for windowsis not working???
> >
>
>Humm..
>
>Ricardo, what is this for? :
>
>if (device_handle==NULL) {
> printf("device_open(): could not get device handler\n");
> return(0);
>}
>
>This can't be! The whole function is suposed to return NULL on error,
>or an integer on success. Returning a zero will fsck the whole
>process! lol..
>
>By the way, the checking is done at the end.
>
> >
> > _______________________________________________
> > s1mp3-dev mailing list
> > s1mp3-dev at s1mp3.org
> > http://s1mp3.org/mailman/listinfo/s1mp3-dev_s1mp3.org
> >
> >
> >
>
>_______________________________________________
>s1mp3-dev mailing list
>s1mp3-dev at s1mp3.org
>http://s1mp3.org/mailman/listinfo/s1mp3-dev_s1mp3.org
More information about the s1mp3-dev
mailing list