cvs commit: src/lib/libc/stdlib grantpt.c

Joe Marcus Clarke marcus at FreeBSD.org
Thu Jul 7 17:48:41 GMT 2005


marcus      2005-07-07 17:48:40 UTC

  FreeBSD src repository (doc,ports committer)

  Modified files:
    lib/libc/stdlib      grantpt.c 
  Log:
  Fix ptsname(3) by converting it to use devname(3) to obtain the name of
  a tty device instead of the legacy minor number approach.  This is known to
  fix gnome-vfs' sftp module as well as kio_sftp and kdesu on -CURRENT.
  
  Thanks to scottl for the snprintf() approach idea.
  
  Reviewed by:    phk
  Tested by:      pav
                  mich
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.4       +4 -3      src/lib/libc/stdlib/grantpt.c


More information about the cvs-src mailing list