[PATCH] two patches for 114771

Adriaan de Groot groot at kde.org
Fri Nov 25 11:42:50 GMT 2005


On Wednesday 23 November 2005 14:26, S.Çağlar Onur wrote:
> Çarşamba 23 Kasım 2005 15:14 tarihinde, Stefan Teleman şunları yazmıştı:
> > here are two patches based on 3.5rc1 (attached) for bug 114771.
>
> Jut saw while looking, from ktimezones.cpp
>
> -"/bin/awk" << "'{print \"??\\t+9999+99999\\t\" $2}'";
> + ......<< " | " << "/usr/bin/nawk " << "'{ print \"??\\t+9999+99999\\t\"
> $2 }' > " << temp....
>
> I think nawk not comes with all distros so hardcoding this into code is not
> a good idea, using /bin/awk is much more safer for compatibilty.

You mean "/usr/bin/env"  "awk", since awk doesn't necessarily live in /bin 
either. All the machines I have access to from here have awk in /usr/bin.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051125/6aa82717/attachment.sig>


More information about the kde-core-devel mailing list