Changeset 11620 for ImageMagick/trunk

Show
Ignore:
Timestamp:
07/13/08 11:38:18 (3 months ago)
Author:
cristy
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/magick/image.c

    r11600 r11620  
    34263426 
    34273427  ExceptionInfo 
    3428     sans_exception; 
     3428    *sans_exception; 
    34293429 
    34303430  Image 
     
    35253525#endif 
    35263526  image_info->affirm=MagickFalse; 
     3527  sans_exception=AcquireExceptionInfo(); 
    35273528  if (*extension != '\0') 
    35283529    { 
     
    35803581        i++; 
    35813582      } 
    3582       magick_info=GetMagickInfo(magic,&sans_exception); 
     3583      magick_info=GetMagickInfo(magic,sans_exception); 
    35833584      if ((magick_info != (const MagickInfo *) NULL) && 
    35843585          (magick_info->format_type != UndefinedFormatType)) 
     
    36123613        } 
    36133614    } 
    3614   GetExceptionInfo(&sans_exception); 
    3615   magick_info=GetMagickInfo(magic,&sans_exception); 
     3615  magick_info=GetMagickInfo(magic,sans_exception); 
     3616  sans_exception=DestroyExceptionInfo(sans_exception); 
    36163617  if ((magick_info == (const MagickInfo *) NULL) || 
    36173618      (GetMagickEndianSupport(magick_info) == MagickFalse)) 
    36183619    image_info->endian=UndefinedEndian; 
    3619   (void) DestroyExceptionInfo(&sans_exception); 
    36203620  GetPathComponent(image_info->filename,CanonicalPath,filename); 
    36213621  (void) CopyMagickString(image_info->filename,filename,MaxTextExtent); 
     
    36833683    Check magic.xml configuration file. 
    36843684  */ 
    3685   GetExceptionInfo(&sans_exception); 
    3686   magic_info=GetMagicInfo(magick,(size_t) count,&sans_exception); 
     3685  sans_exception=AcquireExceptionInfo(); 
     3686  magic_info=GetMagicInfo(magick,(size_t) count,sans_exception); 
    36873687  if ((magic_info != (const MagicInfo *) NULL) && 
    36883688      (GetMagicName(magic_info) != (char *) NULL)) 
     
    36903690      (void) CopyMagickString(image_info->magick,GetMagicName(magic_info), 
    36913691        MaxTextExtent); 
    3692       magick_info=GetMagickInfo(image_info->magick,&sans_exception); 
     3692      magick_info=GetMagickInfo(image_info->magick,sans_exception); 
    36933693      if ((magick_info == (const MagickInfo *) NULL) || 
    36943694          (GetMagickEndianSupport(magick_info) == MagickFalse)) 
    36953695        image_info->endian=UndefinedEndian; 
    3696       (void) DestroyExceptionInfo(&sans_exception); 
     3696      sans_exception=DestroyExceptionInfo(sans_exception); 
    36973697      return(MagickTrue); 
    36983698    } 
     
    37003700  if (p != (const char *) NULL) 
    37013701    (void) CopyMagickString(image_info->magick,p,MaxTextExtent); 
    3702   magick_info=GetMagickInfo(image_info->magick,&sans_exception); 
     3702  magick_info=GetMagickInfo(image_info->magick,sans_exception); 
    37033703  if ((magick_info == (const MagickInfo *) NULL) || 
    37043704      (GetMagickEndianSupport(magick_info) == MagickFalse)) 
    37053705    image_info->endian=UndefinedEndian; 
    3706   (void) DestroyExceptionInfo(&sans_exception); 
     3706  sans_exception=DestroyExceptionInfo(sans_exception); 
    37073707  return(MagickTrue); 
    37083708}