Re: Humble question

2023-03-19 Thread Henrik Frisk
Den sön 19 mars 2023 kl 12:04 skrev Henrik Frisk :

>
>
> Den lör 18 mars 2023 kl 21:55 skrev Oswald Buddenhagen <
> oswald.buddenha...@gmx.de>:
>
>> On Sat, Mar 18, 2023 at 07:00:27PM +0100, Henrik Frisk wrote:
>> >sync.c:1207:8: error: implicit declaration of function 'fdatasync'
>> >[-Werror,-Wimplicit-function-declaration]
>> >
>> >Do you have a workaround for that?
>> >
>> --- a/src/common.h
>> +++ b/src/common.h
>> @@ -172,7 +172,7 @@ void flushn( void );
>>   char *xvasprintf( const char *fmt, va_list ap );
>>   void xprintf( const char *fmt, ... );
>>
>> -#if !defined(_POSIX_SYNCHRONIZED_IO) || _POSIX_SYNCHRONIZED_IO <= 0
>> +#if 1 //!defined(_POSIX_SYNCHRONIZED_IO) || _POSIX_SYNCHRONIZED_IO <= 0
>>   # define fdatasync fsync
>>   #endif
>>
>> should do, but i wonder what the reason for the misdetection is. either
>> the macos headers are botched, or the documentation, or i misinterpreted
>> something.
>>
>> I think it's that the headers are botched, you can read about it here:
>
> https://trac.macports.org/ticket/62838
>
> Anyway, it works now and it seems to have resolved the issue too!
>

That is, it almost works. Not sure if this is an mbsync issue, or a
configuration issue. It appears to connect to the service but it doens't
retrieve/see and mail:

Processed 19 box(es) in 1 channel(s),
pulled 0 new message(s) and 0 flag update(s),
expunged 0 message(s) from near side,
pushed 0 new message(s) and 0 flag update(s),
expunged 0 message(s) from far side.

although there are new email. I have a setup with two outlook accounts and
the other one works fine.

any hints are welcome.

/h

>
___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Re: Humble question

2023-03-19 Thread Henrik Frisk
Den lör 18 mars 2023 kl 21:55 skrev Oswald Buddenhagen <
oswald.buddenha...@gmx.de>:

> On Sat, Mar 18, 2023 at 07:00:27PM +0100, Henrik Frisk wrote:
> >sync.c:1207:8: error: implicit declaration of function 'fdatasync'
> >[-Werror,-Wimplicit-function-declaration]
> >
> >Do you have a workaround for that?
> >
> --- a/src/common.h
> +++ b/src/common.h
> @@ -172,7 +172,7 @@ void flushn( void );
>   char *xvasprintf( const char *fmt, va_list ap );
>   void xprintf( const char *fmt, ... );
>
> -#if !defined(_POSIX_SYNCHRONIZED_IO) || _POSIX_SYNCHRONIZED_IO <= 0
> +#if 1 //!defined(_POSIX_SYNCHRONIZED_IO) || _POSIX_SYNCHRONIZED_IO <= 0
>   # define fdatasync fsync
>   #endif
>
> should do, but i wonder what the reason for the misdetection is. either
> the macos headers are botched, or the documentation, or i misinterpreted
> something.
>
> I think it's that the headers are botched, you can read about it here:

https://trac.macports.org/ticket/62838

Anyway, it works now and it seems to have resolved the issue too!

Thanks!

/Henrik
___
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel