[darcs-users] darcs feature request --- quick addition to boring file [OT]

Trent W. Buck trentbuck at gmail.com
Mon Dec 1 04:03:12 UTC 2008


On Sun, Nov 30, 2008 at 10:40:49PM -0500, Norman Ramsey wrote:
> /* samefile -- succeeds if two files exist and are the same */
>   if (buf1.st_dev == buf2.st_dev && buf1.st_ino == buf2.st_ino)

You could use stat(1) for that.


More information about the darcs-users mailing list