[MPlayer-dev-eng] [PATCH] encapsulating #define arguments

Arpi arpi at thot.banki.hu
Mon Jan 13 15:08:35 CET 2003


Hi,

> > maybe also pointers to elementary types (char*, void* etc) are ok to change,
> > as they can be used in arithmetic too (example: strcpy(dst+8,src+2), but i
> > can't imagine case when dst and (dst) can make difference in effect)
> 
> Hmm... 
> 
> mystrcpymacro(mydst == NULL ? otherdst : mydst, mysrc);
> 
> Wouldn't this be '(otherdst) OR (mydst + 8)' ? These are arithmetics so
> they should be changed IMHO.

right


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-dev-eng mailing list