Ticket Hash: | a36cfe2e66677103f63a489c937ab874ed972a70 | |||
Title: | Patch to fix spelling errors | |||
Status: | Fixed | Type: | Code_Defect | |
Severity: | Minor | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2020-08-23 18:32:31 | |||
Version Found In: | 5.0.0-rc1 | |||
User Comments: | ||||
anonymous added on 2020-08-03 14:39:01:
The lintian QA tool reported a couple of spelling errors for the Debian package build: * defaul -> default * commited -> committed * compleated -> completed * durring -> during * retured -> returned The following patch fixes the issues: --- a/spatialite_osm_net.c +++ b/spatialite_osm_net.c @@ -2218,7 +2218,7 @@ print_template (const char *template_pat fprintf (out, "#\n"); fprintf (out, "# - tokens are delimited by colons ':'\n"); fprintf (out, "# - the second token represents the Road Class-name\n"); - fprintf (out, "# [no name, i.e. '::' identifies the defaul value\n"); + fprintf (out, "# [no name, i.e. '::' identifies the default value\n"); fprintf (out, "# to be applied when no specific class match is found]\n"); fprintf (out, "# - the third token represents the corresponding speed\n"); fprintf (out, "# [expressed in Km/h]\n"); --- a/spatialite_dem.c +++ b/spatialite_dem.c @@ -1612,7 +1612,7 @@ retrieve_geometries(sqlite3 *db_handle, remainder_calc=procent_diff*100; if (transaction_count_loops == 0) {// Show only once - fprintf(stderr,"-I-> converted geometries commited to Database: \n"); + fprintf(stderr,"-I-> converted geometries committed to Database: \n"); } transaction_count_loops++; if (dem_config->has_m) @@ -2205,7 +2205,7 @@ import_xyz(sqlite3 *db_handle, struct co ret=1; if (verbose) { - fprintf(stderr,"\r file%d: inserting compleated [%u]\n",i_file_count, dem_config->dem_rows_count); + fprintf(stderr,"\r file%d: inserting completed [%u]\n",i_file_count, dem_config->dem_rows_count); } } } @@ -2519,7 +2519,7 @@ do_help() fprintf(stderr, "-I-> the Z value will be copied from the nearest point found\n"); fprintf(stderr, "-I-> the Srid of the source Geometry and the Dem-POINT can be different\n"); fprintf(stderr, "-I-> when -fetchz_xy is used in a bash script, -v should not be used\n"); - fprintf(stderr, "\t the z-value will then be retured as the result\n"); + fprintf(stderr, "\t the z-value will then be returned as the result\n"); fprintf(stderr, "\n -- -- -------------------- Conf file: ------------------- --\n"); fprintf(stderr, "-I-> if 'SPATIALITE_DEM' is set with the path to a file\n"); fprintf(stderr, "-I--> 'export SPATIALITE_DEM=/long/path/to/file/berlin_dhh92.conf'\n"); @@ -2894,7 +2894,7 @@ command_updatez_db(sqlite3 *db_handle, s if (verbose) { fprintf(stderr, "DB '%s'\n", source_config->dem_path); - fprintf(stderr, "TABLE[%s] or GEOMETRY-Column[%s] error durring UPDATE\n",source_config->dem_table, source_config->dem_geometry); + fprintf(stderr, "TABLE[%s] or GEOMETRY-Column[%s] error during UPDATE\n",source_config->dem_table, source_config->dem_geometry); fprintf(stderr, "*** ERROR: conversion failed\n\n"); } } anonymous added on 2020-08-23 18:32:09: The patch has been applied in 5.0.0. |