Date: Tue, 5 Jun 2007 10:10:36 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 120976 for review Message-ID: <200706051010.l55AAat0069644@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=120976 Change 120976 by rdivacky@rdivacky_witten on 2007/06/05 10:09:57 *at syscalls are defined by POSIX so unBSDify the definition of AT_FDCWD. Affected files ... .. //depot/projects/soc2007/rdivacky/linux_at/sys/sys/fcntl.h#3 edit Differences ... ==== //depot/projects/soc2007/rdivacky/linux_at/sys/sys/fcntl.h#3 (text+ko) ==== @@ -105,9 +105,7 @@ #ifdef _KERNEL #define FHASLOCK 0x4000 /* descriptor holds advisory lock */ #endif -#ifdef __BSD_VISIBLE -#define AT_FDCWD -100 /* just like Linux */ -#endif +#define AT_FDCWD -100 /* CWD for *at syscals */ /* Defined by POSIX 1003.1; BSD default, but must be distinct from O_RDONLY. */ #define O_NOCTTY 0x8000 /* don't assign controlling terminal */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706051010.l55AAat0069644>