Re: svn: /phd/trunk/phpdotnet/phd/Package/PHP/ EnhancedCHM.php
| From: | Philip Olson | Date: | Thu, 03 Mar 2011 03:32:47 +0000 |
| Subject: | Re: svn: /phd/trunk/phpdotnet/phd/Package/PHP/ EnhancedCHM.php | ||
| References: | 1 2 3 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-7829@lists.php.net to get a copy of this message | ||
On Feb 24, 2011, at 12:33 AM, Richard Quadling wrote:
> 2011/2/24 Philip Olson <philip@roshambo.org>:
>>
>> On Feb 23, 2011, at 5:47 AM, Richard Quadling wrote:
>>
>>> rquadling Wed, 23 Feb 2011 13:47:46 +0000
>>>
>>> Revision:
>>> http://svn.php.net/viewvc?view=revision&revision=308601
>>>
>>> Log:
>>> Updated enhanced format to use TEMP and to cache the usernotes.
>>> Uses bz2 extension rather than external executable.
>>> Decompresses and converts all.bz2 on the fly - no all.bz2 or all files saved.
>>
>> Why use TEMP at all? It's causing errors for people (*nix users) without it being set.
>> I wrote a patch that checks and uses Config::output_dir() if TEMP is not set, but now wonder why it
>> was changed so haven't committed.
>
>
> In a word - caching. The CHMs are built for many languages. The
> current build-chms.php script wipes the output directory between each
> manual build.
<snip>
We could alter build-chms.php ... but in the meantime, I replaced TEMP with sys_get_temp_dir() so
it'll work on other systems.
Regards,
Philip