Make string comparison safe even for empty strings by checking for NULL (which isn't safe to pass to strcmp). Side issue to be resolved later: should we really have NULL at all, or should empty strings be represented by "" always?
Make string comparison safe even for empty strings by checking for NULL (which
isn't safe to pass to strcmp).
Side issue to be resolved later: should we really have NULL at all, or should
empty strings be represented by "" always?


git-svn-id: c3edda122e248ef33995da003806c930f62b9468@1330 31904243-a364-42ac-a3db-9305396518ba

sambler/oiio,bdeluca/oiio,bdeluca/oiio,OpenImageIO/oiio,micler/oiio,micler/oiio,cwilling/oiio,OpenImageIO/oiio,jeremyselan/oiio,OpenImageIO/oiio,lgritz/oiio,lgritz/oiio,sambler/oiio,mcanthony/oiio,scott-wilson/oiio,scott-wilson/oiio,mcanthony/oiio,sambler/oiio,mcanthony/oiio,scott-wilson/oiio,YangYangTL/oiio,mcanthony/oiio,jeremyselan/oiio,bdeluca/oiio,YangYangTL/oiio,scott-wilson/oiio,OpenImageIO/oiio,lgritz/oiio,cwilling/oiio,sambler/oiio,lgritz/oiio,micler/oiio,micler/oiio,bdeluca/oiio,cwilling/oiio,jeremyselan/oiio,YangYangTL/oiio,cwilling/oiio,YangYangTL/oiio