[i18n] translation.php init problem - FIX

Jan Schneider jan@horde.org
Tue, 20 Aug 2002 11:47:54 +0200


Zitat von Miroslav Pendev <miro@cybershade.us>:

> I found the problem.
> 
> It seems that sed pipes are not 100% correct when the source and the
> target files are the same. Altough, it may work with fast ATA100 HDD's,
> with
> my test K6-2 350MHz and 2GB HDD the result is [tragic] broken target file
> ;-)

My K6-2 200MHz made it well, so:

> It may be due to diffs between Linux and FreeBSD [no flame wars...]

Probably.
 
> Anyway, I made small patch that use /tmp/temp.po as temp file for the sed
> pipe.
> With temp file everything is OK, the init part works perfect ;-)

Slightly changed committed, thanks!

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft