* update_utmp.c (pty_update_utmp): Remember to chop off leading
authorTom Yu <tlyu@mit.edu>
Mon, 2 Jul 2001 21:58:00 +0000 (21:58 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 2 Jul 2001 21:58:00 +0000 (21:58 +0000)
commit76c660f9c2d17707678d41b6e5b0270a322a5a5f
tree04e5c6ab5fcdaea22ce8856a361e9076d82a1b1b
parent9290f6560a540ba9252433828c608c83035ba823
* update_utmp.c (pty_update_utmp): Remember to chop off leading
"/dev/" for the non-sysV case.  Handle lseek() returning non-zero
yet non-negative values (it usually does... :-), so that we can
actually write somewhere not at the beginning of the utmp file if
necessary.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13548 dc483132-0cff-0310-8789-dd5450dbe970
src/util/pty/ChangeLog
src/util/pty/update_utmp.c