On Mon, 2004-03-08 at 10:25, Scott James Remnant wrote:
> I'd also like to include the following minor fixes, patches against CVS
> v1_10 attached:
>
> #139781: dselect text UI doesn't seem to use >179 characters
> #235266: announces build-conflicts as unmet dependencies
>
And because it's such an obvious, trivial fix:
#213038: segfault if destination partition is full
> dpkg (1.10.19) unstable; urgency=high
>
> * Distinguish unmet build dependencies from build conflicts.
> Closes: #217943, #235266.
> * Allow dselect to use the full window width. Closes: #139781.
> * Force NULL-termination of all tar file entry names.
> Closes: #232025.
* Pass correct number of arguments for format string when out of
disk space. Closes: #213038, #217286, #213543, #213846.
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
diff -ruNp cvs-dpkg-1.10~/ChangeLog cvs-dpkg-1.10/ChangeLog
--- cvs-dpkg-1.10~/ChangeLog 2004-03-08 10:19:04.000000000 +0000
+++ cvs-dpkg-1.10/ChangeLog 2004-03-08 16:49:49.000000000 +0000
@@ -0,0 +1,6 @@
+Mon Mar 8 16:49:13 GMT 2004 Scott James Remnant <scott@netsplit.com>
+
+ * lib/mlib.c: Remove extraneous %s in ohshite() call when out of
+ disk space so that condition gets handled correctly and not with
+ a SEGV.
+
diff -ruNp cvs-dpkg-1.10~/lib/mlib.c cvs-dpkg-1.10/lib/mlib.c
--- cvs-dpkg-1.10~/lib/mlib.c 2003-10-25 21:05:12.000000000 +0100
+++ cvs-dpkg-1.10/lib/mlib.c 2004-03-08 16:49:08.000000000 +0000
@@ -196,7 +196,7 @@ off_t buffer_write(buffer_data_t data, v
break;
case BUFFER_WRITE_FD:
if((ret= write(data->data.i, buf, length)) < 0 && errno != EINTR)
- ohshite(_("failed in buffer_write(fd) (%i, ret=%li %s): %s"), data->data.i, (long)ret, desc);
+ ohshite(_("failed in buffer_write(fd) (%i, ret=%li): %s"), data->data.i, (long)ret, desc);
break;
case BUFFER_WRITE_NULL:
break;
Attachment:
signature.asc
Description: This is a digitally signed message part