--- - branch: netbsd-10 date: Tue Apr 16 18:33:47 UTC 2024 files: - new: 1.63.6.2 old: 1.63.6.1 path: src/lib/libc/time/strptime.c pathrev: src/lib/libc/time/strptime.c@1.63.6.2 type: modified id: 20240416T183347Z.7f4642bc58025ae4b0d44f77f3a16aa0ab3311cc log: "Pull up following revision(s) (requested by riastradh in ticket #648):\n\n\tlib/libc/time/strptime.c: revision 1.66\n\nstrptime(3): Declare digit d as time_t.\n\nThis doesn't make a semantic difference -- d can only take on the ten\nvalues {0,1,2,3,4,5,6,7,8,9}, and the arithmetic with it later all\ncomes out the same whether the type is unsigned or time_t, even if\ntime_t were int32_t instead of int64_t.\n\nBut it pacifies overzealous compilers used by downstream users of\nthis code. And while it's silly to use a much wider type (64-bit\nsigned) than is needed here to store a single digit, it doesn't\nreally hurt either (32-bit unsigned is much larger than needed too).\n\nPR lib/58041\n" module: src subject: 'CVS commit: [netbsd-10] src/lib/libc/time' unixtime: '1713292427' user: martin