On Aug 11, 11:15pm, Constantin Kaplinsky wrote:
Constantin --
I've downloaded and installed your tightvnc 1.2.5 for win32, and compiled it
on my SGI Indigo^2 under IRIX 6.5.16. The complile hit a glitch in vncauth.c
the function fchmod does not take a File *, but rather an int file descripter.
chmod(2) chmod(2)
NAME
chmod, fchmod - change mode of file
SYNOPSIS
#include <sys/types.h>
#include <sys/stat.h>
int chmod(const char *path, mode_t mode);
int fchmod(int fildes, mode_t mode);
To get around this, I modified the code as folows:
vncEncryptAndStorePasswd(char *passwd, char *fname)
{
FILE *fp;
int i;
unsigned char encryptedPasswd[8];
if ((fp = fopen(fname,"w")) == NULL) return 1;
/* fchmod(fp, S_IRUSR|S_IWUSR); */
chmod(fname, S_IRUSR|S_IWUSR);
This code compiled, and the viewer works.
The 1.2.5 version is significantly better than the 1.2.4 version I tried with
fast connections. Now I can run my wintel box from the Indigo at work witrh a
fast connection (100 base T), and still have the advantages of tight VNC for
dialups, when away.
CPU usage is still quite significant, so I guess I need a faster machine.
Ellis
> Subject: TightVNC 1.2.5 released
> Hello everyone,
>
> I'm pleased to announce new TightVNC 1.2.5 release.
>
> --
> With Best Wishes,
> Constantin
>
> P.S. I'm about to start working on a number of major changes in TightVNC,
> and I'll describe my plans in one of the following messages.
>
> --__--__--
>-- End of excerpt from Constantin Kaplinsky
--
=============================================================
Ellis Golub Phone: (215) 898-4629
Biochemistry Department FAX: (215) 898-3695
University of Pennsylvania [EMAIL PROTECTED]
School of Dental Medicine
4001 Spruce Street
Philadelphia, PA 19104-6003
Home: http://biochem.dental.upenn.edu/~ellis/
PGP: http://biochem.dental.upenn.edu/~ellis/public_key.html
==============================================================
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list