Diff of the two buildlogs: -- --- b1/build.log 2021-09-07 00:38:58.198247774 +0000 +++ b2/build.log 2021-09-07 00:48:42.201243078 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Oct 9 18:54:14 -12 2022 -I: pbuilder-time-stamp: 1665384854 +I: Current time: Tue Sep 7 14:39:02 +14 2021 +I: pbuilder-time-stamp: 1630975142 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./coccinelle_1.1.0.deb-1.1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.jwQaCKa5/trustedkeys.kbx': General error -gpgv: Signature made Tue Mar 2 00:02:04 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.dNigq2AV/trustedkeys.kbx': General error +gpgv: Signature made Wed Mar 3 02:02:04 2021 +14 gpgv: using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./coccinelle_1.1.0.deb-1.1.dsc @@ -31,135 +31,169 @@ dpkg-source: info: applying dont-expose-parmap.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28464/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11355/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/11355/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11355/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='28464' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=11355 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Vjqw0pt6gp/pbuilderrc_XhYr --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Vjqw0pt6gp/b1 --logfile b1/build.log coccinelle_1.1.0.deb-1.1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Vjqw0pt6gp/pbuilderrc_VqXV --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Vjqw0pt6gp/b2 --logfile b2/build.log coccinelle_1.1.0.deb-1.1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink15-arm64 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 2021 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 2021 more - -rwsr-xr-x 1 root root 51360 Jul 28 2021 mount - -rwxr-xr-x 1 root root 14496 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 23 03:47 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 2021 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 2021 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/28464/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 09:09 more + -rwsr-xr-x 1 root root 51360 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 14496 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 7 14:39 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 21 23:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 09:09 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/11355/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -357,7 +391,7 @@ Get: 126 http://deb.debian.org/debian bullseye/main arm64 texlive-latex-recommended all 2020.20210202-3 [14.5 MB] Get: 127 http://deb.debian.org/debian bullseye/main arm64 texlive-pictures all 2020.20210202-3 [6743 kB] Get: 128 http://deb.debian.org/debian bullseye/main arm64 texlive-latex-extra all 2020.20210202-3 [13.7 MB] -Fetched 741 MB in 1min 34s (7846 kB/s) +Fetched 741 MB in 53s (14.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19646 files and directories currently installed.) @@ -906,7 +940,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/coccinelle-1.1.0.deb/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../coccinelle_1.1.0.deb-1.1_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/coccinelle-1.1.0.deb/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../coccinelle_1.1.0.deb-1.1_source.changes dpkg-buildpackage: info: source package coccinelle dpkg-buildpackage: info: source version 1.1.0.deb-1.1 dpkg-buildpackage: info: source distribution unstable @@ -930,11 +965,11 @@ CLEAN extra CLEAN spatch CLEAN spgen +CLEAN exposed-module rm -f coccinelle.cma coccinelle.cmxa coccinelle.a \ coccinelle.cmo coccinelle.cmx coccinelle.o \ coccinelle_modules.cmi coccinelle_modules.cmo \ coccinelle_modules.o coccinelle_modules.cmx -CLEAN exposed-module CLEAN .depend CLEAN configure make[1]: Leaving directory '/build/coccinelle-1.1.0.deb' @@ -959,7 +994,7 @@ checking whether make supports nested variables... yes configure: determining version suffix checking for date... /bin/date -configure: version suffix set to Sun, 09 Oct 2022 18:59:05 -1200 +configure: version suffix set to Tue, 07 Sep 2021 14:44:17 +1400 configure: this configure program uses pkg-config m4 macros configure: this configure program uses ocaml m4 macros (see setup/ocaml.m4) configure: this configure program uses custom m4 macros (see setup/cocci.m4) @@ -978,7 +1013,7 @@ checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E -checking for bash... /bin/bash +checking for bash... /bin/sh checking for tar... /bin/tar checking for patch... /usr/bin/patch checking for echo... /bin/echo @@ -3388,6 +3423,7 @@ OCAMLYACC parsing_c/parser_c.mly OCAMLDEP tools/spgen/source/spgen_lexer.mli OCAMLDEP parsing_c/lexer_c.mli +4 shift/reduce conflicts. OCAMLDEP parsing_cocci/lexer_script.mli OCAMLDEP parsing_cocci/lexer_cli.mli OCAMLDEP parsing_cocci/lexer_cocci.mli @@ -3395,7 +3431,6 @@ OCAMLDEP tools/spgen/source/spgen_test.mli OCAMLDEP tools/spgen/source/spgen.mli OCAMLDEP tools/spgen/source/spgen_config.mli -4 shift/reduce conflicts. OCAMLDEP tools/spgen/source/spgen_interactive.mli OCAMLDEP tools/spgen/source/file_transform.mli OCAMLDEP tools/spgen/source/script_rule.mli @@ -3551,28 +3586,28 @@ OCAMLDEP tools/spgen/source/spgen_lexer.ml OCAMLLEX parsing_c/lexer_c.mll OCAMLLEX parsing_cocci/lexer_script.mll -OCAMLLEX parsing_cocci/lexer_cli.mll -OCAMLLEX parsing_cocci/lexer_cocci.mll 25 states, 314 transitions, table size 1406 bytes +OCAMLLEX parsing_cocci/lexer_cli.mll 14 states, 681 transitions, table size 2808 bytes +OCAMLLEX parsing_cocci/lexer_cocci.mll +ocamllex warning: +File "parsing_cocci/lexer_cocci.mll", line 301, character 67: unescaped newline in string. OCAMLDEP tools/spgen/source/main.ml OCAMLDEP tools/spgen/source/spgen_test.ml OCAMLDEP tools/spgen/source/spgen.ml -ocamllex warning: -File "parsing_cocci/lexer_cocci.mll", line 301, character 67: unescaped newline in string. OCAMLDEP tools/spgen/source/spgen_config.ml OCAMLDEP tools/spgen/source/spgen_interactive.ml OCAMLDEP tools/spgen/source/file_transform.ml OCAMLDEP tools/spgen/source/script_rule.ml OCAMLDEP tools/spgen/source/context_rule.ml OCAMLDEP tools/spgen/source/rule_header.ml +413 states, 8047 transitions, table size 34666 bytes +4183 additional bytes used for bindings OCAMLDEP tools/spgen/source/rule_body.ml OCAMLDEP tools/spgen/source/disj_generator.ml OCAMLDEP tools/spgen/source/position_generator.ml OCAMLDEP tools/spgen/source/user_input.ml OCAMLDEP tools/spgen/source/snapshot.ml -413 states, 8047 transitions, table size 34666 bytes -4183 additional bytes used for bindings OCAMLDEP tools/spgen/source/meta_variable.ml OCAMLDEP tools/spgen/source/detect_patch.ml OCAMLDEP tools/spgen/source/ast_tostring.ml @@ -3610,11 +3645,11 @@ OCAMLDEP engine/flag_matcher.ml OCAMLDEP python/pycocci.ml OCAMLDEP python/yes_pycocci.ml +564 states, 26650 transitions, table size 109984 bytes +17879 additional bytes used for bindings OCAMLDEP python/pycocci_aux.ml OCAMLDEP ocaml/run_ocamlcocci.ml OCAMLDEP ocaml/prepare_ocamlcocci.ml -564 states, 26650 transitions, table size 109984 bytes -17879 additional bytes used for bindings OCAMLDEP ocaml/yes_prepare_ocamlcocci.ml OCAMLDEP ocaml/ocamlcocci_aux.ml OCAMLDEP ocaml/coccilib.ml @@ -3691,8 +3726,8 @@ OCAMLDEP parsing_cocci/stmtlist.ml OCAMLDEP parsing_cocci/get_metas.ml OCAMLDEP parsing_cocci/simple_assignments.ml -OCAMLDEP parsing_cocci/single_statement.ml OCAMLDEP parsing_cocci/iso_compile.ml +OCAMLDEP parsing_cocci/single_statement.ml OCAMLDEP parsing_cocci/comm_assoc.ml OCAMLDEP parsing_cocci/iso_pattern.ml OCAMLDEP parsing_cocci/compute_lines.ml @@ -3751,16 +3786,16 @@ OCAMLC tools/spgen/source/spgen_lexer.mli OCAMLC tools/spgen/source/spgen.mli OCAMLC tools/spgen/source/spgen_test.mli -OCAMLC tools/spgen/source/main.mli cp globals/regexp.cmi ocaml/regexp.cmi +OCAMLC tools/spgen/source/main.mli cp globals/config.cmi ocaml/config.cmi cp globals/flag.cmi ocaml/flag.cmi cp parsing_c/flag_parsing_c.cmi ocaml/flag_parsing_c.cmi cp globals/iteration.cmi ocaml/iteration.cmi cp commons/commands.cmi ocaml/commands.cmi cp commons/ocamlextra/dumper.cmi ocaml/dumper.cmi -OCAMLC globals/regexp.ml OCAMLC globals/config.ml +OCAMLC globals/regexp.ml OCAMLC globals/flag.ml OCAMLC commons/commands.ml OCAMLC commons/ocamlextra/dumper.ml @@ -3774,8 +3809,8 @@ OCAMLOPT parsing_cocci/lexer_cli.ml OCAMLOPT parsing_cocci/cocci_args.ml OCAMLOPT parsing_c/token_annot.ml -OCAMLC parsing_c/parsing_stat.mli OCAMLC parsing_c/token_c.mli +OCAMLC parsing_c/parsing_stat.mli OCAMLC parsing_c/semantic_c.mli OCAMLC parsing_c/compare_c.mli OCAMLC parsing_c/test_parsing_c.mli @@ -3788,18 +3823,22 @@ OCAMLC extra/kbuild.mli OCAMLC extra/maintainers.mli OCAMLOPT flag_cocci.ml +OCAMLC tools/spgen/source/globals.mli +OCAMLC tools/spgen/source/ast_tostring.mli OCAMLOPT tools/spgen/source/spgen_lexer.ml cp parsing_c/token_c.cmi ocaml/token_c.cmi cp commons/common.cmi ocaml/common.cmi +cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi +OCAMLC parsing_c/token_c.ml cp globals/regexp.cmo ocaml/regexp.cmo cp globals/config.cmo ocaml/config.cmo -OCAMLC parsing_c/token_c.ml cp globals/flag.cmo ocaml/flag.cmo OCAMLC parsing_c/flag_parsing_c.ml OCAMLC globals/iteration.ml cp commons/commands.cmo ocaml/commands.cmo OCAMLC commons/common.ml cp commons/ocamlextra/dumper.cmo ocaml/dumper.cmo +OCAMLC parsing_cocci/ast_cocci.ml cp globals/config.cmx ocaml/config.cmx cp commons/commands.cmx ocaml/commands.cmx cp commons/ocamlextra/dumper.cmx ocaml/dumper.cmx @@ -3826,14 +3865,13 @@ OCAMLC engine/check_exhaustive_pattern.mli OCAMLC popl09/ast_popl.mli OCAMLC testing.mli -OCAMLC tools/spgen/source/globals.mli -OCAMLC tools/spgen/source/ast_tostring.mli -cp parsing_cocci/ast_cocci.cmi ocaml/ast_cocci.cmi +OCAMLC tools/spgen/source/detect_patch.mli +OCAMLC tools/spgen/source/meta_variable.mli +OCAMLC tools/spgen/source/file_transform.mli cp parsing_cocci/ast0_cocci.cmi ocaml/ast0_cocci.cmi cp parsing_c/token_c.cmo ocaml/token_c.cmo cp parsing_c/flag_parsing_c.cmo ocaml/flag_parsing_c.cmo cp globals/iteration.cmo ocaml/iteration.cmo -OCAMLC parsing_cocci/ast_cocci.ml OCAMLC parsing_cocci/ast0_cocci.ml cp globals/regexp.cmx ocaml/regexp.cmx cp globals/flag.cmx ocaml/flag.cmx @@ -3873,7 +3911,6 @@ OCAMLC parsing_c/unparse_hrule.mli OCAMLC parsing_c/type_c.mli OCAMLC parsing_c/type_annoter_c.mli -OCAMLC parsing_c/comment_annotater_c.mli OCAMLC ctl/wrapper_ctl.mli OCAMLC ocaml/externalanalysis.mli OCAMLC ocaml/ocamlcocci_aux.mli @@ -3888,9 +3925,11 @@ OCAMLC popl09/asttopopl.mli OCAMLC popl09/insert_quantifiers.mli OCAMLC popl09/pretty_print_popl.mli -OCAMLC tools/spgen/source/detect_patch.mli -OCAMLC tools/spgen/source/meta_variable.mli -OCAMLC tools/spgen/source/file_transform.mli +OCAMLC tools/spgen/source/snapshot.mli +OCAMLC tools/spgen/source/user_input.mli +OCAMLC tools/spgen/source/rule_body.mli +OCAMLC tools/spgen/source/rule_header.mli +OCAMLC tools/spgen/source/context_rule.mli cp parsing_c/ast_c.cmi ocaml/ast_c.cmi cp parsing_c/parser_c.cmi ocaml/parser_c.cmi OCAMLC parsing_c/ast_c.ml @@ -3907,6 +3946,7 @@ OCAMLC parsing_c/token_helpers.mli OCAMLC parsing_c/token_views_c.mli OCAMLC parsing_c/parsing_recovery_c.mli +OCAMLC parsing_c/comment_annotater_c.mli OCAMLC engine/pretty_print_engine.mli OCAMLC engine/pattern_c.mli OCAMLC engine/transformation_c.mli @@ -3915,16 +3955,16 @@ OCAMLC engine/ctltotex.mli OCAMLC engine/postprocess_transinfo.mli OCAMLC engine/ctlcocci_integration.mli -OCAMLC tools/spgen/source/snapshot.mli -OCAMLC tools/spgen/source/user_input.mli -OCAMLC tools/spgen/source/rule_body.mli -OCAMLC tools/spgen/source/rule_header.mli -OCAMLC tools/spgen/source/context_rule.mli +OCAMLC tools/spgen/source/position_generator.mli +OCAMLC tools/spgen/source/disj_generator.mli +OCAMLC tools/spgen/source/script_rule.mli +OCAMLC tools/spgen/source/spgen_interactive.mli cp parsing_c/lexer_c.cmi ocaml/lexer_c.cmi +OCAMLC tools/spgen/source/spgen_config.mli cp parsing_c/pretty_print_c.cmi ocaml/pretty_print_c.cmi cp parsing_c/visitor_c.cmi ocaml/visitor_c.cmi +cp parsing_c/ast_c.cmo ocaml/ast_c.cmo OCAMLC parsing_c/lexer_c.ml -cp commons/common.cmo ocaml/common.cmo OCAMLC parsing_c/visitor_c.ml OCAMLC parsing_cocci/iso_compile.mli MENHIR parsing_cocci/parser_cocci_menhir.mly @@ -3932,31 +3972,27 @@ OCAMLC parsing_c/cpp_token_c.mli OCAMLC popl09/popltoctl.mli OCAMLC popl09/popl.mli -OCAMLC tools/spgen/source/position_generator.mli -OCAMLC tools/spgen/source/disj_generator.mli -OCAMLC tools/spgen/source/script_rule.mli +OCAMLC parsing_c/parsing_hacks.mli +OCAMLC parsing_c/cpp_analysis_c.mli +OCAMLC parsing_c/parse_c.mli cp parsing_c/lib_parsing_c.cmi ocaml/lib_parsing_c.cmi -OCAMLC tools/spgen/source/spgen_interactive.mli -cp parsing_c/ast_c.cmo ocaml/ast_c.cmo -OCAMLC tools/spgen/source/spgen_config.mli OCAMLC parsing_c/parser_c.ml OCAMLC parsing_c/pretty_print_c.ml OCAMLC parsing_c/lib_parsing_c.ml -OCAMLC parsing_c/parsing_hacks.mli -OCAMLC parsing_c/cpp_analysis_c.mli -OCAMLC parsing_c/parse_c.mli -cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo -cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo OCAMLC parsing_c/unparse_c.mli OCAMLC parsing_c/cpp_ast_c.mli OCAMLC ocaml/exposed_modules.mli -OCAMLC cocci.mli OCAMLC ocaml/coccilib.mli +OCAMLC cocci.mli cp parsing_c/parse_c.cmi ocaml/parse_c.cmi OCAMLC parsing_c/parse_c.ml +cp parsing_c/lexer_c.cmo ocaml/lexer_c.cmo +cp parsing_c/lib_parsing_c.cmo ocaml/lib_parsing_c.cmo cp parsing_c/visitor_c.cmo ocaml/visitor_c.cmo +cp commons/common.cmo ocaml/common.cmo cp parsing_c/pretty_print_c.cmo ocaml/pretty_print_c.cmo cp parsing_c/parse_c.cmo ocaml/parse_c.cmo +cp parsing_c/parser_c.cmo ocaml/parser_c.cmo OCAMLOPT commons/ograph_simple.ml OCAMLOPT commons/ograph_extended.ml OCAMLOPT globals/iteration.ml @@ -3970,11 +4006,11 @@ OCAMLOPT parsing_c/token_c.ml OCAMLOPT parsing_c/semantic_c.ml OCAMLOPT ctl/pretty_print_ctl.ml +OCAMLC python/yes_pycocci.mli OCAMLOPT extra/classic_patch.ml OCAMLOPT extra/kbuild.ml OCAMLOPT extra/maintainers.ml OCAMLOPT read_options.ml -cp parsing_c/parser_c.cmo ocaml/parser_c.cmo cp parsing_c/token_c.cmx ocaml/token_c.cmx cp parsing_c/flag_parsing_c.cmx ocaml/flag_parsing_c.cmx cp globals/iteration.cmx ocaml/iteration.cmx @@ -3982,16 +4018,15 @@ OCAMLOPT -o commons/commons.cmxa OCAMLOPT -o globals/globals.cmxa OCAMLOPT ctl/ctl_engine.ml -OCAMLC python/yes_pycocci.mli +OCAMLOPT -o extra/extra.cmxa +OCAMLOPT parsing_cocci/ast0_cocci.ml +OCAMLOPT parsing_cocci/pretty_print_cocci.ml +OCAMLOPT parsing_c/ast_c.ml OCAMLOPT popl09/ast_popl.ml OCAMLOPT tools/spgen/source/globals.ml OCAMLOPT tools/spgen/source/ast_tostring.ml cp parsing_cocci/ast_cocci.cmx ocaml/ast_cocci.cmx -OCAMLOPT parsing_cocci/ast0_cocci.ml -OCAMLOPT parsing_cocci/pretty_print_cocci.ml -OCAMLOPT parsing_c/ast_c.ml OCAMLOPT popl09/insert_quantifiers.ml -OCAMLOPT -o extra/extra.cmxa OCAMLOPT parsing_cocci/visitor_ast0_types.ml OCAMLOPT parsing_cocci/visitor_ast.ml OCAMLOPT parsing_cocci/compute_lines.ml @@ -4016,10 +4051,10 @@ OCAMLOPT -o ctl/ctl.cmxa OCAMLOPT engine/lib_engine.ml OCAMLOPT engine/check_reachability.ml -OCAMLOPT engine/ctltotex.ml -cp parsing_c/visitor_c.cmx ocaml/visitor_c.cmx OCAMLOPT parsing_c/lib_parsing_c.ml OCAMLOPT parsing_c/parsing_consistency_c.ml +cp parsing_c/visitor_c.cmx ocaml/visitor_c.cmx +OCAMLOPT engine/ctltotex.ml OCAMLOPT parsing_c/includes_cache.ml OCAMLOPT parsing_c/control_flow_c_build.ml OCAMLOPT parsing_c/pretty_print_c.ml @@ -4041,73 +4076,73 @@ OCAMLOPT parsing_cocci/re_constraints.ml OCAMLOPT engine/asttomember.ml OCAMLOPT engine/asttoctl2.ml -OCAMLOPT parsing_cocci/id_utils.ml -OCAMLDEP parsing_cocci/parser_cocci_menhir.ml -OCAMLDEP parsing_cocci/parser_cocci_menhir.mli -OCAMLC parsing_cocci/parser_cocci_menhir.mli OCAMLOPT parsing_c/unparse_hrule.ml -OCAMLC parsing_cocci/lexer_cocci.mli -OCAMLC parsing_cocci/lexer_script.mli +OCAMLOPT parsing_cocci/id_utils.ml OCAMLOPT parsing_c/lexer_c.ml OCAMLOPT parsing_c/parse_string_c.ml -cp parsing_c/parser_c.cmx ocaml/parser_c.cmx OCAMLOPT parsing_c/token_helpers.ml +cp parsing_c/parser_c.cmx ocaml/parser_c.cmx +cp parsing_c/lexer_c.cmx ocaml/lexer_c.cmx +OCAMLOPT parsing_c/token_views_c.ml +OCAMLOPT parsing_c/parsing_recovery_c.ml +OCAMLOPT parsing_c/unparse_c.ml +OCAMLOPT parsing_c/comment_annotater_c.ml OCAMLOPT parsing_cocci/ast0toast.ml OCAMLOPT parsing_cocci/iso_compile.ml -OCAMLOPT parsing_cocci/simple_assignments.ml OCAMLOPT parsing_cocci/get_metas.ml +OCAMLOPT parsing_cocci/simple_assignments.ml OCAMLOPT parsing_cocci/check_meta.ml OCAMLOPT parsing_cocci/test_exps.ml OCAMLOPT parsing_cocci/unitary_ast0.ml OCAMLOPT parsing_cocci/adjust_pragmas.ml +OCAMLDEP parsing_cocci/parser_cocci_menhir.ml +OCAMLDEP parsing_cocci/parser_cocci_menhir.mli OCAMLOPT parsing_cocci/adjacency.ml OCAMLOPT parsing_cocci/commas_on_lists.ml -OCAMLOPT parsing_c/token_views_c.ml -OCAMLOPT parsing_c/parsing_recovery_c.ml -OCAMLOPT parsing_c/unparse_c.ml -OCAMLOPT parsing_c/comment_annotater_c.ml -OCAMLOPT tools/spgen/source/detect_patch.ml -cp parsing_c/lexer_c.cmx ocaml/lexer_c.cmx OCAMLOPT parsing_c/cpp_token_c.ml -OCAMLOPT tools/spgen/source/snapshot.ml File "parsing_c/cpp_token_c.ml", line 433, characters 23-51: 433 | | DefineHint (HintMacroStatement as hint) -> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 26: unused variable hint. +OCAMLOPT tools/spgen/source/detect_patch.ml +OCAMLC parsing_cocci/parser_cocci_menhir.mli +OCAMLOPT parsing_c/parsing_hacks.ml +OCAMLC parsing_cocci/lexer_cocci.mli +OCAMLC parsing_cocci/lexer_script.mli +OCAMLOPT tools/spgen/source/snapshot.ml +OCAMLOPT popl09/popltoctl.ml OCAMLOPT tools/spgen/source/position_generator.ml OCAMLOPT parsing_cocci/unparse_ast0.ml OCAMLOPT parsing_cocci/unify_ast.ml OCAMLOPT parsing_cocci/type_infer.ml -OCAMLOPT parsing_c/parsing_hacks.ml OCAMLOPT tools/spgen/source/meta_variable.ml -OCAMLOPT popl09/popltoctl.ml -OCAMLOPT tools/spgen/source/disj_generator.ml +OCAMLOPT popl09/popl.ml +OCAMLOPT -o popl09/popl09.cmxa OCAMLOPT tools/spgen/source/user_input.ml OCAMLOPT tools/spgen/source/rule_header.ml -OCAMLOPT popl09/popl.ml -OCAMLOPT tools/spgen/source/rule_body.ml +OCAMLOPT tools/spgen/source/disj_generator.ml OCAMLOPT tools/spgen/source/file_transform.ml OCAMLOPT tools/spgen/source/script_rule.ml OCAMLOPT tools/spgen/source/spgen_interactive.ml OCAMLOPT tools/spgen/source/spgen_config.ml -OCAMLOPT parsing_cocci/iso_pattern.ml +OCAMLOPT tools/spgen/source/rule_body.ml OCAMLOPT parsing_cocci/comm_assoc.ml +OCAMLOPT parsing_c/cpp_analysis_c.ml +OCAMLOPT parsing_c/parse_c.ml OCAMLOPT parsing_cocci/context_neg.ml +OCAMLOPT parsing_cocci/iso_pattern.ml OCAMLOPT parsing_cocci/parse_aux.ml -OCAMLOPT -o popl09/popl09.cmxa OCAMLOPT tools/spgen/source/context_rule.ml -OCAMLOPT parsing_c/cpp_analysis_c.ml -OCAMLOPT parsing_c/parse_c.ml -OCAMLOPT parsing_cocci/parser_cocci_menhir.ml OCAMLOPT parsing_c/cpp_ast_c.ml OCAMLOPT parsing_c/type_annoter_c.ml OCAMLOPT parsing_c/compare_c.ml -cp parsing_c/parse_c.cmx ocaml/parse_c.cmx OCAMLOPT ocaml/exposed_modules.ml +cp parsing_c/parse_c.cmx ocaml/parse_c.cmx +OCAMLOPT parsing_cocci/parser_cocci_menhir.ml OCAMLOPT parsing_c/test_parsing_c.ml OCAMLOPT ocaml/coccilib.ml -OCAMLOPT parsing_cocci/insert_plus.ml OCAMLOPT -o parsing_c/parsing_c.cmxa +OCAMLOPT parsing_cocci/insert_plus.ml OCAMLOPT ocaml/yes_prepare_ocamlcocci.ml OCAMLOPT ocaml/run_ocamlcocci.ml OCAMLOPT python/yes_pycocci.ml @@ -4117,8 +4152,8 @@ OCAMLOPT ocaml/prepare_ocamlcocci.ml OCAMLOPT -o ocaml/ocaml.cmxa OCAMLOPT -o python/python.cmxa -OCAMLOPT engine/cocci_vs_c.ml OCAMLOPT engine/postprocess_transinfo.ml +OCAMLOPT engine/cocci_vs_c.ml OCAMLOPT engine/pattern_c.ml OCAMLOPT engine/transformation_c.ml OCAMLOPT engine/ctlcocci_integration.ml @@ -4146,7 +4181,7 @@ 62.res diff = --- tests/62.c -+++ /tmp/cocci-output-29122-b235da-62.c ++++ /tmp/cocci-output-13861-8782eb-62.c @@ -1,8 +1,12 @@ static struct usb_driver carl9170_driver = { .id_table = carl9170_usb_ids, @@ -4164,7 +4199,7 @@ a3d.res diff = --- tests/a3d.c -+++ /tmp/cocci-output-29122-bb5767-a3d.c ++++ /tmp/cocci-output-13861-2a2b18-a3d.c @@ -6,13 +6,13 @@ struct a3d { static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { @@ -4186,7 +4221,7 @@ a_and_e_ver1.res diff = --- tests/a_and_e_ver1.c -+++ /tmp/cocci-output-29122-ec1c14-a_and_e_ver1.c ++++ /tmp/cocci-output-13861-8b3fd1-a_and_e_ver1.c @@ -1,6 +1,7 @@ void main(int i) { @@ -4199,7 +4234,7 @@ warning: line 4: should a be a metavariable? diff = --- tests/ab.c -+++ /tmp/cocci-output-29122-d87a46-ab.c ++++ /tmp/cocci-output-13861-7f289a-ab.c @@ -1,5 +1,5 @@ int main () { foo = 5; @@ -4210,7 +4245,7 @@ action.res diff = --- tests/action.c -+++ /tmp/cocci-output-29122-3c1e26-action.c ++++ /tmp/cocci-output-13861-65aca1-action.c @@ -1,10 +1,9 @@ void work() { @@ -4228,7 +4263,7 @@ add1.res diff = --- tests/add1.c -+++ /tmp/cocci-output-29122-0cd077-add1.c ++++ /tmp/cocci-output-13861-d6e5ef-add1.c @@ -7,6 +7,9 @@ static int create_scheduling_groups(void ret = build_groups(sd, i); } @@ -4242,7 +4277,7 @@ addaft.res diff = --- tests/addaft.c -+++ /tmp/cocci-output-29122-06bf5e-addaft.c ++++ /tmp/cocci-output-13861-249aed-addaft.c @@ -1,16 +1,8 @@ int main () { foo(); @@ -4266,7 +4301,7 @@ addbefore.res diff = --- tests/addbefore.c -+++ /tmp/cocci-output-29122-148713-addbefore.c ++++ /tmp/cocci-output-13861-3e0069-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { @@ -4277,7 +4312,7 @@ addbeforeafter.res diff = --- tests/addbeforeafter.c -+++ /tmp/cocci-output-29122-b6abf5-addbeforeafter.c ++++ /tmp/cocci-output-13861-40c736-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { @@ -4290,7 +4325,7 @@ addelse.res diff = --- tests/addelse.c -+++ /tmp/cocci-output-29122-f7af46-addelse.c ++++ /tmp/cocci-output-13861-9a9e75-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; @@ -4298,7 +4333,7 @@ addes.res diff = --- tests/addes.c -+++ /tmp/cocci-output-29122-a1de75-addes.c ++++ /tmp/cocci-output-13861-617a22-addes.c @@ -1 +1,3 @@ int i; +struct foo { @@ -4306,7 +4341,7 @@ addfield.res diff = --- tests/addfield.c -+++ /tmp/cocci-output-29122-1f2d69-addfield.c ++++ /tmp/cocci-output-13861-5d71bb-addfield.c @@ -1,4 +1,6 @@ struct i2c_client I = { - .name = E, @@ -4318,7 +4353,7 @@ addfield2.res diff = --- tests/addfield2.c -+++ /tmp/cocci-output-29122-c45e51-addfield2.c ++++ /tmp/cocci-output-13861-973544-addfield2.c @@ -1,17 +1,21 @@ struct foo { + int roto; @@ -4344,7 +4379,7 @@ addif.res diff = --- tests/addif.c -+++ /tmp/cocci-output-29122-c7c9e3-addif.c ++++ /tmp/cocci-output-13861-6c54c6-addif.c @@ -1,7 +1,19 @@ +#ifdef FOO +/* some comment */ @@ -4368,7 +4403,7 @@ addif1.res diff = --- tests/addif1.c -+++ /tmp/cocci-output-29122-bf9cf1-addif1.c ++++ /tmp/cocci-output-13861-6e6834-addif1.c @@ -1,7 +1,15 @@ +#ifdef FOO +int xxx() { @@ -4388,7 +4423,7 @@ addif2.res diff = --- tests/addif2.c -+++ /tmp/cocci-output-29122-71169f-addif2.c ++++ /tmp/cocci-output-13861-3258db-addif2.c @@ -1,7 +1,13 @@ +#ifdef FOO +int/*foo*/ xxx; @@ -4406,7 +4441,7 @@ addifdef.res diff = --- tests/addifdef.c -+++ /tmp/cocci-output-29122-7403c6-addifdef.c ++++ /tmp/cocci-output-13861-9c986a-addifdef.c @@ -1,10 +1,14 @@ #ifdef FOO +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) @@ -4425,7 +4460,7 @@ addifelse.res diff = --- tests/addifelse.c -+++ /tmp/cocci-output-29122-a51215-addifelse.c ++++ /tmp/cocci-output-13861-51a7aa-addifelse.c @@ -1,8 +1,14 @@ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) static void rfcomm_l2data_ready(struct sock *sk) @@ -4444,7 +4479,7 @@ addifelse2.res diff = --- tests/addifelse2.c -+++ /tmp/cocci-output-29122-ba1cbc-addifelse2.c ++++ /tmp/cocci-output-13861-c36479-addifelse2.c @@ -1,8 +1,15 @@ +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) +static void backport_rfcomm_l2data_ready(struct sock *sk, int unused){ @@ -4464,7 +4499,7 @@ addinc.res diff = --- tests/addinc.c -+++ /tmp/cocci-output-29122-93a5cd-addinc.c ++++ /tmp/cocci-output-13861-1bd57f-addinc.c @@ -1,4 +1,5 @@ #ifndef FOO #define FOO @@ -4474,7 +4509,7 @@ addtoo.res diff = --- tests/addtoo.c -+++ /tmp/cocci-output-29122-4d3654-addtoo.c ++++ /tmp/cocci-output-13861-ee1e58-addtoo.c @@ -1,16 +1,8 @@ int main () { - if (x) { @@ -4498,7 +4533,7 @@ addtrace.res diff = --- tests/addtrace.c -+++ /tmp/cocci-output-29122-e3a448-addtrace.c ++++ /tmp/cocci-output-13861-7e4706-addtrace.c @@ -2,13 +2,24 @@ short VerDate(char *pcDate) { short sRetour = 0; @@ -4531,7 +4566,7 @@ after_if.res diff = --- tests/after_if.c -+++ /tmp/cocci-output-29122-b95cf6-after_if.c ++++ /tmp/cocci-output-13861-d21d91-after_if.c @@ -1,4 +1,5 @@ #ifdef ELMC_MULTICAST static void set_multicast_list(struct net_device *dev); @@ -4542,7 +4577,7 @@ allex.res diff = --- tests/allex.c -+++ /tmp/cocci-output-29122-23ad32-allex.c ++++ /tmp/cocci-output-13861-e96a13-allex.c @@ -6,7 +6,7 @@ int main () { goto out; } @@ -4555,7 +4590,7 @@ allex2.res diff = --- tests/allex2.c -+++ /tmp/cocci-output-29122-33b677-allex2.c ++++ /tmp/cocci-output-13861-0d0de7-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; @@ -4566,7 +4601,7 @@ allex3.res diff = --- tests/allex3.c -+++ /tmp/cocci-output-29122-110a47-allex3.c ++++ /tmp/cocci-output-13861-df7b49-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; @@ -4576,7 +4611,7 @@ andid.res diff = --- tests/andid.c -+++ /tmp/cocci-output-29122-5f48e7-andid.c ++++ /tmp/cocci-output-13861-5aeedf-andid.c @@ -1,5 +1,5 @@ int main () { - int frontandback = 12; @@ -4587,7 +4622,7 @@ anon.res diff = --- tests/anon.c -+++ /tmp/cocci-output-29122-35f23b-anon.c ++++ /tmp/cocci-output-13861-0b26fe-anon.c @@ -12,5 +12,5 @@ static int ppa_queuecommand(struct scsi_ void (*done) (struct scsi_cmnd *)) { @@ -4598,7 +4633,7 @@ anonfield.res diff = --- tests/anonfield.c -+++ /tmp/cocci-output-29122-258b37-anonfield.c ++++ /tmp/cocci-output-13861-06f5a1-anonfield.c @@ -1,3 +1,3 @@ struct { - int; @@ -4607,7 +4642,7 @@ ar.res diff = --- tests/ar.c -+++ /tmp/cocci-output-29122-85bfad-ar.c ++++ /tmp/cocci-output-13861-c94633-ar.c @@ -4,9 +4,4 @@ int main() { struct foo *x; struct bar *y; @@ -4621,7 +4656,7 @@ arg.res diff = --- tests/arg.c -+++ /tmp/cocci-output-29122-32dfd1-arg.c ++++ /tmp/cocci-output-13861-a2af69-arg.c @@ -1,6 +1,6 @@ int main () { - foo(bar()); @@ -4636,7 +4671,7 @@ argument.res diff = --- tests/argument.c -+++ /tmp/cocci-output-29122-bb213f-argument.c ++++ /tmp/cocci-output-13861-b7b67c-argument.c @@ -1,8 +1,5 @@ void main(int i){ @@ -4650,7 +4685,7 @@ arparam.res diff = --- tests/arparam.c -+++ /tmp/cocci-output-29122-1981cd-arparam.c ++++ /tmp/cocci-output-13861-4ff53a-arparam.c @@ -1,3 +1,8 @@ +int g(int q[1024]) +{ @@ -4663,7 +4698,7 @@ array_init.res diff = --- tests/array_init.c -+++ /tmp/cocci-output-29122-9293f8-array_init.c ++++ /tmp/cocci-output-13861-409607-array_init.c @@ -1,3 +1,2 @@ static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; -MODULE_PARM(term, "1-8i"); @@ -4671,7 +4706,7 @@ array_size.res diff = --- tests/array_size.c -+++ /tmp/cocci-output-29122-4068eb-array_size.c ++++ /tmp/cocci-output-13861-e07ad7-array_size.c @@ -1,2 +1,2 @@ -#define MAX_SETUP_STRINGS (sizeof(setup_strings) / sizeof(char *)) +#define MAX_SETUP_STRINGS ARRAY_SIZE(setup_strings) @@ -4679,7 +4714,7 @@ arraysz.res diff = --- tests/arraysz.c -+++ /tmp/cocci-output-29122-6adfe8-arraysz.c ++++ /tmp/cocci-output-13861-075dce-arraysz.c @@ -7,4 +7,4 @@ typedef struct signature { static const Signature signatures[] = { {"SSTBIOS", 0x0000d, 7} /* "SSTBIOS" @ offset 0x0000d */ @@ -4689,7 +4724,7 @@ as_stm.res diff = --- tests/as_stm.c -+++ /tmp/cocci-output-29122-991aa3-as_stm.c ++++ /tmp/cocci-output-13861-7d1ae0-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE @@ -4700,7 +4735,7 @@ (ONCE) already tagged but only removed, so safe diff = --- tests/assign_deref_funcall_in_macro_it.c -+++ /tmp/cocci-output-29122-26544d-assign_deref_funcall_in_macro_it.c ++++ /tmp/cocci-output-13861-e60afe-assign_deref_funcall_in_macro_it.c @@ -1,13 +1,5 @@ #define for_one(ignored) for (int i = 0; i == 0; ++i) -int *id(int *ptr) @@ -4718,7 +4753,7 @@ attradd.res diff = --- tests/attradd.c -+++ /tmp/cocci-output-29122-f9f61e-attradd.c ++++ /tmp/cocci-output-13861-d850d1-attradd.c @@ -1,3 +1,5 @@ int main () { - char f; @@ -4729,7 +4764,7 @@ attrs2groups.res diff = --- tests/attrs2groups.c -+++ /tmp/cocci-output-29122-998f13-attrs2groups.c ++++ /tmp/cocci-output-13861-a38e18-attrs2groups.c @@ -3,18 +3,24 @@ static ssize_t devspec_show(struct devic { return 42; @@ -4761,7 +4796,7 @@ b1.res diff = --- tests/b1.c -+++ /tmp/cocci-output-29122-568db2-b1.c ++++ /tmp/cocci-output-13861-eddc9e-b1.c @@ -1,7 +1,9 @@ int main () { while (1) { @@ -4777,7 +4812,7 @@ b2.res diff = --- tests/b2.c -+++ /tmp/cocci-output-29122-371788-b2.c ++++ /tmp/cocci-output-13861-15d8a0-b2.c @@ -1,9 +1,11 @@ int main () { if (1) { @@ -4796,7 +4831,7 @@ bad_kfree.res diff = --- tests/bad_kfree.c -+++ /tmp/cocci-output-29122-b70057-bad_kfree.c ++++ /tmp/cocci-output-13861-ce41a8-bad_kfree.c @@ -14,7 +14,7 @@ int bad () { kfree(itv[i]); print("foo",itv[i]); @@ -4809,7 +4844,7 @@ bad_ptr_print.res diff = --- tests/bad_ptr_print.c -+++ /tmp/cocci-output-29122-085791-bad_ptr_print.c ++++ /tmp/cocci-output-13861-a5d4c6-bad_ptr_print.c @@ -1,4 +1,4 @@ static inline int tester(struct usb_endpoint_descriptor *epd) { @@ -4819,7 +4854,7 @@ bad_typedef.res diff = --- tests/bad_typedef.c -+++ /tmp/cocci-output-29122-b4ff5b-bad_typedef.c ++++ /tmp/cocci-output-13861-7a757f-bad_typedef.c @@ -4,7 +4,7 @@ typedef struct { @@ -4839,7 +4874,7 @@ badcfg.res diff = --- tests/badcfg.c -+++ /tmp/cocci-output-29122-5aeac6-badcfg.c ++++ /tmp/cocci-output-13861-803c49-badcfg.c @@ -3,7 +3,7 @@ const char *netdev_cmd_to_name(enum netd #define N(val) \ case NETDEV_##val: \ @@ -4852,7 +4887,7 @@ badexp.res diff = --- tests/badexp.c -+++ /tmp/cocci-output-29122-f19890-badexp.c ++++ /tmp/cocci-output-13861-ad66de-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); @@ -4879,7 +4914,7 @@ badtypedef.res diff = --- tests/badtypedef.c -+++ /tmp/cocci-output-29122-5ce40e-badtypedef.c ++++ /tmp/cocci-output-13861-fe88b0-badtypedef.c @@ -5,7 +5,7 @@ int main() { foo_t *b; foo_t *c; @@ -4893,7 +4928,7 @@ badwhen.res diff = --- tests/badwhen.c -+++ /tmp/cocci-output-29122-2e35a6-badwhen.c ++++ /tmp/cocci-output-13861-8bc80a-badwhen.c @@ -4,7 +4,5 @@ int main () { g(); } @@ -4905,7 +4940,7 @@ badzero.res diff = --- tests/badzero.c -+++ /tmp/cocci-output-29122-0175a0-badzero.c ++++ /tmp/cocci-output-13861-61d484-badzero.c @@ -4,7 +4,7 @@ int main () { int z; if (y - x == 0) return; @@ -4922,7 +4957,7 @@ befS.res diff = --- tests/befS.c -+++ /tmp/cocci-output-29122-9d1474-befS.c ++++ /tmp/cocci-output-13861-93318f-befS.c @@ -1,20 +1,32 @@ int main () { + foo(); @@ -4961,7 +4996,7 @@ before.res diff = --- tests/before.c -+++ /tmp/cocci-output-29122-6408f2-before.c ++++ /tmp/cocci-output-13861-c8e048-before.c @@ -1,4 +1,6 @@ int main () { + blah(); @@ -4972,7 +5007,7 @@ ben.res diff = --- tests/ben.c -+++ /tmp/cocci-output-29122-872aca-ben.c ++++ /tmp/cocci-output-13861-128567-ben.c @@ -1,22 +1,20 @@ +static GType this_type = 0; +static const GTypeInfo this_info = { @@ -5012,7 +5047,7 @@ bigin.res diff = --- tests/bigin.c -+++ /tmp/cocci-output-29122-c43eb3-bigin.c ++++ /tmp/cocci-output-13861-80ed99-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) @@ -5023,7 +5058,7 @@ bigrepl.res diff = --- tests/bigrepl.c -+++ /tmp/cocci-output-29122-2af5a7-bigrepl.c ++++ /tmp/cocci-output-13861-de6a4c-bigrepl.c @@ -1,6 +1,9 @@ int main () { - one(argument1(nested, argument), argument2(nested, argument), foo(), @@ -5040,7 +5075,7 @@ binop.res diff = --- tests/binop.c -+++ /tmp/cocci-output-29122-828cf6-binop.c ++++ /tmp/cocci-output-13861-af05ad-binop.c @@ -2,10 +2,12 @@ void main() { int i = 0; int j = 0; @@ -5060,7 +5095,7 @@ warning: rule starting on line 11: metavariable v not used in the - or context code diff = --- tests/bitfield.c -+++ /tmp/cocci-output-29122-8c5410-bitfield.c ++++ /tmp/cocci-output-13861-40e391-bitfield.c @@ -1,15 +1,15 @@ struct dvb_frontend { - struct dvb_frontend_ops* ops; @@ -5091,7 +5126,7 @@ boolr.res diff = --- tests/boolr.c -+++ /tmp/cocci-output-29122-789c17-boolr.c ++++ /tmp/cocci-output-13861-1dbeba-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; @@ -5100,7 +5135,7 @@ braces.res diff = --- tests/braces.c -+++ /tmp/cocci-output-29122-8a6a55-braces.c ++++ /tmp/cocci-output-13861-afefc8-braces.c @@ -1,9 +1,9 @@ -#define main { foo(); } +#define main foo(); @@ -5118,7 +5153,7 @@ branchparen.res diff = --- tests/branchparen.c -+++ /tmp/cocci-output-29122-59ebca-branchparen.c ++++ /tmp/cocci-output-13861-de605b-branchparen.c @@ -1,6 +1,10 @@ int main () { - if (x) @@ -5135,7 +5170,7 @@ break.res diff = --- tests/break.c -+++ /tmp/cocci-output-29122-92e12d-break.c ++++ /tmp/cocci-output-13861-17750f-break.c @@ -5,8 +5,10 @@ int main () { x = 15; if (x > 1 ) { foo(); break; } @@ -5161,7 +5196,7 @@ bug1.res diff = --- tests/bug1.c -+++ /tmp/cocci-output-29122-4dad84-bug1.c ++++ /tmp/cocci-output-13861-0ff6dd-bug1.c @@ -1,4 +1,5 @@ -static int typhoon_ioctl(struct video_device *dev, unsigned int cmd,void *arg) +static int typhoon_ioctl(struct inode *i, struct file *f, unsigned int cmd, @@ -5172,7 +5207,7 @@ bugloop.res diff = --- tests/bugloop.c -+++ /tmp/cocci-output-29122-0d07b0-bugloop.c ++++ /tmp/cocci-output-13861-0397cf-bugloop.c @@ -8,8 +8,8 @@ static int stir_transmit_thread(void *ar while (x) { @@ -5187,7 +5222,7 @@ bugon.res diff = --- tests/bugon.c -+++ /tmp/cocci-output-29122-b3e393-bugon.c ++++ /tmp/cocci-output-13861-d58dd7-bugon.c @@ -1,5 +1,4 @@ static void b44_tx(struct b44 *bp) { @@ -5198,7 +5233,7 @@ bus.res diff = --- tests/bus.c -+++ /tmp/cocci-output-29122-0b9b51-bus.c ++++ /tmp/cocci-output-13861-477d4f-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; @@ -5210,7 +5245,7 @@ cards.res diff = --- tests/cards.c -+++ /tmp/cocci-output-29122-aac045-cards.c ++++ /tmp/cocci-output-13861-945094-cards.c @@ -1,3 +1,3 @@ -MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i"); + @@ -5219,7 +5254,7 @@ caseprint.res diff = --- tests/caseprint.c -+++ /tmp/cocci-output-29122-1029e8-caseprint.c ++++ /tmp/cocci-output-13861-e15654-caseprint.c @@ -3,4 +3,10 @@ int f() { case 12: return 0; case 1: return 2; @@ -5234,7 +5269,7 @@ cast.res diff = --- tests/cast.c -+++ /tmp/cocci-output-29122-38b1dd-cast.c ++++ /tmp/cocci-output-13861-f4cb36-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; @@ -5242,7 +5277,7 @@ cast_iso.res diff = --- tests/cast_iso.c -+++ /tmp/cocci-output-29122-021a16-cast_iso.c ++++ /tmp/cocci-output-13861-d514cd-cast_iso.c @@ -1,6 +1,6 @@ static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp) { @@ -5255,7 +5290,7 @@ castdecl.res diff = --- tests/castdecl.c -+++ /tmp/cocci-output-29122-7ea813-castdecl.c ++++ /tmp/cocci-output-13861-ddb112-castdecl.c @@ -1,9 +1,9 @@ int main() { - long i1, i2; @@ -5274,7 +5309,7 @@ cex_wishlist_complex1.res diff = --- tests/cex_wishlist_complex1.c -+++ /tmp/cocci-output-29122-9ca29a-cex_wishlist_complex1.c ++++ /tmp/cocci-output-13861-761740-cex_wishlist_complex1.c @@ -1,6 +1,6 @@ #include int main() { @@ -5286,7 +5321,7 @@ cex_wishlist_complex2.res diff = --- tests/cex_wishlist_complex2.c -+++ /tmp/cocci-output-29122-f7e1c0-cex_wishlist_complex2.c ++++ /tmp/cocci-output-13861-07ce9c-cex_wishlist_complex2.c @@ -2,7 +2,7 @@ int main() { double d; @@ -5299,7 +5334,7 @@ cex_wishlist_complex3.res diff = --- tests/cex_wishlist_complex3.c -+++ /tmp/cocci-output-29122-90dfe9-cex_wishlist_complex3.c ++++ /tmp/cocci-output-13861-d719ec-cex_wishlist_complex3.c @@ -2,7 +2,7 @@ int main() { double d; @@ -5313,7 +5348,7 @@ change.res diff = --- tests/change.c -+++ /tmp/cocci-output-29122-765b60-change.c ++++ /tmp/cocci-output-13861-b61fdb-change.c @@ -1,5 +1,6 @@ int main () { foo(); @@ -5324,7 +5359,7 @@ change_type.res diff = --- tests/change_type.c -+++ /tmp/cocci-output-29122-a90850-change_type.c ++++ /tmp/cocci-output-13861-3f5728-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; @@ -5334,7 +5369,7 @@ changei.res diff = --- tests/changei.c -+++ /tmp/cocci-output-29122-4612b1-changei.c ++++ /tmp/cocci-output-13861-1cc864-changei.c @@ -1,7 +1,7 @@ -typedef struct i istruct; +typedef struct i xxx; @@ -5350,7 +5385,7 @@ cocci_args.res diff = --- tests/cocci_args.c -+++ /tmp/cocci-output-29122-7d4f1c-cocci_args.c ++++ /tmp/cocci-output-13861-03c207-cocci_args.c @@ -1,3 +1,3 @@ int main () { - f(); @@ -5359,7 +5394,7 @@ com.res diff = --- tests/com.c -+++ /tmp/cocci-output-29122-97aa93-com.c ++++ /tmp/cocci-output-13861-f428d1-com.c @@ -1,8 +1,3 @@ int main() { - foo(); @@ -5372,7 +5407,7 @@ comadd.res diff = --- tests/comadd.c -+++ /tmp/cocci-output-29122-82d73f-comadd.c ++++ /tmp/cocci-output-13861-c574eb-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment @@ -5382,7 +5417,7 @@ comj.res diff = --- tests/comj.c -+++ /tmp/cocci-output-29122-3d7d96-comj.c ++++ /tmp/cocci-output-13861-7046f9-comj.c @@ -2,6 +2,8 @@ int foo(int bar) { int i, j; @@ -5394,12 +5429,12 @@ return j; comma.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_9c7df5.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_9c7df5.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_2239df.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_2239df.ml Compilation OK! Loading ML code of the SP... diff = --- tests/comma.c -+++ /tmp/cocci-output-29122-b14dde-comma.c ++++ /tmp/cocci-output-13861-1289ee-comma.c @@ -3,9 +3,9 @@ show_cpuinfo (struct seq_file *m, void * { for (i = 0; i < ARRAY_SIZE(feature_bits) && size > 1; ++i) { @@ -5415,7 +5450,7 @@ comment_brace.res diff = --- tests/comment_brace.c -+++ /tmp/cocci-output-29122-85a654-comment_brace.c ++++ /tmp/cocci-output-13861-210b6d-comment_brace.c @@ -1,7 +1,9 @@ int main () { @@ -5430,7 +5465,7 @@ comment_brace2.res diff = --- tests/comment_brace2.c -+++ /tmp/cocci-output-29122-9b2711-comment_brace2.c ++++ /tmp/cocci-output-13861-c3c42d-comment_brace2.c @@ -1,7 +1,9 @@ int main () { @@ -5444,8 +5479,8 @@ comment_line.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_7ad477.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_7ad477.ml -File "/tmp/ocaml_cocci_7ad477.ml", line 31, characters 4-5: +ocamlopt.opt -shared -o /tmp/ocaml_cocci_bab83f.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_bab83f.ml +File "/tmp/ocaml_cocci_bab83f.ml", line 31, characters 4-5: 31 | let p = match List.nth __args__ 1 with Coccilib.Pos x -> x | _ -> failwith "bad value" in ^ Warning 26: unused variable p. @@ -5455,7 +5490,7 @@ 1 diff = --- tests/comment_line.c -+++ /tmp/cocci-output-29122-711e2a-comment_line.c ++++ /tmp/cocci-output-13861-108ada-comment_line.c @@ -1,11 +1,9 @@ int main() { before(); @@ -5470,8 +5505,8 @@ } comment_middle.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_f37cb3.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_f37cb3.ml -File "/tmp/ocaml_cocci_f37cb3.ml", line 30, characters 5-6: +ocamlopt.opt -shared -o /tmp/ocaml_cocci_4cf0b1.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_4cf0b1.ml +File "/tmp/ocaml_cocci_4cf0b1.ml", line 30, characters 5-6: 30 | let f = match List.nth __args__ 0 with Coccilib.Str x -> x | _ -> failwith "bad value" in ^ Warning 26: unused variable f. @@ -5479,7 +5514,7 @@ Loading ML code of the SP... diff = --- tests/comment_middle.c -+++ /tmp/cocci-output-29122-8ac2e1-comment_middle.c ++++ /tmp/cocci-output-13861-1f439f-comment_middle.c @@ -5,5 +5,4 @@ struct i { }; @@ -5489,7 +5524,7 @@ comments.res diff = --- tests/comments.c -+++ /tmp/cocci-output-29122-d98d9f-comments.c ++++ /tmp/cocci-output-13861-21bb1f-comments.c @@ -1,5 +1,16 @@ int main() { @@ -5510,7 +5545,7 @@ compare.res diff = --- tests/compare.c -+++ /tmp/cocci-output-29122-e605f7-compare.c ++++ /tmp/cocci-output-13861-ce800e-compare.c @@ -1,7 +1,7 @@ struct aic7xxx_host { struct aic7xxx_cmd_queue { @@ -5524,7 +5559,7 @@ compare_const2.res diff = --- tests/compare_const2.c -+++ /tmp/cocci-output-29122-cbc41e-compare_const2.c ++++ /tmp/cocci-output-13861-13390a-compare_const2.c @@ -1,6 +1,6 @@ int main () { // int i,o; @@ -5537,7 +5572,7 @@ condexp.res diff = --- tests/condexp.c -+++ /tmp/cocci-output-29122-bd5a38-condexp.c ++++ /tmp/cocci-output-13861-55a90f-condexp.c @@ -5,7 +5,7 @@ main(int argc, char *argv[]) dpy = XOpenDisplay (displayname); if (!dpy) { @@ -5553,7 +5588,7 @@ warning: line 3: should text be a metavariable? diff = --- tests/const.c -+++ /tmp/cocci-output-29122-f0d2f6-const.c ++++ /tmp/cocci-output-13861-b118eb-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); @@ -5563,7 +5598,7 @@ warning: line 3: should i be a metavariable? diff = --- tests/const1bis.c -+++ /tmp/cocci-output-29122-8d7904-const1bis.c ++++ /tmp/cocci-output-13861-e5185d-const1bis.c @@ -1,5 +1,5 @@ void foo(int j) { - const int i; @@ -5574,7 +5609,7 @@ const_adding.res diff = --- tests/const_adding.c -+++ /tmp/cocci-output-29122-d05c6a-const_adding.c ++++ /tmp/cocci-output-13861-e8f3f7-const_adding.c @@ -2,6 +2,6 @@ void main(int i) { @@ -5586,7 +5621,7 @@ const_array.res diff = --- tests/const_array.c -+++ /tmp/cocci-output-29122-6303bd-const_array.c ++++ /tmp/cocci-output-13861-2bc6a6-const_array.c @@ -24,9 +24,9 @@ static const struct foo *r128_family4[] }; @@ -5605,7 +5640,7 @@ const_implicit_iso.res diff = --- tests/const_implicit_iso.c -+++ /tmp/cocci-output-29122-8ce7f7-const_implicit_iso.c ++++ /tmp/cocci-output-13861-2d0250-const_implicit_iso.c @@ -1,4 +1,4 @@ void main(double y) { - const int x; @@ -5615,7 +5650,7 @@ constptr.res diff = --- tests/constptr.c -+++ /tmp/cocci-output-29122-c8804a-constptr.c ++++ /tmp/cocci-output-13861-44b47f-constptr.c @@ -1,7 +1,7 @@ int main() { @@ -5631,7 +5666,7 @@ constraints.res diff = --- tests/constraints.c -+++ /tmp/cocci-output-29122-06b491-constraints.c ++++ /tmp/cocci-output-13861-cc7c94-constraints.c @@ -1,23 +1,23 @@ void f() @@ -5666,7 +5701,7 @@ warning: line 9: should f be a metavariable? diff = --- tests/constrem.c -+++ /tmp/cocci-output-29122-69d81b-constrem.c ++++ /tmp/cocci-output-13861-031077-constrem.c @@ -1,3 +1 @@ -static const int a; @@ -5674,7 +5709,7 @@ constructor.res diff = --- tests/constructor.c -+++ /tmp/cocci-output-29122-d9f00b-constructor.c ++++ /tmp/cocci-output-13861-0427a8-constructor.c @@ -1,5 +1,5 @@ int main () { - imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, @@ -5686,7 +5721,7 @@ constty.res diff = --- tests/constty.c -+++ /tmp/cocci-output-29122-95da89-constty.c ++++ /tmp/cocci-output-13861-fe2539-constty.c @@ -1,7 +1,6 @@ int main () { const int x; @@ -5698,7 +5733,7 @@ constx.res diff = --- tests/constx.c -+++ /tmp/cocci-output-29122-acbaf2-constx.c ++++ /tmp/cocci-output-13861-3cb654-constx.c @@ -1,8 +1,8 @@ int main() { - foo(12); @@ -5715,7 +5750,7 @@ } countcalls.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_ad67d2.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_ad67d2.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_493e94.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_493e94.ml File "tests/countcalls.cocci", line 63, characters 30-46: Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. @@ -5726,14 +5761,14 @@ cptr.res diff = --- tests/cptr.c -+++ /tmp/cocci-output-29122-51bcb3-cptr.c ++++ /tmp/cocci-output-13861-07cab5-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char *const str = "..."; cr.res diff = --- tests/cr.c -+++ /tmp/cocci-output-29122-29f6ec-cr.c ++++ /tmp/cocci-output-13861-07521f-cr.c @@ -1,7 +1,6 @@ int main(void) { @@ -5746,7 +5781,7 @@ cr1a.res diff = --- tests/cr1a.c -+++ /tmp/cocci-output-29122-81aa48-cr1a.c ++++ /tmp/cocci-output-13861-fb7df4-cr1a.c @@ -6,14 +6,17 @@ int __init probe_base_port(int base) if (base) b = e = base; @@ -5771,7 +5806,7 @@ warning: line 5: should handle be a metavariable? diff = --- tests/cs_check.c -+++ /tmp/cocci-output-29122-4009d4-cs_check.c ++++ /tmp/cocci-output-13861-0ffb75-cs_check.c @@ -4,7 +4,7 @@ do { last_fn = (fn); if ((last_ret = (re static void nsp_cs_config(dev_link_t *link) { @@ -5784,7 +5819,7 @@ cst.res diff = --- tests/cst.c -+++ /tmp/cocci-output-29122-08bd39-cst.c ++++ /tmp/cocci-output-13861-8cd07c-cst.c @@ -1,5 +1,5 @@ int main(int x) { - emu10k1_t *emu = snd_magic_cast(1, 2, return -ENXIO); @@ -5795,7 +5830,7 @@ cst_null.res diff = --- tests/cst_null.c -+++ /tmp/cocci-output-29122-8e17df-cst_null.c ++++ /tmp/cocci-output-13861-d76536-cst_null.c @@ -2,9 +2,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; @@ -5831,12 +5866,12 @@ vb->magic = MAGIC_BUFFER; cstr.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_f0f059.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_f0f059.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_73d233.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_73d233.ml Compilation OK! Loading ML code of the SP... diff = --- tests/cstr.c -+++ /tmp/cocci-output-29122-9dd370-cstr.c ++++ /tmp/cocci-output-13861-6a7063-cstr.c @@ -1,4 +1,8 @@ int main() { f(1,2,1,2,3); @@ -5850,7 +5885,7 @@ warning: line 4: should foo be a metavariable? diff = --- tests/cststr.c -+++ /tmp/cocci-output-29122-8592ca-cststr.c ++++ /tmp/cocci-output-13861-d2d4b2-cststr.c @@ -1,3 +1,3 @@ int main () { - foo((ptr_t)"blah"); @@ -5860,7 +5895,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/csw.c -+++ /tmp/cocci-output-29122-9943e4-csw.c ++++ /tmp/cocci-output-13861-3c04d2-csw.c @@ -1,14 +1,6 @@ int main() { switch (x) { @@ -5879,7 +5914,7 @@ dbg.res diff = --- tests/dbg.c -+++ /tmp/cocci-output-29122-49887b-dbg.c ++++ /tmp/cocci-output-13861-b3b09f-dbg.c @@ -4,5 +4,6 @@ static inline void alloc_resource(struct struct resource *pr, *r = &dev->resource[idx]; @@ -5891,7 +5926,7 @@ dbg1.res diff = --- tests/dbg1.c -+++ /tmp/cocci-output-29122-079871-dbg1.c ++++ /tmp/cocci-output-13861-594553-dbg1.c @@ -2,4 +2,5 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) { @@ -5901,7 +5936,7 @@ dc_close.res diff = --- tests/dc_close.c -+++ /tmp/cocci-output-29122-cb045b-dc_close.c ++++ /tmp/cocci-output-13861-006641-dc_close.c @@ -5,6 +5,7 @@ initicc(struct IsdnCardState *cs) INIT_WORK(&cs->work, icc_bh, cs); @@ -5913,7 +5948,7 @@ debug.res diff = --- tests/debug.c -+++ /tmp/cocci-output-29122-b1b37f-debug.c ++++ /tmp/cocci-output-13861-526197-debug.c @@ -1,5 +1,4 @@ static int __init init_3c574_cs(void) { @@ -5923,7 +5958,7 @@ dec.res diff = --- tests/dec.c -+++ /tmp/cocci-output-29122-14f2f0-dec.c ++++ /tmp/cocci-output-13861-1e968b-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; @@ -5933,7 +5968,7 @@ decl.res diff = --- tests/decl.c -+++ /tmp/cocci-output-29122-b4c068-decl.c ++++ /tmp/cocci-output-13861-339170-decl.c @@ -1,5 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -5945,7 +5980,7 @@ warning: line 8: should x be a metavariable? diff = --- tests/decl2.c -+++ /tmp/cocci-output-29122-b6dedb-decl2.c ++++ /tmp/cocci-output-13861-34546a-decl2.c @@ -1,6 +1,6 @@ static int az_ioctl(int cmd, void *arg) { @@ -5957,7 +5992,7 @@ decl_space.res diff = --- tests/decl_space.c -+++ /tmp/cocci-output-29122-237d44-decl_space.c ++++ /tmp/cocci-output-13861-51af94-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; @@ -5969,7 +6004,7 @@ decl_star.res diff = --- tests/decl_star.c -+++ /tmp/cocci-output-29122-f271c7-decl_star.c ++++ /tmp/cocci-output-13861-d5cbda-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; @@ -5981,7 +6016,7 @@ declmeta.res diff = --- tests/declmeta.c -+++ /tmp/cocci-output-29122-83bad5-declmeta.c ++++ /tmp/cocci-output-13861-30b25b-declmeta.c @@ -1,7 +1,7 @@ -int b,c; +int c; @@ -5996,13 +6031,13 @@ defe.res diff = --- tests/defe.c -+++ /tmp/cocci-output-29122-7bdc06-defe.c ++++ /tmp/cocci-output-13861-b01d7f-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c -+++ /tmp/cocci-output-29122-77c379-define_exp.c ++++ /tmp/cocci-output-13861-6e9809-define_exp.c @@ -1,5 +1,5 @@ #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \ - SA_SHIRQ : SA_INTERRUPT) @@ -6013,7 +6048,7 @@ define_param.res diff = --- tests/define_param.c -+++ /tmp/cocci-output-29122-45fed1-define_param.c ++++ /tmp/cocci-output-13861-78bb1c-define_param.c @@ -1,10 +1,10 @@ -#define fieldsize(a) (sizeof(a)/sizeof(*a)) + @@ -6030,7 +6065,7 @@ defineinit.res diff = --- tests/defineinit.c -+++ /tmp/cocci-output-29122-f6f050-defineinit.c ++++ /tmp/cocci-output-13861-fcef28-defineinit.c @@ -1,3 +1,3 @@ #define MYMACRO(adsf) { \ - .foo = (asdf),\ @@ -6040,7 +6075,7 @@ delete_function.res diff = --- tests/delete_function.c -+++ /tmp/cocci-output-29122-a19a3a-delete_function.c ++++ /tmp/cocci-output-13861-45b6e7-delete_function.c @@ -2,12 +2,6 @@ int first () { return 0; } @@ -6057,7 +6092,7 @@ delp.res diff = --- tests/delp.c -+++ /tmp/cocci-output-29122-2f2920-delp.c ++++ /tmp/cocci-output-13861-d57f6c-delp.c @@ -1,4 +1,4 @@ int main () { return @@ -6067,7 +6102,7 @@ deref.res diff = --- tests/deref.c -+++ /tmp/cocci-output-29122-792644-deref.c ++++ /tmp/cocci-output-13861-921b9a-deref.c @@ -1,6 +1,6 @@ int main () { int **q; @@ -6080,7 +6115,7 @@ destroy.res diff = --- tests/destroy.c -+++ /tmp/cocci-output-29122-9dd50b-destroy.c ++++ /tmp/cocci-output-13861-e5d1c0-destroy.c @@ -6,7 +6,12 @@ static void wlcore_nvs_cb(const struct f goto out; @@ -6097,7 +6132,7 @@ detect_cast_attr.res diff = --- tests/detect_cast_attr.c -+++ /tmp/cocci-output-29122-e38a3e-detect_cast_attr.c ++++ /tmp/cocci-output-13861-b07353-detect_cast_attr.c @@ -2,9 +2,9 @@ int func() @@ -6116,7 +6151,7 @@ warning: line 8: should a be a metavariable? diff = --- tests/detect_macrodecl_attr.c -+++ /tmp/cocci-output-29122-be9b52-detect_macrodecl_attr.c ++++ /tmp/cocci-output-13861-1c0ed5-detect_macrodecl_attr.c @@ -1,5 +1,5 @@ #define __macro_attr MACROANNOTATION @@ -6127,7 +6162,7 @@ detect_param_attr.res diff = --- tests/detect_param_attr.c -+++ /tmp/cocci-output-29122-83c908-detect_param_attr.c ++++ /tmp/cocci-output-13861-9571a6-detect_param_attr.c @@ -1,3 +1,3 @@ -int func1(int __nocast u, __nocast int z, int q __nocast, int w) { +int func1(char __nocast u, __nocast char z, char q __nocast, int w) { @@ -6136,7 +6171,7 @@ detect_struct_endattr.res diff = --- tests/detect_struct_endattr.c -+++ /tmp/cocci-output-29122-aedf59-detect_struct_endattr.c ++++ /tmp/cocci-output-13861-f8ff94-detect_struct_endattr.c @@ -2,7 +2,6 @@ struct abcd { @@ -6148,7 +6183,7 @@ devlink.res diff = --- tests/devlink.c -+++ /tmp/cocci-output-29122-464830-devlink.c ++++ /tmp/cocci-output-13861-8c8d93-devlink.c @@ -1,12 +1,12 @@ -static void cm4000_release(dev_link_t *link); +static void cm4000_release(struct pcmcia_device *link); @@ -6174,7 +6209,7 @@ warning: line 18: should disj_type be a metavariable? diff = --- tests/disj.c -+++ /tmp/cocci-output-29122-3646d7-disj.c ++++ /tmp/cocci-output-13861-e41fec-disj.c @@ -1,31 +1,31 @@ void f() { int disj_id0; @@ -6226,7 +6261,7 @@ disjexpr.res diff = --- tests/disjexpr.c -+++ /tmp/cocci-output-29122-8d2a8f-disjexpr.c ++++ /tmp/cocci-output-13861-ea9a45-disjexpr.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v, v.fld2); @@ -6235,7 +6270,7 @@ disjexpr_ver1.res diff = --- tests/disjexpr_ver1.c -+++ /tmp/cocci-output-29122-1b09b4-disjexpr_ver1.c ++++ /tmp/cocci-output-13861-5d7527-disjexpr_ver1.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld); @@ -6244,7 +6279,7 @@ disjexpr_ver2.res diff = --- tests/disjexpr_ver2.c -+++ /tmp/cocci-output-29122-499919-disjexpr_ver2.c ++++ /tmp/cocci-output-13861-6de2e3-disjexpr_ver2.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v.fld2, v); @@ -6253,7 +6288,7 @@ disjid.res diff = --- tests/disjid.c -+++ /tmp/cocci-output-29122-cd0c4e-disjid.c ++++ /tmp/cocci-output-13861-d045cf-disjid.c @@ -1,5 +1,5 @@ -int foo (int x, int z) { return 0; } -int foo (int y, int z) { return 0; } @@ -6267,7 +6302,7 @@ distribute.res diff = --- tests/distribute.c -+++ /tmp/cocci-output-29122-0783d5-distribute.c ++++ /tmp/cocci-output-13861-c623f9-distribute.c @@ -1,4 +1,4 @@ int main(int i) { @@ -6277,7 +6312,7 @@ dotcall.res diff = --- tests/dotcall.c -+++ /tmp/cocci-output-29122-2abb68-dotcall.c ++++ /tmp/cocci-output-13861-a91d0d-dotcall.c @@ -1,3 +1,2 @@ int main() { - xxx.foobar(); @@ -6285,7 +6320,7 @@ dots_comma.res diff = --- tests/dots_comma.c -+++ /tmp/cocci-output-29122-93f666-dots_comma.c ++++ /tmp/cocci-output-13861-da4d96-dots_comma.c @@ -1,4 +1,4 @@ int main(void) { @@ -6295,7 +6330,7 @@ double.res diff = --- tests/double.c -+++ /tmp/cocci-output-29122-61b5a2-double.c ++++ /tmp/cocci-output-13861-5d8787-double.c @@ -1,5 +1,5 @@ static void BChannel_proc_xmt(struct BCState *bcs) { - if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && (!skb_queue_len(&bcs->squeue))) { @@ -6306,7 +6341,7 @@ double_assign.res diff = --- tests/double_assign.c -+++ /tmp/cocci-output-29122-d732b9-double_assign.c ++++ /tmp/cocci-output-13861-8f3585-double_assign.c @@ -4,6 +4,5 @@ int main() { } @@ -6317,7 +6352,7 @@ double_lines.res diff = --- tests/double_lines.c -+++ /tmp/cocci-output-29122-c2aecf-double_lines.c ++++ /tmp/cocci-output-13861-876810-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); @@ -6330,7 +6365,7 @@ doublepos.res diff = --- tests/doublepos.c -+++ /tmp/cocci-output-29122-79e298-doublepos.c ++++ /tmp/cocci-output-13861-bf7c5d-doublepos.c @@ -1,5 +1,4 @@ int main() { - f(1,2); @@ -6340,7 +6375,7 @@ doubleswitch.res diff = --- tests/doubleswitch.c -+++ /tmp/cocci-output-29122-ceace0-doubleswitch.c ++++ /tmp/cocci-output-13861-1b6cfa-doubleswitch.c @@ -3,8 +3,6 @@ void zfLnxRecvEth(zdev_t* dev, zbuf_t* b #ifdef ZM_AVOID_UDP_LARGE_PACKET_FAIL zbuf_t *new_buf; @@ -6353,7 +6388,7 @@ doundo.res diff = --- tests/doundo.c -+++ /tmp/cocci-output-29122-7422f8-doundo.c ++++ /tmp/cocci-output-13861-5cd21d-doundo.c @@ -4,5 +4,5 @@ int main() { const s8 (*queue_priority_mapping)[2]; @@ -6364,7 +6399,7 @@ dowhile.res diff = --- tests/dowhile.c -+++ /tmp/cocci-output-29122-8a6ede-dowhile.c ++++ /tmp/cocci-output-13861-0c7520-dowhile.c @@ -1,7 +1,5 @@ int main() { do { @@ -6376,7 +6411,7 @@ dropbr.res diff = --- tests/dropbr.c -+++ /tmp/cocci-output-29122-db5c18-dropbr.c ++++ /tmp/cocci-output-13861-9e9ae9-dropbr.c @@ -1,5 +1,3 @@ int main () { - if (a) { @@ -6387,7 +6422,7 @@ dropcom.res diff = --- tests/dropcom.c -+++ /tmp/cocci-output-29122-5ef501-dropcom.c ++++ /tmp/cocci-output-13861-3596cf-dropcom.c @@ -2,10 +2,6 @@ int one() { return 0; } #endif /* XXX */ @@ -6402,7 +6437,7 @@ dropenderr.res diff = --- tests/dropenderr.c -+++ /tmp/cocci-output-29122-013d7e-dropenderr.c ++++ /tmp/cocci-output-13861-6989ab-dropenderr.c @@ -1,8 +1,6 @@ int main () { - if (x) goto end; @@ -6417,7 +6452,7 @@ dropf.res diff = --- tests/dropf.c -+++ /tmp/cocci-output-29122-750a6b-dropf.c ++++ /tmp/cocci-output-13861-97f07b-dropf.c @@ -1,3 +1,3 @@ int main() { - x = f(1) + f(3); @@ -6426,7 +6461,7 @@ dropparam.res diff = --- tests/dropparam.c -+++ /tmp/cocci-output-29122-bb60da-dropparam.c ++++ /tmp/cocci-output-13861-a0c969-dropparam.c @@ -2,12 +2,12 @@ int f(char *x, int y, char* z) { return; } @@ -6445,7 +6480,7 @@ dtest.res diff = --- tests/dtest.c -+++ /tmp/cocci-output-29122-fd4715-dtest.c ++++ /tmp/cocci-output-13861-a8befa-dtest.c @@ -1,5 +1,5 @@ int main() { struct sk_buff *e; @@ -6456,7 +6491,7 @@ eb1.res diff = --- tests/eb1.c -+++ /tmp/cocci-output-29122-a30410-eb1.c ++++ /tmp/cocci-output-13861-a2b672-eb1.c @@ -1,7 +1,13 @@ int func() { int c; @@ -6475,7 +6510,7 @@ edots.res diff = --- tests/edots.c -+++ /tmp/cocci-output-29122-03d070-edots.c ++++ /tmp/cocci-output-13861-ddbf98-edots.c @@ -1,6 +1,6 @@ void main(int i) { - foo[45]; @@ -6488,7 +6523,7 @@ edots_ver1.res diff = --- tests/edots_ver1.c -+++ /tmp/cocci-output-29122-576582-edots_ver1.c ++++ /tmp/cocci-output-13861-29bf4f-edots_ver1.c @@ -1,7 +1,7 @@ void main(int i) { - foo[45]; @@ -6503,7 +6538,7 @@ efi3.res diff = --- tests/efi3.c -+++ /tmp/cocci-output-29122-376346-efi3.c ++++ /tmp/cocci-output-13861-b689a9-efi3.c @@ -6,6 +6,6 @@ static efi_status_t virt_efi_get_time(ef goto exit; @@ -6515,7 +6550,7 @@ elsify.res diff = --- tests/elsify.c -+++ /tmp/cocci-output-29122-6fe254-elsify.c ++++ /tmp/cocci-output-13861-e094b2-elsify.c @@ -1,7 +1,7 @@ int main () { if (x) @@ -6529,7 +6564,7 @@ empty.res diff = --- tests/empty.c -+++ /tmp/cocci-output-29122-cf90fa-empty.c ++++ /tmp/cocci-output-13861-8f11e8-empty.c @@ -1,6 +1,6 @@ static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) { @@ -6541,7 +6576,7 @@ end_attr.res diff = --- tests/end_attr.c -+++ /tmp/cocci-output-29122-bdbc06-end_attr.c ++++ /tmp/cocci-output-13861-cab50a-end_attr.c @@ -1,10 +1,12 @@ int main() { - struct foo x autofree; @@ -6560,7 +6595,7 @@ end_commas.res diff = --- tests/end_commas.c -+++ /tmp/cocci-output-29122-dccd0c-end_commas.c ++++ /tmp/cocci-output-13861-7cff28-end_commas.c @@ -1,4 +1,6 @@ static struct i2c_client client_template = { - .name = "adv7175_client", @@ -6574,7 +6609,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/endif.c -+++ /tmp/cocci-output-29122-34338e-endif.c ++++ /tmp/cocci-output-13861-cad5cf-endif.c @@ -2,18 +2,23 @@ void f(int i) { x = 1; @@ -6602,7 +6637,7 @@ endnl.res diff = --- tests/endnl.c -+++ /tmp/cocci-output-29122-d4e5fd-endnl.c ++++ /tmp/cocci-output-13861-c9787a-endnl.c @@ -1,18 +1,36 @@ int main () { +#ifdef FOO @@ -6643,12 +6678,12 @@ endpos.res warning: s: metavariable p not used in the - or context code Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_1c6c98.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_1c6c98.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_6420b2.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_6420b2.ml Compilation OK! Loading ML code of the SP... diff = --- tests/endpos.c -+++ /tmp/cocci-output-29122-d9eb5d-endpos.c ++++ /tmp/cocci-output-13861-f8f9fd-endpos.c @@ -1,4 +1,5 @@ int main () { + main(); @@ -6667,7 +6702,7 @@ enum.res diff = --- tests/enum.c -+++ /tmp/cocci-output-29122-7b2278-enum.c ++++ /tmp/cocci-output-13861-35a34c-enum.c @@ -18,5 +18,5 @@ xxx static reg_errcode_t regex_compile () @@ -6678,7 +6713,7 @@ enum_assign.res diff = --- tests/enum_assign.c -+++ /tmp/cocci-output-29122-43bd52-enum_assign.c ++++ /tmp/cocci-output-13861-c0f620-enum_assign.c @@ -1,6 +1,7 @@ enum h { - a = 0, @@ -6692,20 +6727,20 @@ enumdots.res diff = --- tests/enumdots.c -+++ /tmp/cocci-output-29122-781a63-enumdots.c ++++ /tmp/cocci-output-13861-dabece-enumdots.c @@ -1,3 +1,2 @@ enum binder_work_type { - BINDER_WORK_TRANSACTION = 12, } t; exitc.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_518004.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_518004.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_36a266.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_36a266.ml Compilation OK! Loading ML code of the SP... Failure in rule starting on line 8 diff = --- tests/exitc.c -+++ /tmp/cocci-output-29122-118e13-exitc.c ++++ /tmp/cocci-output-13861-fc3098-exitc.c @@ -1,6 +1,6 @@ int main () { - f(a1); @@ -6722,7 +6757,7 @@ exp.res diff = --- tests/exp.c -+++ /tmp/cocci-output-29122-f68d11-exp.c ++++ /tmp/cocci-output-13861-81873a-exp.c @@ -1,14 +1,14 @@ int main(int i) { @@ -6745,7 +6780,7 @@ expnest.res diff = --- tests/expnest.c -+++ /tmp/cocci-output-29122-a7ef7d-expnest.c ++++ /tmp/cocci-output-13861-cd9a76-expnest.c @@ -2,5 +2,5 @@ int main() { x = 3 + 4; x = f() + 15; @@ -6756,7 +6791,7 @@ expopt.res diff = --- tests/expopt.c -+++ /tmp/cocci-output-29122-3ac480-expopt.c ++++ /tmp/cocci-output-13861-3c03cb-expopt.c @@ -1,5 +1,5 @@ int main() { int *x; @@ -6767,7 +6802,7 @@ expopt2.res diff = --- tests/expopt2.c -+++ /tmp/cocci-output-29122-786410-expopt2.c ++++ /tmp/cocci-output-13861-bce8bc-expopt2.c @@ -1,5 +1,5 @@ void main(int i) { @@ -6778,7 +6813,7 @@ expopt3.res diff = --- tests/expopt3.c -+++ /tmp/cocci-output-29122-d90c57-expopt3.c ++++ /tmp/cocci-output-13861-9aa37c-expopt3.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -6790,7 +6825,7 @@ expopt3_ver1.res diff = --- tests/expopt3_ver1.c -+++ /tmp/cocci-output-29122-8b1e3c-expopt3_ver1.c ++++ /tmp/cocci-output-13861-ce09a4-expopt3_ver1.c @@ -1,6 +1,6 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -6803,7 +6838,7 @@ expopt3_ver2.res diff = --- tests/expopt3_ver2.c -+++ /tmp/cocci-output-29122-de0a80-expopt3_ver2.c ++++ /tmp/cocci-output-13861-e688d3-expopt3_ver2.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { @@ -6815,7 +6850,7 @@ exprlist_comma.res diff = --- tests/exprlist_comma.c -+++ /tmp/cocci-output-29122-a93df1-exprlist_comma.c ++++ /tmp/cocci-output-13861-62c643-exprlist_comma.c @@ -1,4 +1,4 @@ int main(void) { @@ -6824,8 +6859,8 @@ } extra.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_6270c6.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_6270c6.ml -File "/tmp/ocaml_cocci_6270c6.ml", line 37, characters 4-6: +ocamlopt.opt -shared -o /tmp/ocaml_cocci_bc7e2c.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_bc7e2c.ml +File "/tmp/ocaml_cocci_bc7e2c.ml", line 37, characters 4-6: 37 | let ff = match List.nth __args__ 1 with Coccilib.Str x -> x | _ -> failwith "bad value" in ^^ Warning 26: unused variable ff. @@ -6833,7 +6868,7 @@ Loading ML code of the SP... diff = --- tests/extra.c -+++ /tmp/cocci-output-29122-12ce10-extra.c ++++ /tmp/cocci-output-13861-72579d-extra.c @@ -1,12 +1,25 @@ #ifdef FIRST -int main (int a, struct foo *b, struct bar *c) { @@ -6865,7 +6900,7 @@ failing_andany.res diff = --- tests/failing_andany.c -+++ /tmp/cocci-output-29122-695112-failing_andany.c ++++ /tmp/cocci-output-13861-d2f9e8-failing_andany.c @@ -1,13 +1,9 @@ static int smc_probe1(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) @@ -6883,7 +6918,7 @@ fields.res diff = --- tests/fields.c -+++ /tmp/cocci-output-29122-88e345-fields.c ++++ /tmp/cocci-output-13861-ed2c10-fields.c @@ -1,4 +1,7 @@ struct foo x = { + .a = 1, @@ -6896,7 +6931,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fieldsmin.c -+++ /tmp/cocci-output-29122-817053-fieldsmin.c ++++ /tmp/cocci-output-13861-dcc54c-fieldsmin.c @@ -1,5 +1,3 @@ struct foo x = { - .a = 1, @@ -6905,13 +6940,13 @@ }; finalize_only.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_c61e09.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_c61e09.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_10991b.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_10991b.ml Compilation OK! Loading ML code of the SP... find_long.res diff = --- tests/find_long.c -+++ /tmp/cocci-output-29122-d032d0-find_long.c ++++ /tmp/cocci-output-13861-3d76df-find_long.c @@ -3,8 +3,8 @@ long function() long a; int b; @@ -6926,7 +6961,7 @@ fix_flow_need.res diff = --- tests/fix_flow_need.c -+++ /tmp/cocci-output-29122-bf14c3-fix_flow_need.c ++++ /tmp/cocci-output-13861-de3582-fix_flow_need.c @@ -5,7 +5,6 @@ void main(int i) { if(1) { foo(); @@ -6938,7 +6973,7 @@ flex.res diff = --- tests/flex.c -+++ /tmp/cocci-output-29122-7fbda8-flex.c ++++ /tmp/cocci-output-13861-e46d5a-flex.c @@ -3,5 +3,5 @@ struct scmi_msg_resp_sensor_description struct { #define SENSOR_UPDATE_BASE(x) 3 @@ -6949,7 +6984,7 @@ fn_todo.res diff = --- tests/fn_todo.c -+++ /tmp/cocci-output-29122-60041e-fn_todo.c ++++ /tmp/cocci-output-13861-978208-fn_todo.c @@ -5,6 +5,6 @@ static void task_kill_later(struct asd_a struct Scsi_Host *shost = sas_ha->core.shost; struct sas_task *task = ascb->uldd_task; @@ -6961,7 +6996,7 @@ fnptr.res diff = --- tests/fnptr.c -+++ /tmp/cocci-output-29122-0a0374-fnptr.c ++++ /tmp/cocci-output-13861-f92f85-fnptr.c @@ -8,5 +8,5 @@ static int sci_request_irq(struct sci_po sci_er_interrupt, sci_rx_interrupt, sci_tx_interrupt, sci_br_interrupt, @@ -6973,14 +7008,14 @@ warning: line 6: should x be a metavariable? diff = --- tests/fnret.c -+++ /tmp/cocci-output-29122-b23eb9-fnret.c ++++ /tmp/cocci-output-13861-d5044d-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c -+++ /tmp/cocci-output-29122-3870ec-fnty.c ++++ /tmp/cocci-output-13861-fafe02-fnty.c @@ -1,4 +1,4 @@ -struct allfns { +struct newname { @@ -6990,14 +7025,14 @@ fntypedef.res diff = --- tests/fntypedef.c -+++ /tmp/cocci-output-29122-6910d6-fntypedef.c ++++ /tmp/cocci-output-13861-276059-fntypedef.c @@ -1 +1 @@ -typedef void (*toto_t)(int a, int b); +typedef void (*toto_t)(int a, int b, int c); format.res diff = --- tests/format.c -+++ /tmp/cocci-output-29122-ba3caa-format.c ++++ /tmp/cocci-output-13861-ded6c2-format.c @@ -1,5 +1,5 @@ int main () { - printf("one %d two\n", 1); @@ -7008,14 +7043,14 @@ } format2.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_7f6aa1.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_7f6aa1.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_459d0a.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_459d0a.ml Compilation OK! Loading ML code of the SP... diff = format string is 1x format string is 2x --- tests/format2.c -+++ /tmp/cocci-output-29122-2335a3-format2.c ++++ /tmp/cocci-output-13861-4c6c1d-format2.c @@ -1,4 +1,3 @@ int main () { foo("blah %x blah"); @@ -7024,7 +7059,7 @@ formatlist.res diff = --- tests/formatlist.c -+++ /tmp/cocci-output-29122-f4d7f0-formatlist.c ++++ /tmp/cocci-output-13861-5f18b2-formatlist.c @@ -1,10 +1,10 @@ int main () { foo("xyz %d abc"); @@ -7042,7 +7077,7 @@ fortest.res diff = --- tests/fortest.c -+++ /tmp/cocci-output-29122-7bc18a-fortest.c ++++ /tmp/cocci-output-13861-c9cf47-fortest.c @@ -1,18 +1,18 @@ int main() { - for(x=0; x!=10; x++) @@ -7082,7 +7117,7 @@ warning: line 4: should x be a metavariable? diff = --- tests/fortype.c -+++ /tmp/cocci-output-29122-1436df-fortype.c ++++ /tmp/cocci-output-13861-a92ccd-fortype.c @@ -1,4 +1,4 @@ int main () { - for (int x = 0; x!=10; x++) @@ -7093,7 +7128,7 @@ four.res diff = --- tests/four.c -+++ /tmp/cocci-output-29122-d888b3-four.c ++++ /tmp/cocci-output-13861-9f802e-four.c @@ -1,5 +1,3 @@ int main () { f(1); @@ -7103,7 +7138,7 @@ foura.res diff = --- tests/foura.c -+++ /tmp/cocci-output-29122-1c9e06-foura.c ++++ /tmp/cocci-output-13861-d3baa8-foura.c @@ -1,5 +1,4 @@ int main () { f(1); @@ -7113,14 +7148,14 @@ fp.res diff = --- tests/fp.c -+++ /tmp/cocci-output-29122-e22e7b-fp.c ++++ /tmp/cocci-output-13861-a0eb92-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fresh_id_script.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_4816dc.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_4816dc.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_12aa4e.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_12aa4e.ml File "tests/fresh_id_script.cocci", line 11, characters 5-14: Warning 26: unused variable fresh_ml0. File "tests/fresh_id_script.cocci", line 35, characters 5-14: @@ -7135,7 +7170,7 @@ fsh.res diff = --- tests/fsh.c -+++ /tmp/cocci-output-29122-7be7dc-fsh.c ++++ /tmp/cocci-output-13861-444fc4-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); @@ -7147,7 +7182,7 @@ warning: line 5: should x be a metavariable? diff = --- tests/fun.c -+++ /tmp/cocci-output-29122-a03130-fun.c ++++ /tmp/cocci-output-13861-96b377-fun.c @@ -1 +1,4 @@ +struct a { + int a; @@ -7156,7 +7191,7 @@ func.res diff = --- tests/func.c -+++ /tmp/cocci-output-29122-f06154-func.c ++++ /tmp/cocci-output-13861-647911-func.c @@ -1,6 +1,7 @@ static int hidg_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) @@ -7170,7 +7205,7 @@ funptr_array.res diff = --- tests/funptr_array.c -+++ /tmp/cocci-output-29122-3fa15b-funptr_array.c ++++ /tmp/cocci-output-13861-52486f-funptr_array.c @@ -1 +1 @@ -int (*x[2])(int x); +int (*x[2])(char x); @@ -7190,7 +7225,7 @@ gadget_misc.res diff = --- tests/gadget_misc.c -+++ /tmp/cocci-output-29122-ee4304-gadget_misc.c ++++ /tmp/cocci-output-13861-27a2a5-gadget_misc.c @@ -2,6 +2,5 @@ int main() { if(0) @@ -7201,7 +7236,7 @@ gadget_ninelets_typedef.res diff = --- tests/gadget_ninelets_typedef.c -+++ /tmp/cocci-output-29122-a93a5a-gadget_ninelets_typedef.c ++++ /tmp/cocci-output-13861-8347ce-gadget_ninelets_typedef.c @@ -1,21 +1,23 @@ typedef double MyFloat; @@ -7235,7 +7270,7 @@ gadget_remove_mpi_function_calls.res diff = --- tests/gadget_remove_mpi_function_calls.c -+++ /tmp/cocci-output-29122-e03ed7-gadget_remove_mpi_function_calls.c ++++ /tmp/cocci-output-13861-ceecd9-gadget_remove_mpi_function_calls.c @@ -2,6 +2,5 @@ int main(int argc, char **argv) { @@ -7246,7 +7281,7 @@ gadget_remove_used_fields.res diff = --- tests/gadget_remove_used_fields.c -+++ /tmp/cocci-output-29122-4505bd-gadget_remove_used_fields.c ++++ /tmp/cocci-output-13861-1c3549-gadget_remove_used_fields.c @@ -1,8 +1,8 @@ -struct particle_data { int i; int j; int k; } * P ; @@ -7268,7 +7303,7 @@ gadget_soa_select.res diff = --- tests/gadget_soa_select.c -+++ /tmp/cocci-output-29122-bd7d8b-gadget_soa_select.c ++++ /tmp/cocci-output-13861-d1fa01-gadget_soa_select.c @@ -1,5 +1,5 @@ struct sph_particle_data_soa_t { - int *Entropy; @@ -7279,7 +7314,7 @@ gadget_sorting_hook.res diff = --- tests/gadget_sorting_hook.c -+++ /tmp/cocci-output-29122-ab0e07-gadget_sorting_hook.c ++++ /tmp/cocci-output-13861-a1b18e-gadget_sorting_hook.c @@ -18,10 +18,24 @@ void soa_invalidate_aos__particle_data() int main() @@ -7308,7 +7343,7 @@ gadget_triplets_typedef.res diff = --- tests/gadget_triplets_typedef.c -+++ /tmp/cocci-output-29122-541287-gadget_triplets_typedef.c ++++ /tmp/cocci-output-13861-c239ca-gadget_triplets_typedef.c @@ -3,6 +3,8 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; @@ -7335,7 +7370,7 @@ gadget_triplets_typedef_ipcc.res diff = --- tests/gadget_triplets_typedef_ipcc.c -+++ /tmp/cocci-output-29122-8087c8-gadget_triplets_typedef_ipcc.c ++++ /tmp/cocci-output-13861-0da853-gadget_triplets_typedef_ipcc.c @@ -3,6 +3,7 @@ typedef double MyFloat; typedef long double MyLongDouble; typedef long double MyDoublePos; @@ -7356,7 +7391,7 @@ gcc_min_max.res diff = --- tests/gcc_min_max.c -+++ /tmp/cocci-output-29122-ddae5d-gcc_min_max.c ++++ /tmp/cocci-output-13861-2f95d0-gcc_min_max.c @@ -1,8 +1,8 @@ int main() { @@ -7373,7 +7408,7 @@ getc.res diff = --- tests/getc.c -+++ /tmp/cocci-output-29122-0086e9-getc.c ++++ /tmp/cocci-output-13861-7ed5b3-getc.c @@ -1,4 +1,4 @@ int IFoo_QueryInterface(int *iface, long *riid, void **ppv) { @@ -7383,7 +7418,7 @@ gilles-question.res diff = --- tests/gilles-question.c -+++ /tmp/cocci-output-29122-77763b-gilles-question.c ++++ /tmp/cocci-output-13861-babdd3-gilles-question.c @@ -2,8 +2,6 @@ void main(int i) { f(0); @@ -7396,7 +7431,7 @@ gotobreak.res diff = --- tests/gotobreak.c -+++ /tmp/cocci-output-29122-778969-gotobreak.c ++++ /tmp/cocci-output-13861-cc8a74-gotobreak.c @@ -11,5 +11,5 @@ static void sedlbauer_config(struct pcmc CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } @@ -7409,7 +7444,7 @@ warning: line 4: should y be a metavariable? diff = --- tests/hd.c -+++ /tmp/cocci-output-29122-218e0e-hd.c ++++ /tmp/cocci-output-13861-151cbf-hd.c @@ -1,3 +1,3 @@ #include "hd.h" @@ -7418,7 +7453,7 @@ headers.res diff = --- tests/headers.c -+++ /tmp/cocci-output-29122-f4759a-headers.c ++++ /tmp/cocci-output-13861-7819a5-headers.c @@ -10,12 +10,12 @@ static int empeg_write (struct usb_seria } @@ -7437,7 +7472,7 @@ hex.res diff = --- tests/hex.c -+++ /tmp/cocci-output-29122-920bfa-hex.c ++++ /tmp/cocci-output-13861-8ab2c7-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); @@ -7445,7 +7480,7 @@ hil1.res diff = --- tests/hil1.c -+++ /tmp/cocci-output-29122-08087b-hil1.c ++++ /tmp/cocci-output-13861-846a65-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, @@ -7457,12 +7492,12 @@ exn while in timeout_function idcon_ocaml.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_da1ba6.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_da1ba6.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_a5b4bc.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_a5b4bc.ml Compilation OK! Loading ML code of the SP... diff = --- tests/idcon_ocaml.c -+++ /tmp/cocci-output-29122-76230d-idcon_ocaml.c ++++ /tmp/cocci-output-13861-2e85ac-idcon_ocaml.c @@ -1,5 +1,5 @@ void f(void) { - g(a); @@ -7476,7 +7511,7 @@ idstr.res diff = --- tests/idstr.c -+++ /tmp/cocci-output-29122-44af67-idstr.c ++++ /tmp/cocci-output-13861-456075-idstr.c @@ -1,3 +1,3 @@ int main () { - printf("arena 0x%08x, numfree = %d\n", (unsigned)dt, dt->numfree); @@ -7485,7 +7520,7 @@ if.res diff = --- tests/if.c -+++ /tmp/cocci-output-29122-5dd921-if.c ++++ /tmp/cocci-output-13861-4011ef-if.c @@ -1,27 +1,37 @@ int main () { + before(); @@ -7527,7 +7562,7 @@ ifadd.res diff = --- tests/ifadd.c -+++ /tmp/cocci-output-29122-b75a8c-ifadd.c ++++ /tmp/cocci-output-13861-660a60-ifadd.c @@ -3,6 +3,7 @@ int main() { if (x) { one(); @@ -7542,7 +7577,7 @@ ifd.res diff = --- tests/ifd.c -+++ /tmp/cocci-output-29122-9d8df5-ifd.c ++++ /tmp/cocci-output-13861-418d08-ifd.c @@ -1,9 +1,13 @@ int main () { one(); @@ -7560,7 +7595,7 @@ ifdef1.res diff = --- tests/ifdef1.c -+++ /tmp/cocci-output-29122-ba89f6-ifdef1.c ++++ /tmp/cocci-output-13861-1e4eaf-ifdef1.c @@ -1,5 +1,8 @@ #include #include @@ -7573,7 +7608,7 @@ ifdef2.res diff = --- tests/ifdef2.c -+++ /tmp/cocci-output-29122-ca141b-ifdef2.c ++++ /tmp/cocci-output-13861-b4107e-ifdef2.c @@ -1,6 +1,11 @@ #include #include @@ -7589,7 +7624,7 @@ ifdef3.res diff = --- tests/ifdef3.c -+++ /tmp/cocci-output-29122-799c36-ifdef3.c ++++ /tmp/cocci-output-13861-4a026e-ifdef3.c @@ -2,6 +2,15 @@ #include #include @@ -7611,7 +7646,7 @@ warning: line 9: should irq_desc be a metavariable? diff = --- tests/ifdef4.c -+++ /tmp/cocci-output-29122-735169-ifdef4.c ++++ /tmp/cocci-output-13861-e34b56-ifdef4.c @@ -7,7 +7,10 @@ void init_IRQ(void) { @@ -7627,7 +7662,7 @@ ifdef5.res diff = --- tests/ifdef5.c -+++ /tmp/cocci-output-29122-6520ac-ifdef5.c ++++ /tmp/cocci-output-13861-49064d-ifdef5.c @@ -11,3 +11,11 @@ void init_IRQ(void) uselessCall(); } @@ -7643,7 +7678,7 @@ ifdef6.res diff = --- tests/ifdef6.c -+++ /tmp/cocci-output-29122-886a2f-ifdef6.c ++++ /tmp/cocci-output-13861-05b3b0-ifdef6.c @@ -1,5 +1,8 @@ #include #include @@ -7656,7 +7691,7 @@ ifdef6a.res diff = --- tests/ifdef6a.c -+++ /tmp/cocci-output-29122-e67061-ifdef6a.c ++++ /tmp/cocci-output-13861-ce4f44-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL @@ -7668,7 +7703,7 @@ ifdefmeta.res diff = --- tests/ifdefmeta.c -+++ /tmp/cocci-output-29122-2e2e38-ifdefmeta.c ++++ /tmp/cocci-output-13861-67ee91-ifdefmeta.c @@ -1,26 +1,30 @@ int main() { - buf = alloca(3 @@ -7737,7 +7772,7 @@ ifdefmeta1.res diff = --- tests/ifdefmeta1.c -+++ /tmp/cocci-output-29122-35e4c5-ifdefmeta1.c ++++ /tmp/cocci-output-13861-c192b6-ifdefmeta1.c @@ -1,17 +1,2 @@ int main() { - buf = alloca(3 @@ -7759,7 +7794,7 @@ ifdefmeta2.res diff = --- tests/ifdefmeta2.c -+++ /tmp/cocci-output-29122-08fe7a-ifdefmeta2.c ++++ /tmp/cocci-output-13861-725c93-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 @@ -7776,7 +7811,7 @@ ifdefmeta3.res diff = --- tests/ifdefmeta3.c -+++ /tmp/cocci-output-29122-c70d55-ifdefmeta3.c ++++ /tmp/cocci-output-13861-491005-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); @@ -7793,7 +7828,7 @@ ifend.res diff = --- tests/ifend.c -+++ /tmp/cocci-output-29122-768f2d-ifend.c ++++ /tmp/cocci-output-13861-49dc05-ifend.c @@ -3,5 +3,3 @@ static int vortex_debug = VORTEX_DEBUG; #else static int vortex_debug = 1; @@ -7803,7 +7838,7 @@ ifgoto.res diff = --- tests/ifgoto.c -+++ /tmp/cocci-output-29122-5e601e-ifgoto.c ++++ /tmp/cocci-output-13861-bee7ae-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) @@ -7817,7 +7852,7 @@ ifields.res diff = --- tests/ifields.c -+++ /tmp/cocci-output-29122-a5fbca-ifields.c ++++ /tmp/cocci-output-13861-f91778-ifields.c @@ -1,14 +1,16 @@ typedef struct tag_obj { int x; @@ -7840,7 +7875,7 @@ ifif.res diff = --- tests/ifif.c -+++ /tmp/cocci-output-29122-c57317-ifif.c ++++ /tmp/cocci-output-13861-df038b-ifif.c @@ -1,5 +1,13 @@ int main () { +#ifdef FOO1 @@ -7858,7 +7893,7 @@ ifreturn.res diff = --- tests/ifreturn.c -+++ /tmp/cocci-output-29122-4c2a94-ifreturn.c ++++ /tmp/cocci-output-13861-01c453-ifreturn.c @@ -1,31 +1,46 @@ int main () { if (x) { @@ -7920,7 +7955,7 @@ ifreturn3.res diff = --- tests/ifreturn3.c -+++ /tmp/cocci-output-29122-90dfd4-ifreturn3.c ++++ /tmp/cocci-output-13861-9f00cf-ifreturn3.c @@ -3,7 +3,10 @@ int GetExitCode (int iFlag_Code) if(iFlag_Code==OK) { return OK; @@ -7946,7 +7981,7 @@ ifreturn4.res diff = --- tests/ifreturn4.c -+++ /tmp/cocci-output-29122-3f3c4f-ifreturn4.c ++++ /tmp/cocci-output-13861-eebaff-ifreturn4.c @@ -2,10 +2,16 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { @@ -7970,7 +8005,7 @@ ifreturn6.res diff = --- tests/ifreturn6.c -+++ /tmp/cocci-output-29122-fe8d49-ifreturn6.c ++++ /tmp/cocci-output-13861-343956-ifreturn6.c @@ -3,7 +3,8 @@ int main () { blah(); goto end; @@ -7984,7 +8019,7 @@ ifzer.res diff = --- tests/ifzer.c -+++ /tmp/cocci-output-29122-2b1fe0-ifzer.c ++++ /tmp/cocci-output-13861-13afa4-ifzer.c @@ -3,6 +3,5 @@ int main() { and have lived on another thread's stack; that stack may have become unmapped meanwhile (CONFIG_DEBUG_PAGEALLOC). */ @@ -7995,7 +8030,7 @@ ifzz.res diff = --- tests/ifzz.c -+++ /tmp/cocci-output-29122-b9a439-ifzz.c ++++ /tmp/cocci-output-13861-cc8270-ifzz.c @@ -2,9 +2,9 @@ if 0 char c; #endif @@ -8011,7 +8046,7 @@ inc.res diff = --- tests/inc.c -+++ /tmp/cocci-output-29122-e607d0-inc.c ++++ /tmp/cocci-output-13861-b918ee-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 @@ -8020,7 +8055,7 @@ incl.res diff = --- tests/incl.c -+++ /tmp/cocci-output-29122-15863d-incl.c ++++ /tmp/cocci-output-13861-7bb463-incl.c @@ -1,6 +1,8 @@ +#include "before.h" #include @@ -8033,7 +8068,7 @@ incl2.res diff = --- tests/incl2.c -+++ /tmp/cocci-output-29122-ec3fa7-incl2.c ++++ /tmp/cocci-output-13861-10047f-incl2.c @@ -1,3 +1,4 @@ +#include "beginning.h" #include @@ -8042,7 +8077,7 @@ inclifdef.res diff = --- tests/inclifdef.c -+++ /tmp/cocci-output-29122-7f6a97-inclifdef.c ++++ /tmp/cocci-output-13861-e8d605-inclifdef.c @@ -1,4 +1,5 @@ #include +#include @@ -8052,7 +8087,7 @@ include.res diff = --- tests/include.c -+++ /tmp/cocci-output-29122-8685c1-include.c ++++ /tmp/cocci-output-13861-aa72d0-include.c @@ -1,8 +1,6 @@ #include @@ -8065,7 +8100,7 @@ incompatible_value.res diff = --- tests/incompatible_value.c -+++ /tmp/cocci-output-29122-2a4c54-incompatible_value.c ++++ /tmp/cocci-output-13861-b93a49-incompatible_value.c @@ -4,6 +4,6 @@ int main() { } @@ -8082,7 +8117,7 @@ inherited.res diff = --- tests/inherited.c -+++ /tmp/cocci-output-29122-5085c5-inherited.c ++++ /tmp/cocci-output-13861-7c6086-inherited.c @@ -6,5 +6,5 @@ void main(int i) { h(2); h2(2); @@ -8093,7 +8128,7 @@ inherited_ver1.res diff = --- tests/inherited_ver1.c -+++ /tmp/cocci-output-29122-465cfa-inherited_ver1.c ++++ /tmp/cocci-output-13861-d2f4a7-inherited_ver1.c @@ -3,8 +3,8 @@ void main(int i) { //g(1); f(2); @@ -8109,7 +8144,7 @@ inhmet.res diff = --- tests/inhmet.c -+++ /tmp/cocci-output-29122-abb957-inhmet.c ++++ /tmp/cocci-output-13861-c0606b-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; @@ -8118,7 +8153,7 @@ inhpos.res diff = --- tests/inhpos.c -+++ /tmp/cocci-output-29122-6d6a71-inhpos.c ++++ /tmp/cocci-output-13861-56a99e-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); @@ -8127,7 +8162,7 @@ warning: line 5: should var be a metavariable? diff = --- tests/initializer.c -+++ /tmp/cocci-output-29122-34720a-initializer.c ++++ /tmp/cocci-output-13861-f5cbff-initializer.c @@ -1,5 +1,6 @@ struct SHT var = { .f1 = toto1, @@ -8141,21 +8176,21 @@ inline.res diff = --- tests/inline.c -+++ /tmp/cocci-output-29122-341e42-inline.c ++++ /tmp/cocci-output-13861-860c39-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c -+++ /tmp/cocci-output-29122-80b18f-insdef.c ++++ /tmp/cocci-output-13861-15928b-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include int2bool-local.res diff = --- tests/int2bool-local.c -+++ /tmp/cocci-output-29122-2fe5ed-int2bool-local.c ++++ /tmp/cocci-output-13861-c0fdc9-int2bool-local.c @@ -1,8 +1,9 @@ int nxnypz1(){ - int x, y, z; @@ -8201,7 +8236,7 @@ introbrace.res diff = --- tests/introbrace.c -+++ /tmp/cocci-output-29122-4456e4-introbrace.c ++++ /tmp/cocci-output-13861-9c7c9f-introbrace.c @@ -1,8 +1,12 @@ int main() { - if (x) @@ -8220,7 +8255,7 @@ invert.res diff = --- tests/invert.c -+++ /tmp/cocci-output-29122-0156f4-invert.c ++++ /tmp/cocci-output-13861-1e1bf6-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; @@ -8229,7 +8264,7 @@ ip.res diff = --- tests/ip.c -+++ /tmp/cocci-output-29122-5b82b3-ip.c ++++ /tmp/cocci-output-13861-1c416c-ip.c @@ -2,10 +2,18 @@ void GetInfoDestTV(short sNoFo) { if(sNoFo == 1) @@ -8258,7 +8293,7 @@ ip2.res diff = --- tests/ip2.c -+++ /tmp/cocci-output-29122-d33775-ip2.c ++++ /tmp/cocci-output-13861-d9bc14-ip2.c @@ -1,11 +1,17 @@ void GetInfoDestTV(short sNoFo) { @@ -8283,7 +8318,7 @@ isococci.res diff = --- tests/isococci.c -+++ /tmp/cocci-output-29122-2a0d89-isococci.c ++++ /tmp/cocci-output-13861-80bcd3-isococci.c @@ -1,6 +1,4 @@ void f(int i) { @@ -8296,7 +8331,7 @@ warning: r: metavariable E not used in the - or context code diff = --- tests/isoif.c -+++ /tmp/cocci-output-29122-c9a45b-isoif.c ++++ /tmp/cocci-output-13861-614fa5-isoif.c @@ -1,4 +1,2 @@ int main () { - if (x == NULL) one(); else two(); @@ -8305,7 +8340,7 @@ isotest.res diff = --- tests/isotest.c -+++ /tmp/cocci-output-29122-f5c17f-isotest.c ++++ /tmp/cocci-output-13861-b0eb0f-isotest.c @@ -1,7 +1,6 @@ void main(int i) { @@ -8318,7 +8353,7 @@ isotest2.res diff = --- tests/isotest2.c -+++ /tmp/cocci-output-29122-d32214-isotest2.c ++++ /tmp/cocci-output-13861-3bb14f-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { @@ -8329,7 +8364,7 @@ iteration.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_b8d14a.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_b8d14a.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_17d4a1.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_17d4a1.ml Compilation OK! Loading ML code of the SP... 1 pending new file instances @@ -8338,7 +8373,7 @@ exn while in timeout_function iteration_after_merge.res Using native version of ocamlc/ocamlopt/ocamldep -ocamlopt.opt -shared -o /tmp/ocaml_cocci_fd4f01.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_fd4f01.ml +ocamlopt.opt -shared -o /tmp/ocaml_cocci_680df0.cmxs -g -I /build/coccinelle-1.1.0.deb/ocaml -I /usr/lib/ocaml /tmp/ocaml_cocci_680df0.ml Compilation OK! Loading ML code of the SP... exn while in timeout_function @@ -10810,48 +10845,48 @@ dh_shlibdeps -a dh_installdeb dh_ocaml -W: coccinelle doesn't resolve dependency on unit Parsing_hacks +W: coccinelle doesn't resolve dependency on unit Ograph_extended +W: coccinelle doesn't resolve dependency on unit Cpp_token_c +W: coccinelle doesn't resolve dependency on unit Includes_cache +W: coccinelle doesn't resolve dependency on unit Data +W: coccinelle doesn't resolve dependency on unit Cpp_token_c +W: coccinelle doesn't resolve dependency on unit Semantic_c +W: coccinelle doesn't resolve dependency on unit Type_annoter_c +W: coccinelle doesn't resolve dependency on unit Includes_cache +W: coccinelle doesn't resolve dependency on unit Regexp_pcre W: coccinelle doesn't resolve dependency on unit Lexer_parser W: coccinelle doesn't resolve dependency on unit Token_annot -W: coccinelle doesn't resolve dependency on unit Token_annot -W: coccinelle doesn't resolve dependency on unit Parsing_recovery_c -W: coccinelle doesn't resolve dependency on unit Regexp_pcre -W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci -W: coccinelle doesn't resolve dependency on unit Danger W: coccinelle doesn't resolve dependency on unit Control_flow_c +W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci +W: coccinelle doesn't resolve dependency on unit Type_annoter_c W: coccinelle doesn't resolve dependency on unit Parsing_stat -W: coccinelle doesn't resolve dependency on unit Semantic_c +W: coccinelle doesn't resolve dependency on unit Token_helpers +W: coccinelle doesn't resolve dependency on unit Token_annot +W: coccinelle doesn't resolve dependency on unit Danger +W: coccinelle doesn't resolve dependency on unit Regexp_pcre +W: coccinelle doesn't resolve dependency on unit Parsing_hacks W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci -W: coccinelle doesn't resolve dependency on unit Includes_cache W: coccinelle doesn't resolve dependency on unit Parsing_consistency_c -W: coccinelle doesn't resolve dependency on unit Token_helpers +W: coccinelle doesn't resolve dependency on unit Semantic_c W: coccinelle doesn't resolve dependency on unit Parsing_consistency_c -W: coccinelle doesn't resolve dependency on unit Ograph_extended -W: coccinelle doesn't resolve dependency on unit Parsing_stat -W: coccinelle doesn't resolve dependency on unit Token_views_c W: coccinelle doesn't resolve dependency on unit Includes -W: coccinelle doesn't resolve dependency on unit Data +W: coccinelle doesn't resolve dependency on unit Control_flow_c +W: coccinelle doesn't resolve dependency on unit Token_views_c W: coccinelle doesn't resolve dependency on unit Includes -W: coccinelle doesn't resolve dependency on unit Cpp_token_c -W: coccinelle doesn't resolve dependency on unit Lexer_parser -W: coccinelle doesn't resolve dependency on unit Regexp_pcre -W: coccinelle doesn't resolve dependency on unit Parsing_hacks -W: coccinelle doesn't resolve dependency on unit Includes_cache -W: coccinelle doesn't resolve dependency on unit Cpp_token_c -W: coccinelle doesn't resolve dependency on unit Type_annoter_c W: coccinelle doesn't resolve dependency on unit Danger -W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Parsing_recovery_c -W: coccinelle doesn't resolve dependency on unit Semantic_c -W: coccinelle doesn't resolve dependency on unit Data W: coccinelle doesn't resolve dependency on unit Token_helpers -W: coccinelle doesn't resolve dependency on unit Type_annoter_c +W: coccinelle doesn't resolve dependency on unit Parsing_hacks +W: coccinelle doesn't resolve dependency on unit Data +W: coccinelle doesn't resolve dependency on unit Lexer_parser +W: coccinelle doesn't resolve dependency on unit Parsing_stat +W: coccinelle doesn't resolve dependency on unit Parsing_recovery_c dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'coccinelle' in '../coccinelle_1.1.0.deb-1.1_arm64.deb'. -dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.1.0.deb-1.1_all.deb'. dpkg-deb: building package 'coccinelle-dbgsym' in '../coccinelle-dbgsym_1.1.0.deb-1.1_arm64.deb'. +dpkg-deb: building package 'coccinelle-doc' in '../coccinelle-doc_1.1.0.deb-1.1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../coccinelle_1.1.0.deb-1.1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -10859,12 +10894,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/11355/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/11355/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/28464 and its subdirectories -I: Current time: Sun Oct 9 19:01:55 -12 2022 -I: pbuilder-time-stamp: 1665385315 +I: removing directory /srv/workspace/pbuilder/11355 and its subdirectories +I: Current time: Tue Sep 7 14:48:41 +14 2021 +I: pbuilder-time-stamp: 1630975721