cvs commit: src/usr.sbin/yppush yppush_main.c

From: Thomas Quinot <thomas_at_FreeBSD.org>
Date: Wed, 16 Aug 2006 12:58:41 +0000 (UTC)
thomas      2006-08-16 12:58:41 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/yppush      yppush_main.c 
  Log:
  Remove unsafe use of asynchronous I/O (the SIGIO handler could cause
  incorrect reentrant calls to the libc memory manager).
  
  Add missing error handling:
    * for an incoming response with an incorrect tid;
    * for a failure to register the response RPC program,
  
  Fix error handling for failure to malloc job descriptor (this needs to
  be done before the transient RPC program is registered).
  
  PR:             bin/102143
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.22      +46 -118   src/usr.sbin/yppush/yppush_main.c
Received on Wed Aug 16 2006 - 12:58:42 UTC