summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-10-30 22:19:45 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-10-30 22:19:45 +0000
commit4bc405be661ddd5f7078e2133399aeffd075e0e4 (patch)
tree0870b036e8d6ff6899778c9f0a685ad0fe6a8d02
parentdd9adab98211466c5c4d4e0866497e9938516f1a (diff)
dvipdfm-x: use -1 for INVALID_EPOCH_VALUE
git-svn-id: svn://tug.org/texlive/trunk@42391 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfm-x/pdffont.c2
-rw-r--r--Build/source/texk/dvipdfm-x/pdfobj.h2
3 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 050eff7f394..071a569e606 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,7 @@
+2016-10-30 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * pdffont.c, pdfobj.h: Use (time_t)-1 for INVALID_EPOCH_VALUE.
+
2016-10-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* dpxfile.c: Use PATH_MAX instead of _MAX_PATH.
diff --git a/Build/source/texk/dvipdfm-x/pdffont.c b/Build/source/texk/dvipdfm-x/pdffont.c
index b43709677bb..8346f00af8e 100644
--- a/Build/source/texk/dvipdfm-x/pdffont.c
+++ b/Build/source/texk/dvipdfm-x/pdffont.c
@@ -90,7 +90,7 @@ pdf_font_set_dpi (int font_dpi)
/* If an environment variable SOURCE_DATE_EPOCH is correctly defined like
* SOURCE_DATE_EPOCH=1456304492, then returns this value, to be used as the
- * 'current time', otherwise returns INVALID_EPOCH_VALUE (= 0x7fffffffffffffffULL).
+ * 'current time', otherwise returns INVALID_EPOCH_VALUE (= (time_t)-1).
* In the case of Microsoft Visual Studio 2010, the value should be less
* than 32535291600.
*/
diff --git a/Build/source/texk/dvipdfm-x/pdfobj.h b/Build/source/texk/dvipdfm-x/pdfobj.h
index 83f45a6aa71..ab365f3ad64 100644
--- a/Build/source/texk/dvipdfm-x/pdfobj.h
+++ b/Build/source/texk/dvipdfm-x/pdfobj.h
@@ -199,6 +199,6 @@ extern int pdfobj_escape_str (char *buffer, int size, const unsigned char *
extern pdf_obj *pdf_new_indirect (pdf_file *pf, unsigned label, unsigned short generation);
extern time_t get_unique_time_if_given(void);
-#define INVALID_EPOCH_VALUE 0x7fffffffffffffffULL
+#define INVALID_EPOCH_VALUE ((time_t)-1)
#endif /* _PDFOBJ_H_ */