bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH v4] Ensure mktime sets errno on error (bug 23789)


From: Paul Eggert
Subject: Re: [PATCH v4] Ensure mktime sets errno on error (bug 23789)
Date: Sun, 4 Nov 2018 23:54:59 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Paul Eggert wrote:
3. Please construct a third patch containing your mktime test case for glibc, and we then apply that patch to glibc.

I looked at that test case and found some issues with it, e.g., it assumed a particular time_t width in some cases and assumed a particular error number in others. Attached is a revised test case that should fix the issues. For convenience I'm also attaching the same glibc code patch again.

Attachment: 0001-mktime-fix-EOVERFLOW-bug.patch
Description: Text Data

Attachment: 0002-mktime-new-test-for-mktime-failure.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]