Subject: Re: CVS commit: pkgsrc/databases/libgda
To: None <pkgsrc-changes@NetBSD.org, obache@NetBSD.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-changes
Date: 12/06/2006 12:21:07
> X-Virus-Scanned: amavisd-new at enst.fr
> X-Original-To: pkgsrc-changes@NetBSD.org
> Delivered-To: pkgsrc-changes@NetBSD.org
> From: OBATA Akio <obache@NetBSD.org>
> Subject: CVS commit: pkgsrc/databases/libgda
> To: pkgsrc-changes@NetBSD.org
>
>
> Module Name: pkgsrc
> Committed By: obache
> Date: Wed Dec 6 08:52:31 UTC 2006
>
> Modified Files:
> pkgsrc/databases/libgda: distinfo
> Added Files:
> pkgsrc/databases/libgda/patches: patch-aj
>
> Log Message:
> Portability fix suggested in PR 34833.
>
> Instead of sys_errlist[], use strerror(3), ANSI C89 function.
> At least, Solaris in LP64 don't have sys_errlist.
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.22 -r1.23 pkgsrc/databases/libgda/distinfo
> cvs rdiff -r0 -r1.1 pkgsrc/databases/libgda/patches/patch-aj
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
Good and thanks , but sorry, missing one:
--- providers/sqlite/gda-sqlite-provider.c.orig Wed Aug 30 15:22:52 2006
+++ providers/sqlite/gda-sqlite-provider.c Mon Oct 16 12:27:38 2006
@@ -745,7 +745,7 @@
if (g_unlink (filename)) {
g_set_error (error, 0, 0,
- sys_errlist [errno]);
+ strerror (errno));
retval = FALSE;
}
g_free (filename);