tags 318508 + patch
quit

Daniel Schepler <[EMAIL PROTECTED]> writes:

>From my build log (reproduced using pbuilder in an i386 chroot):

Also reproduced on AMD Duron running Debian i386.

> Unfortunately, since this is in build-tree/db2 instead of
> build-tree/db-2.7.7, I can't figure out how to get dbs to patch this
> file.  Anyway, the patch to that file is attached.

I think the least disruptive way is to put ".." in the file name;
patch 2.5.9-2 allows that.  Also, I'd prefer keeping the comment
above the break, thus part of the case.  With the following patch
placed in debian/patches/, db2 2.7.7.0-9 now builds OK.

diff -urp db2/os/os_oflags.c db2.new/os/os_oflags.c
--- dummy/../db2/os/os_oflags.c	1999-06-07 18:09:37.000000000 +0000
+++ dummy/../db2/os/os_oflags.c	2005-07-15 22:01:53.000000000 +0000
@@ -45,6 +45,7 @@ __db_oflags(oflags)
 		break;
 	default:		/* Bogus flags value from user.  */
 	  /* XXX no way to return error from here */
+		break;
 	}
 	if (oflags & O_CREAT)
 		dbflags |= DB_CREATE;

Attachment: pgpkXC6XUtfec.pgp
Description: PGP signature

Reply via email to