anchor.diff:    Result := '';
   
     if GetVolumeInformation(PChar(Root), PChar(VolName), Length(VolName),
  -    nil, MaxLength, Flags, nil, NameSize)
  +	nil, MaxLength, Flags, nil, NameSize)
     then
  -    Result := VolName;
  +	Result := VolName;
  +{$ELSE}
  +  Result := ''; //Stop Gap, spanning support needs to be rethought for Linux
   {$ENDIF}
   end;
   
  
positive.code:   SetLength(Result, GetTempPath(Length(Result),  PChar(Result)));
  {$ENDIF}
  {$IFDEF LINUX}
    Result := '/etc/';
  {$ENDIF}
  end;
  { -------------------------------------------------------------------------- }
  {$IFDEF LINUX}
  function GetTempFileName(const Path, Mask : string): string;
  {
  Returns a unique filename for use as a temporary
  }
  var
    Buff: array[0..AB_MAXPATH] of char;
    IntMask : string;
  begin
    IntMask := Mask;
    if Copy(IntMask, Length(IntMask) - 5, 6) <> 'XXXXXX' then
      IntMask := IntMask + 'XXXXXX';
    StrPCopy(Buff, AbAddBackSlash(Path) + IntMask);
    mktemp(Buff);
    Result := StrPas(Buff);
  end;
  {$ENDIF}
  
  function AbGetTempFile(const Dir : string; CreateIt : Boolean) : string;
  {$IFDEF MSWINDOWS}
  var
    FileNameZ : array [0..259] of char;
    TempPath: string;
  {$ENDIF}
  begin
  {$IFDEF MSWINDOWS}
    if AbDirectoryExists(Dir) then
      TempPath := Dir
    else
      TempPath := AbGetTempDirectory;
    GetTempFileName(PChar(TempPath), 'VMS', Word(not CreateIt), FileNameZ);
    Result := string(FileNameZ);
  {$ENDIF}
  {$IFDEF LINUX}
    Result := GetTempFileName(Dir, 'VMSXXXXXX');
    if CreateIt then
      FileCreate(Result);
  {$ENDIF}
  end;
  { -------------------------------------------------------------------------- }
  
negative.code: 
  function AbGetVolumeLabel(Drive : Char) : string;
  {-Get the volume label for the specified drive.}
  {$IFDEF MSWINDOWS}
  var
    Root : string;
    Flags, MaxLength : DWORD;
    NameSize : Integer;
    VolName : string;
  {$ENDIF}
  begin
  {$IFDEF MSWINDOWS}
    NameSize := 0;
    Root := Drive + ':\';
    SetLength(VolName, MAX_VOL_LABEL);
  