MagickCore/pixel-private.h \
MagickCore/policy.c \
MagickCore/policy.h \
+ MagickCore/policy-private.h \
MagickCore/prepress.c \
MagickCore/prepress.h \
MagickCore/property.c \
MagickCore/thread-private.h \
MagickCore/timer.c \
MagickCore/timer.h \
+ MagickCore/timer-private.h \
MagickCore/token.c \
MagickCore/token.h \
MagickCore/token-private.h \
MagickCore/string-private.h \
MagickCore/thread_.h \
MagickCore/thread-private.h \
+ MagickCore/timer-private.h \
MagickCore/token-private.h \
MagickCore/transform-private.h \
MagickCore/type-private.h \
#include "MagickCore/resource_.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/transform.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
/*
Handle a window event.
*/
- timestamp=time((time_t *) NULL);
+ timestamp=GetMagickTime();
(void) XNextEvent(display,&event);
if (windows->image.stasis == MagickFalse)
- windows->image.stasis=(time((time_t *) NULL)-timestamp) > 0 ?
+ windows->image.stasis=(GetMagickTime()-timestamp) > 0 ?
MagickTrue : MagickFalse;
if (event.xany.window == windows->command.id)
{
#include "MagickCore/semaphore.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
(void) memset(blob_info,0,sizeof(*blob_info));
blob_info->type=UndefinedStream;
blob_info->quantum=(size_t) MagickMaxBlobExtent;
- blob_info->properties.st_mtime=time((time_t *) NULL);
+ blob_info->properties.st_mtime=GetMagickTime();
blob_info->properties.st_ctime=blob_info->properties.st_mtime;
blob_info->debug=IsEventLogging();
blob_info->reference_count=1;
#include "MagickCore/splay-tree.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
Set the expire time in seconds.
*/
cache_timelimit=GetMagickResourceLimit(TimeResource);
- cache_epoch=time((time_t *) NULL);
+ cache_epoch=GetMagickTime();
}
if ((cache_timelimit != MagickResourceInfinity) &&
- ((MagickSizeType) (time((time_t *) NULL)-cache_epoch) >= cache_timelimit))
+ ((MagickSizeType) (GetMagickTime()-cache_epoch) >= cache_timelimit))
{
#if defined(ECANCELED)
errno=ECANCELED;
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/transform.h"
#include "MagickCore/transform-private.h"
#include "MagickCore/threshold.h"
Respond to events.
*/
delay=display_image->delay/MagickMax(display_image->ticks_per_second,1L);
- timer=time((time_t *) NULL)+(delay == 0 ? 1 : delay)+1;
+ timer=GetMagickTime()+(delay == 0 ? 1 : delay)+1;
update_time=0;
if (resource_info->update != MagickFalse )
{
if (windows->image.mapped != MagickFalse )
if ((display_image->delay != 0) || (resource_info->update != 0))
{
- if (timer < time((time_t *) NULL))
+ if (timer < GetMagickTime())
{
if (resource_info->update == MagickFalse)
*state|=NextImageState | ExitState;
}
delay=display_image->delay/MagickMax(
display_image->ticks_per_second,1L);
- timer=time((time_t *) NULL)+(delay == 0 ? 1 : delay)+1;
+ timer=GetMagickTime()+(delay == 0 ? 1 : delay)+1;
}
}
if (XEventsQueued(display,QueuedAfterFlush) == 0)
continue;
}
}
- timestamp=time((time_t *) NULL);
+ timestamp=GetMagickTime();
(void) XNextEvent(display,&event);
if ((windows->image.stasis == MagickFalse) ||
(windows->magnify.stasis == MagickFalse))
{
- if ((time((time_t *) NULL)-timestamp) > 0)
+ if ((GetMagickTime()-timestamp) > 0)
{
windows->image.stasis=MagickTrue;
windows->magnify.stasis=MagickTrue;
}
delay=display_image->delay/MagickMax(display_image->ticks_per_second,
1L);
- timer=time((time_t *) NULL)+(delay == 0 ? 1 : delay)+1;
+ timer=GetMagickTime()+(delay == 0 ? 1 : delay)+1;
break;
}
case ButtonRelease:
XRefreshWindow(display,&windows->image,&event);
delay=display_image->delay/MagickMax(
display_image->ticks_per_second,1L);
- timer=time((time_t *) NULL)+(delay == 0 ? 1 : delay)+1;
+ timer=GetMagickTime()+(delay == 0 ? 1 : delay)+1;
break;
}
if ((event.xexpose.window == windows->magnify.id) &&
}
delay=display_image->delay/MagickMax(
display_image->ticks_per_second,1L);
- timer=time((time_t *) NULL)+(delay == 0 ? 1 : delay)+1;
+ timer=GetMagickTime()+(delay == 0 ? 1 : delay)+1;
break;
}
case KeyRelease:
#include "MagickCore/thread-private.h"
#include "MagickCore/threshold.h"
#include "MagickCore/timer.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/token.h"
#include "MagickCore/token-private.h"
#include "MagickCore/utility.h"
image->channel_mask=DefaultChannels;
image->channel_map=AcquirePixelChannelMap();
image->blob=CloneBlobInfo((BlobInfo *) NULL);
- image->timestamp=time((time_t *) NULL);
+ image->timestamp=GetMagickTime();
image->debug=IsEventLogging();
image->reference_count=1;
image->semaphore=AcquireSemaphoreInfo();
#include "MagickCore/timer.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
-#include "MagickCore/token.h"
#include "MagickCore/thread_.h"
#include "MagickCore/thread-private.h"
+#include "MagickCore/timer-private.h"
+#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "MagickCore/version.h"
exception=AcquireExceptionInfo();
log_info=(LogInfo *) GetLogInfo("*",exception);
exception=DestroyExceptionInfo(exception);
- seconds=time((time_t *) NULL);
+ seconds=GetMagickTime();
elapsed_time=GetElapsedTime(&log_info->timer);
user_time=GetUserTime(&log_info->timer);
text=AcquireString(event);
See the License for the specific language governing permissions and
limitations under the License.
- MagickCore private image color methods.
+ MagickCore private policy methods.
*/
#ifndef MAGICKCORE_POLICY_PRIVATE_H
#define MAGICKCORE_POLICY_PRIVATE_H
#include "MagickCore/signature.h"
#include "MagickCore/signature-private.h"
#include "MagickCore/string_.h"
+#include "MagickCore/timer-private.h"
/*
Define declarations.
*/
lsb_first=1;
signature_info->lsb_first=(int) (*(char *) &lsb_first) == 1 ? MagickTrue :
MagickFalse;
- signature_info->timestamp=(ssize_t) time((time_t *) NULL);
+ signature_info->timestamp=(ssize_t) GetMagickTime();
signature_info->signature=MagickCoreSignature;
InitializeSignature(signature_info);
return(signature_info);
% %
% %
% %
-% F o r m a t M a g i c k T i m e %
-% %
-% %
-% %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% FormatMagickTime() returns the specified time in the Internet date/time
-% format and the length of the timestamp.
-%
-% The format of the FormatMagickTime method is:
-%
-% ssize_t FormatMagickTime(const time_t time,const size_t length,
-% char *timestamp)
-%
-% A description of each parameter follows.
-%
-% o time: the time since the Epoch (00:00:00 UTC, January 1, 1970),
-% measured in seconds.
-%
-% o length: the maximum length of the string.
-%
-% o timestamp: Return the Internet date/time here.
-%
-*/
-MagickExport ssize_t FormatMagickTime(const time_t time,const size_t length,
- char *timestamp)
-{
- ssize_t
- count;
-
- struct tm
- gm_time,
- local_time;
-
- time_t
- timezone;
-
- assert(timestamp != (char *) NULL);
- (void) memset(&local_time,0,sizeof(local_time));
- (void) memset(&gm_time,0,sizeof(gm_time));
-#if defined(MAGICKCORE_HAVE_LOCALTIME_R)
- (void) localtime_r(&time,&local_time);
-#else
- {
- struct tm
- *my_time;
-
- my_time=localtime(&time);
- if (my_time != (struct tm *) NULL)
- (void) memcpy(&local_time,my_time,sizeof(local_time));
- }
-#endif
-#if defined(MAGICKCORE_HAVE_GMTIME_R)
- (void) gmtime_r(&time,&gm_time);
-#else
- {
- struct tm
- *my_time;
-
- my_time=gmtime(&time);
- if (my_time != (struct tm *) NULL)
- (void) memcpy(&gm_time,my_time,sizeof(gm_time));
- }
-#endif
- timezone=(time_t) ((local_time.tm_min-gm_time.tm_min)/60+
- local_time.tm_hour-gm_time.tm_hour+24*((local_time.tm_year-
- gm_time.tm_year) != 0 ? (local_time.tm_year-gm_time.tm_year) :
- (local_time.tm_yday-gm_time.tm_yday)));
- count=FormatLocaleString(timestamp,length,
- "%04d-%02d-%02dT%02d:%02d:%02d%+03ld:00",local_time.tm_year+1900,
- local_time.tm_mon+1,local_time.tm_mday,local_time.tm_hour,
- local_time.tm_min,local_time.tm_sec,(long) timezone);
- return(count);
-}
-\f
-/*
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% %
-% %
-% %
% G e t E n v i r o n m e n t V a l u e %
% %
% %
extern MagickExport ssize_t
FormatMagickSize(const MagickSizeType,const MagickBooleanType,const char *,
- const size_t,char *),
- FormatMagickTime(const time_t,const size_t,char *);
+ const size_t,char *);
extern MagickExport StringInfo
*AcquireStringInfo(const size_t),
#include "MagickCore/studio.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
+#include "MagickCore/locale_.h"
#include "MagickCore/log.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/nt-base-private.h"
#include "MagickCore/timer.h"
+#include "MagickCore/timer-private.h"
\f
/*
Define declarations.
% %
% %
% %
+% F o r m a t M a g i c k T i m e %
+% %
+% %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% FormatMagickTime() returns the specified time in the Internet date/time
+% format and the length of the timestamp.
+%
+% The format of the FormatMagickTime method is:
+%
+% ssize_t FormatMagickTime(const time_t time,const size_t length,
+% char *timestamp)
+%
+% A description of each parameter follows.
+%
+% o time: the time since the Epoch (00:00:00 UTC, January 1, 1970),
+% measured in seconds.
+%
+% o length: the maximum length of the string.
+%
+% o timestamp: Return the Internet date/time here.
+%
+*/
+MagickExport ssize_t FormatMagickTime(const time_t time,const size_t length,
+ char *timestamp)
+{
+ ssize_t
+ count;
+
+ struct tm
+ gm_time,
+ local_time;
+
+ time_t
+ timezone;
+
+ assert(timestamp != (char *) NULL);
+ (void) memset(&local_time,0,sizeof(local_time));
+ (void) memset(&gm_time,0,sizeof(gm_time));
+#if defined(MAGICKCORE_HAVE_LOCALTIME_R)
+ (void) localtime_r(&time,&local_time);
+#else
+ {
+ struct tm
+ *my_time;
+
+ my_time=localtime(&time);
+ if (my_time != (struct tm *) NULL)
+ (void) memcpy(&local_time,my_time,sizeof(local_time));
+ }
+#endif
+#if defined(MAGICKCORE_HAVE_GMTIME_R)
+ (void) gmtime_r(&time,&gm_time);
+#else
+ {
+ struct tm
+ *my_time;
+
+ my_time=gmtime(&time);
+ if (my_time != (struct tm *) NULL)
+ (void) memcpy(&gm_time,my_time,sizeof(gm_time));
+ }
+#endif
+ timezone=(time_t) ((local_time.tm_min-gm_time.tm_min)/60+
+ local_time.tm_hour-gm_time.tm_hour+24*((local_time.tm_year-
+ gm_time.tm_year) != 0 ? (local_time.tm_year-gm_time.tm_year) :
+ (local_time.tm_yday-gm_time.tm_yday)));
+ count=FormatLocaleString(timestamp,length,
+ "%04d-%02d-%02dT%02d:%02d:%02d%+03ld:00",local_time.tm_year+1900,
+ local_time.tm_mon+1,local_time.tm_mday,local_time.tm_hour,
+ local_time.tm_min,local_time.tm_sec,(long) timezone);
+ return(count);
+}
+\f
+/*
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% %
+% %
% G e t E l a p s e d T i m e %
% %
% %
% %
% %
% %
+% G e t M a g i c k T i m e %
+% %
+% %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% GetMagickTime() returns the time as the number of seconds since the Epoch.
+%
+% The format of the GetElapsedTime method is:
+%
+% time_t GetElapsedTime(void)
+%
+*/
+MagickPrivate time_t GetMagickTime(void)
+{
+ return(time((time_t *) NULL));
+}
+\f
+/*
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% %
+% %
+ G e t T i m e r I n f o %
% %
% %
extern MagickExport MagickBooleanType
ContinueTimer(TimerInfo *);
+extern MagickExport ssize_t
+ FormatMagickTime(const time_t,const size_t,char *);
+
extern MagickExport TimerInfo
*AcquireTimerInfo(void),
*DestroyTimerInfo(TimerInfo *);
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
#include "MagickCore/string_.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/token.h"
#include "MagickCore/token-private.h"
#include "MagickCore/utility.h"
/*
Respond to X events.
*/
- timer=time((time_t *) NULL)+Timeout;
+ timer=GetMagickTime()+Timeout;
state=UpdateConfigurationState;
do
{
- if (time((time_t *) NULL) > timer)
+ if (GetMagickTime() > timer)
break;
if (state & UpdateConfigurationState)
{
#include "MagickWand/MagickWand.h"
#include "MagickWand/magick-wand-private.h"
#include "MagickWand/mogrify-private.h"
+#include "MagickCore/blob-private.h"
#include "MagickCore/composite-private.h"
#include "MagickCore/image-private.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/utility-private.h"
-#include "MagickCore/blob-private.h"
#if defined(MAGICKCORE_HAVE_UTIME_H)
#include <utime.h>
#endif
if (*option == '+')
{
- seed=(unsigned long) time((time_t *) NULL);
+ seed=(unsigned long) GetMagickTime();
SetRandomSecretKey(seed);
break;
}
#include "MagickCore/pixel-private.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
+#include "MagickCore/timer-private.h"
\f
/*
Constant declaration.
CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
SetRandomSecretKey(
IfSetOption ? (unsigned long) StringToUnsignedLong(arg1)
- : (unsigned long) time((time_t *) NULL) );
+ : (unsigned long) GetMagickTime() );
break;
}
if (LocaleCompare("size",option+1) == 0)
MagickCore/option-private.h MagickCore/paint.c \
MagickCore/paint.h MagickCore/pixel.c MagickCore/pixel.h \
MagickCore/pixel-accessor.h MagickCore/pixel-private.h \
- MagickCore/policy.c MagickCore/policy.h MagickCore/prepress.c \
+ MagickCore/policy.c MagickCore/policy.h \
+ MagickCore/policy-private.h MagickCore/prepress.c \
MagickCore/prepress.h MagickCore/property.c \
MagickCore/property.h MagickCore/profile.c \
MagickCore/profile.h MagickCore/profile-private.h \
MagickCore/string_.h MagickCore/string-private.h \
MagickCore/studio.h MagickCore/thread.c MagickCore/thread_.h \
MagickCore/thread-private.h MagickCore/timer.c \
- MagickCore/timer.h MagickCore/token.c MagickCore/token.h \
+ MagickCore/timer.h MagickCore/timer-private.h \
+ MagickCore/token.c MagickCore/token.h \
MagickCore/token-private.h MagickCore/transform.c \
MagickCore/transform.h MagickCore/threshold.c \
MagickCore/threshold.h MagickCore/type.c MagickCore/type.h \
MagickCore/pixel-private.h \
MagickCore/policy.c \
MagickCore/policy.h \
+ MagickCore/policy-private.h \
MagickCore/prepress.c \
MagickCore/prepress.h \
MagickCore/property.c \
MagickCore/thread-private.h \
MagickCore/timer.c \
MagickCore/timer.h \
+ MagickCore/timer-private.h \
MagickCore/token.c \
MagickCore/token.h \
MagickCore/token-private.h \
MagickCore/string-private.h \
MagickCore/thread_.h \
MagickCore/thread-private.h \
+ MagickCore/timer-private.h \
MagickCore/token-private.h \
MagickCore/transform-private.h \
MagickCore/type-private.h \
#include "MagickCore/list.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
+#include "MagickCore/module.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
-#include "MagickCore/module.h"
+#include "MagickCore/timer-private.h"
\f
/*
Typedef declaration.
sizeof(cin.file.filename));
offset+=WriteBlob(image,sizeof(cin.file.filename),(unsigned char *)
cin.file.filename);
- seconds=time((time_t *) NULL);
+ seconds=GetMagickTime();
#if defined(MAGICKCORE_HAVE_LOCALTIME_R)
(void) localtime_r(&seconds,&local_time);
#else
sizeof(cin.origination.filename));
offset+=WriteBlob(image,sizeof(cin.origination.filename),(unsigned char *)
cin.origination.filename);
- seconds=time((time_t *) NULL);
+ seconds=GetMagickTime();
(void) memset(timestamp,0,sizeof(timestamp));
(void) strftime(timestamp,MagickPathExtent,"%Y:%m:%d:%H:%M:%S%Z",&local_time);
(void) memset(cin.origination.create_date,0,
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
+#include "MagickCore/timer-private.h"
\f
/*
Define declaration.
(void) strncpy(dpx.file.filename,value,sizeof(dpx.file.filename)-1);
offset+=WriteBlob(image,sizeof(dpx.file.filename),(unsigned char *)
dpx.file.filename);
- seconds=time((time_t *) NULL);
+ seconds=GetMagickTime();
(void) FormatMagickTime(seconds,sizeof(dpx.file.timestamp),
dpx.file.timestamp);
offset+=WriteBlob(image,sizeof(dpx.file.timestamp),(unsigned char *)
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
#include "MagickCore/module.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/transform.h"
#include "MagickCore/utility-private.h"
#if defined(MAGICKCORE_ZLIB_DELEGATE)
return(MagickFalse);
image->depth=8;
- current_time=time((time_t *) NULL);
+ current_time=GetMagickTime();
#if defined(MAGICKCORE_HAVE_LOCALTIME_R)
(void) localtime_r(¤t_time,&local_time);
#else
#include "MagickCore/list.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
+#include "MagickCore/module.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
-#include "MagickCore/module.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/utility.h"
\f
/*
(void) CopyMagickString(pdb_info.name,filename,sizeof(pdb_info.name));
pdb_info.attributes=0;
pdb_info.version=0;
- pdb_info.create_time=time((time_t *) NULL);
+ pdb_info.create_time=GetMagickTime();
pdb_info.modify_time=pdb_info.create_time;
pdb_info.archive_time=0;
pdb_info.modify_number=0;
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
#include "MagickCore/module.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/token.h"
#include "MagickCore/transform.h"
#include "MagickCore/utility.h"
value=GetImageProperty(image,"date:create",exception);
if (value != (const char *) NULL)
(void) CopyMagickString(create_date,value,MagickPathExtent);
- (void) FormatMagickTime(time((time_t *) NULL),MagickPathExtent,timestamp);
+ (void) FormatMagickTime(GetMagickTime(),MagickPathExtent,timestamp);
url=(char *) MagickAuthoritativeURL;
escape=EscapeParenthesis(basename);
i=FormatLocaleString(xmp_profile,MagickPathExtent,XMPProfile,
}
}
(void) WriteBlobString(image,buffer);
- seconds=time((time_t *) NULL);
+ seconds=GetMagickTime();
#if defined(MAGICKCORE_HAVE_LOCALTIME_R)
(void) localtime_r(&seconds,&local_time);
#else
#include "MagickCore/list.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
+#include "MagickCore/module.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/nt-base-private.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
-#include "MagickCore/module.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/token.h"
#include "MagickCore/transform.h"
#include "MagickCore/utility.h"
(void) FormatLocaleString(buffer,MagickPathExtent,"%%%%Title: (%s)\n",
image->filename);
(void) WriteBlobString(image,buffer);
- timer=time((time_t *) NULL);
+ timer=GetMagickTime();
(void) FormatMagickTime(timer,MagickPathExtent,date);
(void) FormatLocaleString(buffer,MagickPathExtent,
"%%%%CreationDate: (%s)\n",date);
#include "MagickCore/list.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
+#include "MagickCore/module.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/resource_.h"
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
-#include "MagickCore/module.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/utility.h"
\f
/*
(void) FormatLocaleString(buffer,MagickPathExtent,"%%%%Title: (%s)\n",
image->filename);
(void) WriteBlobString(image,buffer);
- timer=time((time_t *) NULL);
+ timer=GetMagickTime();
(void) FormatMagickTime(timer,MagickPathExtent,date);
(void) FormatLocaleString(buffer,MagickPathExtent,
"%%%%CreationDate: (%s)\n",date);
#include "MagickCore/list.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
+#include "MagickCore/module.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/static.h"
#include "MagickCore/string_.h"
#include "MagickCore/module.h"
+#include "MagickCore/timer-private.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
-#include "MagickCore/module.h"
\f
/*
Define declarations.
(void) FormatLocaleString(buffer,MagickPathExtent,"%%%%Title: %s\n",
image->filename);
(void) WriteBlobString(image,buffer);
- timer=time((time_t *) NULL);
+ timer=GetMagickTime();
(void) FormatMagickTime(timer,MagickPathExtent,date);
(void) FormatLocaleString(buffer,MagickPathExtent,
"%%%%CreationDate: %s\n",date);
MAGICK_VERSION=7.0.8-41
-MAGICK_GIT_REVISION=15514:5e0211cfa:20190413
+MAGICK_GIT_REVISION=15524:68c4a9ce9:20190415
# Substitute library versioning