diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-05-04 07:12:47 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-05-04 07:12:47 +0000 |
commit | bfc9013d7d9d3866230c51bde95de507792fc59d (patch) | |
tree | bf88eb43ad613287418d71737a90173eb873fce6 /Build | |
parent | 1055efa7474b51f3cd9e0149f1efc44678bcd9b9 (diff) |
dvipdfm-x: improve support of SOURCE_DATE_EPOCH
git-svn-id: svn://tug.org/texlive/trunk@40883 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdffont.c | 7 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfobj.h | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdffont.c b/Build/source/texk/dvipdfm-x/pdffont.c index 3ac790c8fe0..7c8caca3886 100644 --- a/Build/source/texk/dvipdfm-x/pdffont.c +++ b/Build/source/texk/dvipdfm-x/pdffont.c @@ -90,10 +90,9 @@ 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 (= 0xfffffffffULL). - * Here we follow the limit in Microsoft Visual Studio 2010, that is, - * the value should be less than 32535291600, so we define 0xfffffffffULL - * as INVALID_EPOCH_VALUE. + * 'current time', otherwise returns INVALID_EPOCH_VALUE (= 0x7fffffffffffffffULL). + * In the case of Microsoft Visual Studio 2010, the value should be less + * than 32535291600. */ time_t diff --git a/Build/source/texk/dvipdfm-x/pdfobj.h b/Build/source/texk/dvipdfm-x/pdfobj.h index 7485c68d17a..83f45a6aa71 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 0xfffffffffULL +#define INVALID_EPOCH_VALUE 0x7fffffffffffffffULL #endif /* _PDFOBJ_H_ */ |