v13i078: Sun RPC, release 3.9, Part01/15 (FIX)

Mark Shand shand at cad.jmrc.eecs.unsw.oz
Fri Mar 11 13:03:26 AEST 1988


Declaration of fhandle in rpcsvc/mount.x is WRONG.  It conflicts with that
in rpcsvc/nfs_prot.x and produces stubs that aren't compatible with
SUNOS 3.4 NFS.  The problem is that fhandle is declared as a variable
length opaque object whereas it should be fixed.

Here is the fix
*** rpcsvc/mount.x.orig	Tue Mar  8 15:28:58 1988
--- rpcsvc/mount.x	Thu Mar 10 14:52:08 1988
***************
*** 45,51 ****
   * or a directory. The file handle can contain whatever information the
   * server needs to distinguish an individual file.
   */
! typedef opaque fhandle<FHSIZE>;	
  
  /*
   * If a status of zero is returned, the call completed successfully, and 
--- 45,51 ----
   * or a directory. The file handle can contain whatever information the
   * server needs to distinguish an individual file.
   */
! typedef opaque fhandle[FHSIZE];	
  
  /*
   * If a status of zero is returned, the call completed successfully, and 



More information about the Comp.sources.bugs mailing list