5a043de927
- Changes for xlog version 2.0.12 - 2014-apr-01 * Updated cty.dat to 20140331 (cty-2404) - Changes for xlog version 2.0.11 - 2013-nov-16 * Updated cty.dat to 20131009 * Fixed "Write and Click All" * Increased log name limit to 30 characters * Fixed truncated "QSO <number>" label in main window * Fixed dxcc 3 character callsigns - Changes for xlog version 2.0.10 - 2013-July-22 * Fix compilation warning in labels.c regarding strptime * Convert all compilation warnings into errors * Get rid of the "unused-but-set-variable" warnings - Changes for xlog version 2.0.9 - 2013-July-20 * Fix month to number conversion for non-English languages in Cabrillo export (thank you Alex EW1LN for reporting the problem and testing the fix) * Modify date in TSV file to be ISO 8601 format to aid in spreadsheet import * Updated cty.dat to 20130625 - Changes for xlog version 2.0.8 - 2013-May-23 * Fix Debian lint issue (config.sub config.guess) * Merge Debian bug #617374 fix into dxcc.c to avoid segfault * Fix cabrillo import - incorporate patch from Thomas (DL1JBE) Beierlein * Updated cty.dat to 20130510 - Changes for xlog version 2.0.7 - 2013-March-31 * Fixed remarks box for Unity et al (bug #38637) * Updated cty.dat to 20130312 (CTY-2303) - Changes for xlog version 2.0.6 - 2013-March-01 * First version with new maintainer: Andy Stewart, KB1OIQ * Updated to Cabrillo v3 format - export and import (bug #37740) * Added preference setting for "Are You Sure" dialog on exit (bug #37761) * Updated cty.dat to 20130222 (CTY-2302) (bug #37748) * Updated to Amateur Data Interchange Format (ADIF) 2.2.7 format (bug #37741) ** Added a large number(!) of modes ** Added the 560m band * Fixed cosmetic issues with the scoring window (bug #37743) * Fixed Ubuntu bug #608718: Keyer window displayed, hitting return in RX(RST) with no call logged bogus QSO. * Fixed Task #10916 - user preference to save Cabrillo freq or band * New manual from Chris Story (K6RWJ) * Entering "callsigns" like "3D2/R" will show proper DXCC entity in scoring window locator box for all except WAE countries.
27 lines
816 B
Text
27 lines
816 B
Text
$NetBSD: patch-src_strptime_c,v 1.1 2014/12/15 08:36:40 mef Exp $
|
|
|
|
error: array subscript has type 'char' [-Werror=char-subscripts]
|
|
|
|
--- src/strptime.c~ 2012-11-04 00:46:05.000000000 +0900
|
|
+++ src/strptime.c 2014-11-18 09:02:47.000000000 +0900
|
|
@@ -287,9 +287,9 @@ strptime_internal (rp, fmt, tm, decided,
|
|
{
|
|
/* A white space in the format string matches 0 more or white
|
|
space in the input string. */
|
|
- if (isspace (*fmt))
|
|
+ if (isspace ((unsigned char) *fmt))
|
|
{
|
|
- while (isspace (*rp))
|
|
+ while (isspace ((unsigned char) *rp))
|
|
++rp;
|
|
++fmt;
|
|
continue;
|
|
@@ -510,7 +510,7 @@ strptime_internal (rp, fmt, tm, decided,
|
|
case 'n':
|
|
case 't':
|
|
/* Match any white space. */
|
|
- while (isspace (*rp))
|
|
+ while (isspace ((unsigned char) *rp))
|
|
++rp;
|
|
break;
|
|
case 'p':
|