From: Sandro Santilli Date: Thu, 13 Oct 2005 13:40:15 +0000 (+0000) Subject: Fixed return code from shp2pgsql X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a5f1b777ef42153d2e3b63ed9a95e834d37b10f;p=postgis Fixed return code from shp2pgsql git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@1962 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/CHANGES b/CHANGES index bf61f97fc..707581009 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,7 @@ PostGIS 1.0.5CVS - New "Reporting Bugs" chapter in manual - Segfault fix in shp2pgsql (utf8 encoding) - Fixed computation of null values fraction in analyzer + - Fixed return code of shp2pgsql PostGIS 1.0.4 2005/09/09 diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index 0a00af376..c069d103c 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -410,7 +410,7 @@ main (int ARGC, char **ARGV) printf("END;\n"); // End the last transaction - return(1); + return 0; }//end main() void @@ -1660,6 +1660,9 @@ utf8 (const char *fromcode, char *inputbuf) /********************************************************************** * $Log$ + * Revision 1.88.2.9 2005/10/13 13:40:15 strk + * Fixed return code from shp2pgsql + * * Revision 1.88.2.8 2005/09/30 08:59:21 strk * Fixed release of stack memory occurring when shp2pgsql is compiled with USE_ICONV defined, an attribute value needs to be escaped and no -W is used *