Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: fsvs & openbsd

fsvs
Discussion topic

Back to topic list

Re: fsvs & openbsd

Author Julien TOUCHE <julien dot touche at lycos dot com>
Full name Julien TOUCHE <julien dot touche at lycos dot com>
Date 2006-11-17 08:33:59 PST
Message Ph. Marek wrote on 17/11/2006 14:07:
> Does this work for you?

here the result:

$ gmake
cc -idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/include/apr-1 -MM -MF .fsvs.d fsvs.c
ctags ac_list.c actions.c add_unvers.c build.c checksum.c commit.c
direnum.c est_ops.c export.c fsvs.c helper.c ignore.c info.c init.c
pwcache.c racallback.c remote.c status.c sync.c update.c waa.c
warnings.c actions.h add_unvers.h build.h checksum.h commit.h config.h
direnum.h est_ops.h export.h global.h helper.h ignore.h info.h init.h
interface.h pwcache.h racallback.h remote.h status.h sync.h update.h
waa.h warnings.h
Duplicate entry in file direnum.c, line 118: dir__start_enum
Second entry ignored
Duplicate entry in file direnum.c, line 131: dir__enum
Second entry ignored
Duplicate entry in file direnum.c, line 148: dir__close
Second entry ignored
Duplicate entry in file direnum.c, line 160: dir__get_dir_size
Second entry ignored
Duplicate entry in file global.h, line 286: DEBUGP
Second entry ignored
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/include/apr-1 -Os
-DFSVS_VERSION='"trunk:479"' -c -o fsvs.o fsvs.c
fsvs.c: In function `_DEBUGP':
fsvs.c:101: warning: passing arg 1 of `localtime' from incompatible
pointer type
fsvs.c: In function `_STOP':
fsvs.c:152: warning: passing arg 1 of `localtime' from incompatible
pointer type
cc -L/usr/local/lib -L/openpkg/lib -lsvn_subr-1 -lsvn_ra-1
-lsvn_client-1 -lpcre fsvs.o ac_list.o actions.o add_unvers.o build.o
checksum.o commit.o direnum.o est_ops.o export.o helper.o ignore.o
info.o init.o pwcache.o racallback.o remote.o status.o sync.o update.o
waa.o warnings.o -o fsvs
commit.o(.text+0xd5f): In function `ci__getmsg':
: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libsv​n_subr-1.so.0.0: warning: sprintf() is often
misused, please use snprintf()
commit.o(.text+0xd6a): In function `ci__getmsg':
: warning: strcat() is almost always misused, please use strlcat()
-rwx------ 1 touche wheel 153222 Nov 17 15:50 fsvs

$ ./fsvs status|head -10
N... 153 ./.ac_list.d
N... 92 ./.actions.d
N... 108 ./.add_unvers.d
N... 59 ./.build.d
N... 84 ./.checksum.d
N... 130 ./.commit.d
N... 74 ./.direnum.d
N... 111 ./.est_ops.d
N... 91 ./.export.d
N... 109 ./.fsvs.d

$ ./fsvs st -d |head -10
15:52:49.134 main[fsvs.c:375] no argument at optind=3 of 3
15:52:49.166 main[fsvs.c:480] LC_ALL gives C
15:52:49.166 main[fsvs.c:487] LC_CTYPE gives C
15:52:49.166 main[fsvs.c:498] codeset found to be 646
15:52:49.166 main[fsvs.c:507] codeset: using identity
15:52:49.166 main[fsvs.c:528] optind=2 per_sts=100 action=status
15:52:49.166 main[fsvs.c:531] argument 1: st
15:52:49.167 ign__new_pattern[ignore.c:725] getting 1 new entries - max
is 0, used are 0
15:52:49.167 ign__new_pattern[ignore.c:784] new pattern INODE:0:0:221
15:52:49.167 ign___init_pattern_i​nto[ignore.c:256] pattern: case, ignore

$ gmake run-tests 2>&1 | tee test.log01a
gmake -C test BINARY=/share2/tmp/_​testing/fsvs/src/fsv​s
gmake[1]: Entering directory `/share2/tmp/_testin​g/fsvs/src/test'
Preparing default repository.
/share2/tmp/_testing​/fsvs/src/test/001_i​nit_dir: line 23: seq: command
not found
"":23: NOK: shell error
gmake[1]: *** [/tmp/fsvs-test-1000​/default-repository]​ Error 1
gmake[1]: Leaving directory `/share2/tmp/_testin​g/fsvs/src/test'
gmake: *** [run-tests] Error 2

no locale problem but
=> seq is linux/GNU only ...
prefer something like
j=0; while [ $j -lt 10 ]; do ...; j=`expr $j + 1`; done

there is another way for openbsd with jot
http://www.openbsd.o​rg/cgi-bin/man.cgi?q​uery=jot&apropos​=0&sektion=0​&manpath=OpenBSD+Cur​rent&arch=i386​&format=html

using jot for the test, with (001, 009, 11, 13, 19)
23c23
< jot 99999 1 > $filename
---
> seq 1 99999 > $filename

also
(011 & 015) md5sum -> md5

it seems to work (see joined file)
congratulations :)


Regards

        Julien

« Previous message in topic | 26 of 29 | Next message in topic »

Messages

Show all messages in topic

Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-17 09:42:51 PDT
     Re: fsvs &amp; openbsd Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> 2006-08-17 11:30:08 PDT
         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-17 12:30:45 PDT
     Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-17 12:55:51 PDT
     Re: fsvs &amp; openbsd benjaminm Benjamin M. 2006-08-17 19:51:31 PDT
         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-18 08:26:04 PDT
             Re: fsvs &amp; MacOS 10.4 benjaminm Benjamin M. 2006-08-19 15:49:20 PDT
                 Re: fsvs &amp; MacOS 10.4 pmarek P.Marek 2006-08-22 06:33:10 PDT
                     Re: fsvs &amp; MacOS 10.4 pmarek P.Marek 2006-08-22 09:48:49 PDT
                         Re: fsvs &amp; MacOS 10.4 benjaminm Benjamin M. 2006-08-22 11:07:13 PDT
     Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-18 12:21:26 PDT
         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-19 12:06:29 PDT
             Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-19 13:47:57 PDT
                 Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-20 11:37:37 PDT
                     Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-20 11:59:18 PDT
                         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-22 05:40:39 PDT
                             Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-22 09:49:50 PDT
                                 Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-22 10:30:46 PDT
                                     Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-22 13:30:19 PDT
                                         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-25 02:41:33 PDT
                                         Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-11-15 06:31:49 PST
                                             Re: fsvs &amp; openbsd pmarek P.Marek 2006-11-15 23:42:25 PST
                                             Re: fsvs &amp; openbsd pmarek P.Marek 2006-11-16 00:15:11 PST
                                                 Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-11-16 01:32:11 PST
                                                     Re: fsvs &amp; openbsd pmarek P.Marek 2006-11-17 05:07:51 PST
Page: of 2 « Previous | Next »
Messages per page: