Re: [BUGS] More SSL questions..

Andrew Dunstan <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>

Tom Lane wrote:

>"T.J." <[email protected]> writes:
>  
>
>>Has anyone else tested out the use of client certs with the new win 
>>code? Rebuilt the latest from scratch and I started getting SSL SYSCALL, 
>>so I went into fe-secure.c, and commented out line 842 (again), and now 
>>it works (again). Any ideas why commenting that line is such a 
>>penicillin? Or rather, why that if statement is causing such problems. 
>>    
>>
>
>Doh --- isn't fstat's st_ino a meaningless value on Windows?
>  
>


Pretty much, yes. See 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__fstat.2c_._fstati64.asp 
and 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__stat.2c_._wstat.2c_._stati64.2c_._wstati64.asp

The latter states:  "The inode, and therefore *st_ino*, has no meaning 
in the FAT, HPFS, or NTFS file systems." The fstat page doesn't even 
refer to it at all.

cheers

andrew


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.