[Python-apps-team] Bug#758781: preprocess: Incorrect recursive #include detection

Anton Nikolaevsky bezkrovatki at gmail.com
Thu Aug 21 09:45:39 UTC 2014


Package: preprocess
Version: 1.1.0+ds-1
Severity: normal
Tags: patch

1. Have the following files:
common.sh:
first.sh:
    # #include "common.sh"
second.sh:
    # #include "common.sh"
result.sh:
    # #include "first.sh"
    # #include "second.sh"

2. Run the command 'preprocess result.sh'
Expected: no errors, just empty lines in output
Actual: preprocess: error: detected recursive #include of 'common.sh'



-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (990, 'stable'), (700, 'unstable'), (500, 'experimental'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf
armel
i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages preprocess depends on:
ii  python     2.7.3-4+deb7u1
ii  python2.6  2.6.8-1.1
ii  python2.7  2.7.3-6+deb7u2

preprocess recommends no packages.

preprocess suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proposed_fix.patch
Type: text/x-diff
Size: 696 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20140821/2463013f/attachment.patch>


More information about the Python-apps-team mailing list