Re: OOo 1.1.4 build breaks in Python

James McKenzie <[email protected]>
Newsgroups gmane.comp.openoffice.devel.porting
Message-ID <[email protected]>
James McKenzie wrote:

> eric.bachard wrote:
>
>> Hi,
>>
>> James McKenzie a écrit :
>>
>>> Found that the 'readline' enclosed with MacOSX 10.4 does not include 
>>> this function as well as four addtional functions called from the 
>>> readline.c code.
>>
>>
>>
>> Interesting... What are the four additional functions called you 
>> mention ?
>>
> The four functions or variables (including the mentioned rl_event_hook 
> function which I determined to be of type int) are:
>
> int rl_event_hook
> rl_insert_text (char *)
> history_truncate_file (char *,  int)
> emacs_meta_keymap (according to /usr/include/history.h is no longer 
> supported in MacOSX 10.4 [and possibly not supported in MacOSX 10.3.9])
>
>>> The question should now be:  does readline.c need to be compiled in 
>>> OOo 1.1.4/5 (SRX645) or not?
>>
>>
>>
>> Good question. I'll investigate.
>>
>>
> Thank you, Eric.  I also found another readline.c in the sal module.

Update:

I decided to check the code for Python.  Reviewed several web sites and 
also checked out the latest stable release of Python (2.4.1) and it 
appears that the readline.c code has not been updated/changed (why fix 
something that is not broken.)  I also figured out what the 
history_truncate_file function does and could add in code to duplicate 
this function, but I think that a look at the readline program code is 
in order. 

James McKenzie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.