[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: .pdpinitrc and .cssinitrc [include_paths fix!]



Regarding this bug from a while back: we just upgraded our systems here to 
Fedora Core 2 with a modern gcc compiler, and encountered this bug.  Turns 
out it was a problem in cssProgSpace::GetFile() -- it was not doing the 
requisite fh.close(); fh.clear(); after the first fh.open() failed, leaving 
the bad() signal from the first failed load.

The 3.2a source code has been updated with this fix -- downloadable from:

ftp://grey.colorado.edu/pub/oreilly/pdp++/pdp++_3.2a_src.tar.gz

enjoy,

- Randy

>I just verified that it still works for me.. Have you tried listing the 
>include_paths that are present when you start bp++ outside of your home dir?
>
>bp++> include_paths.List();
>[8] 
>{ /home/oreilly, /usr/local/pdp++, /usr/local/pdp++/css/include, /usr/local/pdp++/defaults, /home/oreilly/mypdp++, /home/oreilly/pdp++, /home/oreilly/mypdp++/defaults, /home/oreilly/pdp++/defaults,}
>bp++>
>
>this is what I get: if it doesn't include your home directory, then that is 
>the problem.  it gets this from the HOME env variable: make sure that is set 
>properly:
>
>30 grey:.../sims/pfc>echo $HOME
>/home/oreilly
>-- 
>
>                                - Randy
>
>On Sunday 21 March 2004 10:27 pm, Paul Davidson wrote:
>> The manual indicates that .pdpinitrc should be
>> executed on startup if it exists in the user's home
>> directory.  If I run bp++ from my home directory
>> .pdpinitrc is executed but from any other directory it
>> isn't. I need it to always run so I can modify my
>> taMisc::include_paths.  Any idea what I might be doing
>> wrong?
>>
>> Paul