Package: gpsbabel
Version: 1.2.4-2
Severity: minor
Tags: patch
While looking at the source of gpsbabel (compiling using -W -Wall), I
discovered a small typo in shape.c. It creates variable ihandle using
SHPOpen, but closes it using close(). It is more correct to use the
SHPClose() function for this.
Here is a patch to fix it.
--- gpsbabel-1.2.4.orig/shape.c
+++ gpsbabel-1.2.4/shape.c
@@ -100,7 +100,7 @@
void
my_rd_deinit(void)
{
- close (ihandle);
+ SHPClose (ihandle);
}
void
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]