summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
29ed3b1)
find a usable pty. Patch from Rob Leslie via Debian.
git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@22
456724a4-4300-0410-8514-
c89748c515a2
* Rewrite findtty() in bootlogd to recursively search /dev/ for the
correct device, to handle terminal devices for example in /dev/pty/.
Patch from Debian.
* Rewrite findtty() in bootlogd to recursively search /dev/ for the
correct device, to handle terminal devices for example in /dev/pty/.
Patch from Debian.
+ * Make sure bootlogd findpty() returns an error value when it fails to
+ find a usable pty. Patch from Rob Leslie via Debian.
-- Petter Reinholdtsen <pere@hungry.com> Sun, 12 Jul 2009 19:58:10 +0200
-- Petter Reinholdtsen <pere@hungry.com> Sun, 12 Jul 2009 19:58:10 +0200
- if (found < 0) return -1;
if (name) strcpy(name, tty);
if (name) strcpy(name, tty);