fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 src/fccache.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 97fa77d27facc6a31486fdca5b3b853c591f792c
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Wed Apr 3 11:49:42 2019 +0000

    Reset errno to do error handling properly
    
    This fixes the weird behavior when running with SOURCE_DATE_EPOCH=0:
    
    Fontconfig: SOURCE_DATE_EPOCH: strtoull: No such file or directory: 0

diff --git a/src/fccache.c b/src/fccache.c
index 03b4f38..fa3451e 100644
--- a/src/fccache.c
+++ b/src/fccache.c
@@ -1109,6 +1109,7 @@ FcDirChecksum (struct stat *statb)
     source_date_epoch = getenv("SOURCE_DATE_EPOCH");
     if (source_date_epoch)
     {
+	errno = 0;
 	epoch = strtoull(source_date_epoch, &endptr, 10);
 
 	if (endptr == source_date_epoch)
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux