| To: | dgilbert@xxxxxxxxxxxx, khim@xxxxxxxxxxxx, paul@xxxxxxxx |
|---|---|
| Subject: | Re: [util-linux] Re: devfs + xinit Authentication error |
| From: | Andries.Brouwer@xxxxxx |
| Date: | Fri, 3 Mar 2000 00:50:17 +0100 (MET) |
| Cc: | devfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxxx, linuxguy@xxxxxxxxxxxxxx, rgooch@xxxxxxxxxxxxx |
| Sender: | owner-devfs@xxxxxxxxxxx |
- if ((tty = rindex(ttyn, '/')))
- ++tty;
- else
+ if (strncmp(ttyn, "/dev/", 5))
tty = ttyn;
+ else
+ tty = ttyn+5;
Thanks! Applied
Andries
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: devfs + xinit Authentication error, Paul Jakma |
|---|---|
| Next by Date: | Re: Congrats to Richard Gooch, Richard Gooch |
| Previous by Thread: | Re: devfs + xinit Authentication error, Richard Gooch |
| Next by Thread: | Re: Congrats to Richard Gooch, Richard Gooch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |