Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: fsvs & openbsd

fsvs
Discussion topic

Back to topic list

Re: fsvs & openbsd

Author pmarek
Full name P.Marek
Date 2006-08-25 02:41:33 PDT
Message On Tuesday 22 August 2006 22:30 Julien TOUCHE wrote:
> one step more.
>
> why there is so much path in -idirafter ... ?
> would it be better to have configure options to set lib/include path ?
I use -idirafter instead of -I to let gcc know that I don't want these include
files listed as dependencies.
You are right, using autoconf/configure would probably be better, but I don't
really know autoconf ... what I have is pasted together from examples.
Can you help?

> est_ops.c: In function `ops__string_to_dev':
> est_ops.c:81: error: `__S_IFLNK' undeclared (first use in this function)
> est_ops.c:81: error: (Each undeclared identifier is reported only once
> est_ops.c:81: error: for each function it appears in.)
> est_ops.c:95: error: `__S_IFCHR' undeclared (first use in this function)
> est_ops.c:95: error: `__S_IFBLK' undeclared (first use in this function)
> est_ops.c:99: error: `__S_IFMT' undeclared (first use in this function)
I use these macros to get a correct unix-mode for devices and symlinks. If I
get "symlink /path/to/target" from the repository and svn:special-file is
set, I try to "fake" a correct unix-mode internally.
And as for __S_IFMT:
    #define __S_IFMT 0170000 /* These bits determine file type. */
I use that to mask the needed bits.


Is there something like this on BSD? If not, I'll have to do that some other
way.


Regards,

Phil

--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

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

Messages

Show all messages in topic

                                                         Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-11-17 08:33:59 PST
                                                             Re: fsvs &amp; openbsd pmarek P.Marek 2006-11-17 09:00:16 PST
                                                             Re: fsvs &amp; openbsd pmarek P.Marek 2006-11-17 10:50:23 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-18 00:25:28 PST
Page: of 2 « Previous | Next »
Messages per page: