On 09/03/11 14:47, Manolo Gouy wrote:
>> All (but especially Greg I guess...)
>>
>> I have an app that uses the FNFC, and the OSX version crashes quite =
>> often when I use the "BROWSE_SAVE_AS" mode - but the regular open file =
>> case seems to be fine...
>>
>> Now, the app has been kicking about for a while, but it's fairly =
>> specialist and there are a grand total of 3 users worldwide (myself and =
>> two others) and it was not until recently we noticed there's an issue. =
>> The regular workflow is such that the save-as case is seldom used, and =
>> even now there's only one of us who does use it much if at all... But we =
>> are about to deploy more widely, so we need to get it fixed...
>>
>> So, is anyone else seeing issues with the FNFC save-as option on OSX
>
> I see here, that there is a bug on OS X with the BROWSE_SAVE_FILE
> mode when the filter() function is used: the filter string needs to
> end with a "\n"; without it the program crashes. Do you see
> that as well ?
Sounds like I should add a check for this in filter()
and append a trailing \n if it's missing.
I just tried to replicate with the examples/native*.cxx
program, removing the trailing \n on the filter()
and it didn't crash. Tested on OSX Tiger.
Can you replicate with that program, and show me the
modified filter(), and describe the target system?
Perhaps it's OS specific.
Ian if you can replicate, please follow up with an
STR, and I'll jump on it.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev