[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#40373: marked as done (apt: file: uri handling broken)



Your message dated Tue, 29 Jun 1999 22:13:10 -0600 (MDT)
with message-id <Pine.LNX.3.96.990629221224.11028L-100000@Wakko.deltatee.com>
and subject line Fixed..
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 28 Jun 1999 16:35:31 +0000
Received: (qmail 20514 invoked from network); 28 Jun 1999 16:35:30 -0000
Received: from oldtwok.ods.com (HELO fw-ext.ods.com) (192.94.73.2)
  by master.debian.org with SMTP; 28 Jun 1999 16:35:30 -0000
Received: from who.sw.ods.com by fw-ext.ods.com
          via smtpd (for master.debian.org [209.41.108.5]) with SMTP; 28 Jun 1999 16:35:30 UT
Received: from elo.sw.ods.com ([160.86.13.20]) by who.sw.ods.com
          (Netscape Messaging Server 3.01)  with ESMTP id AAA23737
          for <submit@bugs.debian.org>; Mon, 28 Jun 1999 11:35:29 -0500
Received: from localhost (1086 bytes) by elo.sw.ods.com
	via sendmail with P:stdio/R:smart_host/T:smtp
	(sender: <david>) (ident <david> using unix)
	id <[🔎] m10yeNV-0006PZC@elo.sw.ods.com>
	for <submit@bugs.debian.org>; Mon, 28 Jun 1999 11:35:29 -0500 (CDT)
	(Smail-3.2.0.102 1998-Aug-2 #2 built 1998-Oct-13)
Message-Id: <[🔎] m10yeNV-0006PZC@elo.sw.ods.com>
Date: Mon, 28 Jun 1999 11:35:29 -0500 (CDT)
From: David Engel <david@elo.sw.ods.com>
Subject: apt: file: uri handling broken
To: submit@bugs.debian.org
Bcc: 
X-Mailer: bug 3.2.2

Package: apt
Version: 0.3.9
Severity: grave

A change 0.3.9 broke apt's file: URI handling by causing the Host
member in the URI class to be non-empty.  The patch below fixes it for
me.

David

-- System Information
Debian Release: potato
Kernel Version: Linux elo 2.2.10 #1 Mon Jun 14 11:05:28 CDT 1999 i686 unknown

Versions of the packages apt depends on:
ii  libc6           2.1.1-12       GNU C Library: Shared libraries and timezone
ii  libstdc++2.9-gl 2.91.66-2      The GNU stdc++ library (EGCS version)


--- strutl.cc.orig	Mon Jun 28 11:32:27 1999
+++ strutl.cc	Mon Jun 28 10:48:44 1999
@@ -715,7 +715,7 @@
    string::const_iterator At = I;
    
    // Now write the host and user/pass
-   if (At == SingleSlash)
+   if (At >= SingleSlash)
    {
       if (FirstColon < SingleSlash)
 	 Host = string(U,FirstColon - U.begin(),SingleSlash - FirstColon);


Reply to: