Article 167565 of comp.os.vms:
>>>lebo@bscr.uga.edu writes:
>	I'm having problems getting VMS Pine to run.  I'm using VMS Pine
>V3-91_Beta11 from Andy Harper in the UK.  I'm trying to run it on a DEC 
>3000/400 Alpha running VMS V6.2, UCX V4.1 ECO2 & MX V4.2.  The build went fine with
>no compile or link errors.  I'm trying to run PINE from the system account
>and get the following error:
> 
>     Bug in Pine Detected: "Received Abort Signal"

  Yes, this is caused by a bug in the build_path routine in the [.PINE]OS_VMS.C
  module of VMS pine. 

  Enclosed is a revised version that fixes it.  If it doesn'r, please contact me
  privately. This update is included in the next beta of PINE (B12).

Regards,

Andy Harper
Kings College London

















build_path(pathbuf, first_part, second_part)
    char *pathbuf, *first_part, *second_part;
{
    int n;

    if (first_part == NULL)
      sprintf(pathbuf, "%s", second_part);

    else if ((n=strlen(first_part)) && first_part[n-1] == '/')
      sprintf(pathbuf, "%.*s%s", n-1, first_part, second_part);

    else
      sprintf(pathbuf, "%s%s", first_part, second_part);
}


