From: Bernt Christandl <beb () mpe ! mpg ! de>
To: tru64-unix-managers
Subject: SUMMARY (and bug(?)-report): du-4.0b and getlogin(2)
Date: Tue, 29 Jul 1997 12:07:23 +0000 [thread overview]
Message-ID: <96078614710621.tru64-unix-managers.marc@archive.invalid> (raw)
Hello managers,
my question was:
> is getlogin(2) broken under du-4.0b???
>
> I have a small c-programm,
>
> #include <unistd.h>
> main() {
> char *val;
> val = getlogin();
> if ( val == (char *)NULL ) {
> perror("getlogin(2) failed");
> } else {
> printf("getlogin(2): login name = %s\n", val);
> }
> }
>
> which runs under du-4.0a and returns the loginname,
> while under du-4.0b an error is returned:
>
> getlogin(2) failed: Invalid argument
>
> Obviously i've missed something? What's the problem here?
The answer is NO.
But we think we have found a bug with CDE. The above described failure/
behaviour occurs only in those windows, that are opened automatically
remote at CDE-session login-time from another machine.
All these machines run under du-4.0b inclusive all patches from
patchkit 4 (DUV40BAS00004-19970609).
From our only du-4.0a machine no xterms/dxterms/dtterms were started
automatically at all (when saved for a cde-session via "exit").
I will now open a call at my dec-telefon-support...
Thanks for the bandwidth,
Bernt Christandl
reply other threads:[~1997-07-29 12:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox