Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: fsvs & MacOS 10.4

fsvs
Discussion topic

Back to topic list

Re: fsvs & MacOS 10.4

Author pmarek
Full name P.Marek
Date 2006-08-22 09:48:49 PDT
Message On Tuesday 22 August 2006 15:33 Philipp Marek wrote:
> I now tried for several hours to find the magic combination of preprocessor
> defines, to get the functions lstat() and fstat() and the struct stat
> automatically mapped to lstat64() and fstat64() and struct stat64.
> I tried AC_SYS_LARGEFILE in configure.in and some combinations
> of -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64
> -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 but didn't get it.
>
> I read /usr/include/features.h, /usr/include/sys/cdefs.h
> and /usr/include/sys/stat.h but didn't get any wiser.
>
> Does anybody know how to get the automatic mapping 32 -> 64bit functions?
Well, never mind. The correct way is using *only* -D_FILE_OFFSET_BITS=64 - and
nothing else.

So the currently committed version has no longer lseek64() and similar, but
switches depending on system type.

If someone gets problems with files >=2GB, please tell.

Ben, could you please try again with current trunk?
Thank you!


Regards,

Phil


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

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

Messages

Show all messages in topic

Re: fsvs & 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: