Patch-ID# 101128-04
Keywords: pcnfs domainname getXbyY Wshelper winsock NIS oracle blocking hook
Synopsis: PC-NFS 5.0: Winsock jumbo patch rev. d 
Date: Nov/18/94

Solaris Release:  

SunOS Release: 

Unbundled Product: PC-NFS

Unbundled Release: 5.0

Relevant Architectures: i386
NOTE:PC

BugId's fixed with this patch: 1135363 1152806 1159792 1178744 pcn2946 pcn3152 pcn3567

Changes incorporated in this version: 1159792 1178744

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch:  

Patches required with this patch: 

Obsoleted by: 
	NOTE:5.1a

Files included with this patch: 

    winsock.dll
    wshelper.exe

Problem Description: 

1135363   A number of sites have reported problem running winsocket apps.
          with NIS.  Known failing apps. are:  Select Mail, Eudora, WRQ's PC
          Xserver.  When using the local services, things work fine.  Also, 
          wshelper does not contain a version number.

1152806   PC-NFS 5.0 winsock jumbo patch rev. b (101128-02) doesn't work in
          non-NIS environment.

1159792   Winsock doesn't work with Oracle SQLnet applications.

1178744   Incorrect override of default blocking hook in winsock app. causes 
          it to hang.

pcn2946   When the timeout pointer in the select() call to winsock is NULL, 
          it causes GPFs.  It should block until the requested event occurs 
          instead.

pcn3152   Applications that intercept Helper messages posted by wshelper for
          winsock can leave wshelper and winsock in a deadlock condition.

pcn3567	  IOCTL socket with FIONREAD as second parameter only modifies the 
          low 16 bits of the information pointed to by the last parameter. 
          The last parameter should be a treated as a pointer to a long 
          integer not a short integer.

This patch also solves the following problems:

          Certains getXbyY database calls could fail on NIS systems that 
          were using odd byte domainname lengths.  Properly aligned domains 
          names would not experience these failures.

          NIS lookups would fail on some non-Sun NIS implementations and 
          when using NIS in an NIS+ environment.

          Certain socket calls would return incorrect error codes.

          WSAStartup() could fail with WSASYSNOTREADY when run repeatedly 
          without unloading the dll.  In severe cases a GPF could result.


Patch Installation Instructions: 

    This patch consists of two files.  On the system where PC-NFS is 
    installed save the existing files and replace them with the new files.
    Reboot the PC.

    Example:

	C:
	COPY \NFS\WINSOCK.DLL \NFS\WINSOCK.FCS
	COPY \NFS\WSHELPER.EXE \NFS\WSHELPER.FCS
	COPY A:\WINSOCK.DLL \NFS
	COPY A:\WSHELPER.EXE \NFS

    All drive letter and directory name references are PC-NFS defaults.  If
    you have installed PC-NFS or the patch files on a different drive, or in 
    a different directory, substitute your drive and directory names in the 
    example commands.


