Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2008 14:05:02 -0300
From:      "Renato Botelho" <rbgarga@gmail.com>
To:        "Tim Kientzle" <kientzle@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.bin/tar matching.c
Message-ID:  <747dc8f30808181005j9edccfew46e67a14b34b1003@mail.gmail.com>
In-Reply-To: <200808180459.m7I4x0BJ057217@repoman.freebsd.org>
References:  <200808180459.m7I4x0BJ057217@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 18, 2008 at 1:58 AM, Tim Kientzle <kientzle@freebsd.org> wrote:
> kientzle    2008-08-18 04:58:54 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    usr.bin/tar          matching.c
>  Log:
>  SVN rev 181821 on 2008-08-18 04:58:54Z by kientzle
>
>  Strip leading "./" or ".//" from patterns and filenames
>  so that "./foo" matches "foo" (and vice versa).

Hello,

After this commit, i got this problem on -CURRENT

root@botelhor:/usr/src/usr.bin/tar# make
cc -O2 -pipe  -DBSDTAR_VERSION_STRING=\"2.5.5\"
-DPLATFORM_CONFIG_H=\"config_freebsd.h\" -I/usr/src/usr.bin/tar
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wunused-parameter -Wno-pointer-sign -c
/usr/src/usr.bin/tar/matching.c
/usr/src/usr.bin/tar/matching.c: In function 'pathmatch':
/usr/src/usr.bin/tar/matching.c:316: error: 'FNM_LEADING_DIR'
undeclared (first use in this function)
/usr/src/usr.bin/tar/matching.c:316: error: (Each undeclared
identifier is reported only once
/usr/src/usr.bin/tar/matching.c:316: error: for each function it appears in.)
/usr/src/usr.bin/tar/matching.c:316: error: too many arguments to
function 'bsdtar_fnmatch'
*** Error code 1

-- 
Renato Botelho



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?747dc8f30808181005j9edccfew46e67a14b34b1003>