Hello,

devel/mercurial is not usable on -CURRENT after /src/sys/sys/fcntl.h
changes[1].

It compiles alright, but fails to start with the following message:

ImportError: /usr/local/lib/python2.5/site-packages/mercurial/osutil.so:
Undefined symbol "fdopendir"

since we don't have fdopendir() implemented in FreeBSD.

osutil.c contains the following code:

#ifdef AT_SYMLINK_NOFOLLOW
        dfd = open(path, O_RDONLY);
        dir = fdopendir(dfd);
#else   
        dir = opendir(path);
        dfd = -1;
#endif

So the problem didn't show up because AT_SYMLINK_NOFOLLOW was not
defined,  but after the change in fcntl.h mentioned above it got broken.

1: 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/fcntl.h.diff?r1=1.19;r2=1.20;f=h

Roman Bogorodskiy

Attachment: pgpVmjnbKmqSF.pgp
Description: PGP signature

Reply via email to