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

Bug#93696: marked as done (include command's search path is broken)

Your message dated Tue, 27 Aug 2002 14:32:10 -0400
with message-id <E17jl8M-0008Gs-00@auric.debian.org>
and subject line Bug#93696: fixed in chpp 0.3.5-3
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 am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 12 Apr 2001 01:21:59 +0000
>From jamie@audible.transient.net Wed Apr 11 20:21:59 2001
Return-path: <jamie@audible.transient.net>
Received: from audible.transient.net [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14nVo7-0003IO-00; Wed, 11 Apr 2001 20:21:59 -0500
Received: (qmail 5727 invoked by uid 1000); 12 Apr 2001 01:21:52 -0000
Date: Wed, 11 Apr 2001 18:21:52 -0700
From: Jamie Heilman <jamie@audible.transient.net>
To: submit@bugs.debian.org
Subject: include command's search path is broken
Message-ID: <20010411182152.A5451@audible.transient.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Delivered-To: submit@bugs.debian.org

Package: chpp
Version: 0.3.4-1

>From the documentation:

 - Command: include FILENAME
     Includes the file FILENAME. If FILENAME is relative, it is first
     searched for in the directory of the including file, then in the
     directories contained in the include search path (*note Invoking
     chpp::.).  If the file is not found, an error message is produced.

>From real life usage:

 Lets say I have a file named example.chpp which contains the command
 #include /etc/gdefs.conf

$ cat example.chpp | strace chpp
open("/usr/lib/chpp/include//etc/gdefs.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open(".//etc/gdefs.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/gdefs.conf", O_RDONLY) = -1 ENOENT (No such file or directory)

Not only is that not the documented search path, the fact that an absolute
path was given is completely ignored.  If the included file has a relative
path the search path doesn't change, it still looks in
/usr/lib/chpp/include first, then in the local directory.

Jamie Heilman                   http://audible.transient.net/~jamie/
"...thats the metaphorical equivalent of flopping your wedding tackle 
 into a lion's mouth and flicking his lovespuds with a wet towel, pure 
 insanity..."						-Rimmer

Received: (at 93696-close) by bugs.debian.org; 27 Aug 2002 18:39:20 +0000
>From katie@auric.debian.org Tue Aug 27 13:39:20 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17jlFI-0006oB-00; Tue, 27 Aug 2002 13:39:20 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 17jl8M-0008Gs-00; Tue, 27 Aug 2002 14:32:10 -0400
From: Matej Vela <vela@debian.org>
To: 93696-close@bugs.debian.org
X-Katie: $Revision: 1.26 $
Subject: Bug#93696: fixed in chpp 0.3.5-3
Message-Id: <E17jl8M-0008Gs-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Tue, 27 Aug 2002 14:32:10 -0400
Delivered-To: 93696-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
chpp, which is due to be installed in the Debian FTP archive:

  to pool/main/c/chpp/chpp_0.3.5-3.diff.gz
  to pool/main/c/chpp/chpp_0.3.5-3.dsc
  to pool/main/c/chpp/chpp_0.3.5-3_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 93696@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Matej Vela <vela@debian.org> (supplier of updated chpp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Tue, 27 Aug 2002 19:11:25 +0200
Source: chpp
Binary: chpp
Architecture: source i386
Version: 0.3.5-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
 chpp       - A powerful and simple preprocessor
Closes: 93696
 chpp (0.3.5-3) unstable; urgency=low
   * QA upload.
   * filler.c (includeFile), main.c (main): Reverse `include' search order,
     making it consistent with the documentation and cpp: if and only if
     the filename is relative, scan the current directory, then the
     directory of the including file, then the search path in left-to-right
     order.  Closes: #93696.
   * configure.in: Use AM_MAINTAINER_MODE to avoid rebuilding configure
     etc. after dpkg-source screws up timestamps (#105750).
   * doc/chpp.info: Specify INFO-DIR-SECTION.
   * Switched to debhelper 4.
   * debian/rules: Remove `debug' support and enable `-g' by default.
     According to #157131, the slow down is insignificant.
   * debian/changelog: Remove obsolete Emacs local variables.
   * Conforms to Standards version 3.5.6.
 d6112dede4e3b341d6b63ae7f0e19a12 626 interpreters optional chpp_0.3.5-3.dsc
 1f5f8c011e2c61e1d658f8aaa27816ca 12825 interpreters optional chpp_0.3.5-3.diff.gz
 91e574098c934cd6c7ed664e936d20eb 155666 interpreters optional chpp_0.3.5-3_i386.deb

Version: GnuPG v1.0.7 (GNU/Linux)


Reply to: