Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 14:45:50 -0700 (PDT)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/pccard/pccardd file.c
Message-ID:  <200105302145.f4ULjoP37216@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2001/05/30 14:45:50 PDT

  Modified files:
    usr.sbin/pccard/pccardd file.c 
  Log:
  From the PR:
  	The PCCard daemon can hang indefinately while reading its
  	configuration file. If the last line of the file is a comment line
  	that does not end in a newline, the program goes into an infinite
  	loop searching for the non-existent newline.
  
  This fix, provided by the PR, will allow files ending without a newline
  to be read without hanging.
  
  Submitted by: Crist J. Clark <cjclark@alum.mit.edu>
  PR: bin/25791
  
  Revision  Changes    Path
  1.32      +3 -5      src/usr.sbin/pccard/pccardd/file.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105302145.f4ULjoP37216>