cvs commit: src/usr.bin/tar matching.c

Renato Botelho rbgarga at gmail.com
Mon Aug 18 17:31:04 UTC 2008


On Mon, Aug 18, 2008 at 1:58 AM, Tim Kientzle <kientzle at 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 at 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


More information about the cvs-src mailing list