[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Porting KDE 2 (1.90) to other Unixes ...
From:       Thomas Leitner <tom () radar ! tu-graz ! ac ! at>
Date:       2000-05-10 18:39:44
[Download RAW message or body]


Hi,

I've ported KDE 1.1.2 to Tru64 and thought I'd give 1.90 a try. While in
1.1.2 I took the quick & dirty approach in KDE 2 I want to make it better.

The first problem: Under Tru64, there's no "setenv" system call. In my
1.1.2 port, I used to work around this with something like this:

#define setenv(a, b, c) \
        { char buf[8192]; sprintf(buf, "%s=%s", a, b); putenv(buf); }

The question: Is there an include file which is included by *ALL* KDE 
source files where I can put such workarounds in order to avoid having
to mess with each individual source file? It would also help to work
around similar problems.

Thanks // Tom
-- 
--------------------------------------------------------------------------
Dr. Tom Leitner                             Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic