DragonFly BSD
DragonFly commits List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_descrip.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Jun 2006 09:58:04 -0700 (PDT)

dillon      2006/06/14 09:58:04 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_descrip.c 
  fcntl(.., F_SETFL, ..) should only do an FIOASYNC ioctl if the FASYNC
  bit has changed.   Otherwise a program just trying to set O_NONBLOCK might
  get an error from devices that don't like FIOASYNC.
  The 'pty' device master will fail on FIOASYNC if the slave has not been
  opened.  This bug caused rxvt to hang, but rxvt only set O_NONBLOCK and
  wasn't really at fault.
  Reported-by: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
  Revision  Changes    Path
  1.69      +7 -5      src/sys/kern/kern_descrip.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]