On Mon, 15 Nov 1999, Wes Peters wrote: > Kelly Yancey wrote: > > > > Is there a portable method for determining if the contents of two struct > > stat's are identical? > > On a single system, if st_dev and st_ino are equal, you must be referring > to the same object. If not, I'd like to hear about it. > The problem is that I need to be able to determine if the file's metadata has changed, not necessarily if two paths refer to the same file. I would use the st_ctime field except that not all file systems implement it. Kelly -- Kelly Yancey - [EMAIL PROTECTED] - Richmond, VA Director of Technical Services, ALC Communications http://www.alcnet.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: Portable way to compare st... Wes Peters
- Re: Portable way to compare st... Robert Watson
- Re: Portable way to compare st... Assar Westerlund
- Re: Portable way to compare st... Wes Peters
- Re: Portable way to compare st... Assar Westerlund
- Re: Portable way to compare st... Garance A Drosihn
- Re: Portable way to compare st... Assar Westerlund
- Re: Portable way to compare st... Wes Peters
- Re: Portable way to compare st... Assar Westerlund
- Re: Portable way to compare struct... Garance A Drosihn
- Re: Portable way to compare struct stat's? Kelly Yancey
- Re: Portable way to compare struct stat's? Bill Studenmund
- Re: Portable way to compare struct stat's? Kelly Yancey
- Re: Portable way to compare struct stat's? Peter Wemm
- Re: Portable way to compare struct stat's? Randell Jesup
- Re: Portable way to compare struct stat's? Wes Peters
- Re: Portable way to compare struct stat's? Garance A Drosihn
- Re: Portable way to compare struct stat's? Assar Westerlund
- Re: Portable way to compare struct stat... Robert Watson
- Re: Portable way to compare struct... Garance A Drosihn
- Re: Portable way to compare struct stat... Randell Jesup