<configure name="NAME" value="ImageMagick"/>
<configure name="LIB_VERSION" value="0x664"/>
<configure name="LIB_VERSION_NUMBER" value="6,6,4,0"/>
- <configure name="RELEASE_DATE" value="2010-08-31"/>
+ <configure name="RELEASE_DATE" value="2010-09-02"/>
<configure name="CONFIGURE" value="./configure "/>
<configure name="PREFIX" value="/usr/local"/>
<configure name="EXEC-PREFIX" value="/usr/local"/>
ThrowFatalException(ResourceLimitFatalError,"UnableToAcquireString");
*destination='\0';
if (source != (char *) NULL)
- (void) CopyMagickString(destination,source,(length+1)*sizeof(*destination));
+ {
+ (void) CopyMagickMemory(destination,source,length*sizeof(*destination));
+ destination[length]='\0';
+ }
return(destination);
}
\f
sizeof(*destination));
if (*destination == (char *) NULL)
ThrowFatalException(ResourceLimitFatalError,"UnableToAcquireString");
- (void) CopyMagickString(*destination,source,(length+1)*sizeof(*destination));
+ (void) CopyMagickMemory(*destination,source,length*sizeof(*destination));
+ (*destination)[length]='\0';
return(*destination);
}
\f
ThrowFatalException(ResourceLimitFatalError,"UnableToAcquireString");
*destination='\0';
if (source != (char *) NULL)
- (void) CopyMagickString(destination,source,(length+1)*sizeof(*destination));
+ {
+ (void) CopyMagickMemory(destination,source,length*sizeof(*destination));
+ destination[length]='\0';
+ }
return(destination);
}
\f
length=string_info->length;
if (~length >= MaxTextExtent)
string=(char *) AcquireQuantumMemory(length+MaxTextExtent,sizeof(*string));
- if (string != (char *) NULL)
- (void) CopyMagickString(string,(char *) string_info->datum,
- (length+1)*sizeof(*string));
+ if (string == (char *) NULL)
+ return((char *) NULL);
+ (void) CopyMagickMemory(string,(char *) string_info->datum,length*
+ sizeof(*string));
+ string[length]='\0';
return(string);
}
\f
ThrowFatalException(ResourceLimitFatalError,
"UnableToConvertStringToARGV");
}
- (void) CopyMagickString(argv[i],p,(size_t) (q-p+1));
+ (void) CopyMagickMemory(argv[i],p,(size_t) (q-p));
+ argv[i][q-p]='\0';
p=q;
while ((isspace((int) ((unsigned char) *p)) == 0) && (*p != '\0'))
p++;
%
% A description of each parameter follows:
%
-% o list: Method StringToList returns the string list unless an error
-% occurs, otherwise NULL.
-%
% o text: Specifies the string to segment into a list.
%
*/
sizeof(*textlist));
if (textlist[i] == (char *) NULL)
ThrowFatalException(ResourceLimitFatalError,"UnableToConvertText");
- (void) CopyMagickString(textlist[i],p,(size_t) (q-p+1));
+ (void) CopyMagickMemory(textlist[i],p,(size_t) (q-p));
+ textlist[i][q-p]='\0';
if (*q == '\r')
q++;
p=q+1;
#define MagickLibAddendum "-0"
#define MagickLibInterface 4
#define MagickLibMinInterface 4
-#define MagickReleaseDate "2010-08-31"
-#define MagickChangeDate "20100823"
+#define MagickReleaseDate "2010-09-02"
+#define MagickChangeDate "20100902"
#define MagickAuthoritativeURL "http://www.imagemagick.org"
#define MagickFeatures "OpenMP "
#define MagickHomeURL "file:///usr/local/share/doc/ImageMagick-6.6.4/index.html"