On Fri, Feb 17, 2006 at 05:17:01PM -0800, Steve Langasek wrote:
>
> Also, previous versions of the package were apparently native packages by
> mistake. I've corrected this with this upload -- I figure it's safe to
> assume that since you're using dpatch, everything not under debian/ is
> pristine upstream code...
>
Well historically I changed the (dead) upstream version, adding an 'a' because
a few people are using my debian fork with other distros, and that helps
in google search and identification. I moved to dpatch later to better document
changes.
Unfortunately one more patch is missing in the dpatch list, in respect
with pristine 1.14. I see you uploaded 1.14a.orig, but I suspect it's different
from plain 1.14 (?). If so it should be ok.
I would re-sync with a new upload, and epoch anyway for cleaning.
diff -u dbf2mysql-1.14.orig/dbf2mysql.c dbf2mysql-1.14a/dbf2mysql.c
--- dbf2mysql-1.14.orig/dbf2mysql.c 2000-07-07 10:55:02.000000000 +0200
+++ dbf2mysql-1.14a/dbf2mysql.c 2006-02-18 09:24:01.000000000 +0100
@@ -11,6 +11,8 @@
( only those lines immediately affect by if(express) (and getopt) )
*/
#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
@@ -396,7 +398,8 @@
else /* if specified -q create file for 'LOAD DATA' */
{
datafile = tempnam ("/tmp", "d2my");
- tempfile = fopen (datafile, "wt");
+ tempfile = fdopen (open (datafile, O_WRONLY | O_CREAT | O_EXCL,
+ 0600), "wt");
if (tempfile == NULL || datafile == NULL)
{
fprintf (stderr, "Cannot open file '%s' for writing\n",
datafile);
--
Francesco P. Lovergine
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]