mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
c4aeb1a8b7
EFAULT to be generated on calls to open(2) or fcntl(2). Bump the shared libraries' major version numbers to guard against possible binary incompatibilities introduced by this fix.
19 lines
464 B
Plaintext
19 lines
464 B
Plaintext
--- m3/m3core/src/unix/freebsd-2/off_t_wrap.c.orig Thu Jan 12 09:28:20 1995
|
|
+++ m3/m3core/src/unix/freebsd-2/off_t_wrap.c Thu Apr 23 22:08:58 1998
|
|
@@ -33,15 +33,3 @@
|
|
off_t len = (off_t) length;
|
|
return ftruncate(fd, length);
|
|
}
|
|
-
|
|
-/* added to avoid problems with the ellipsis... */
|
|
-
|
|
-int m3_fcntl(int fd, int cmd, int arg)
|
|
-{
|
|
- return fcntl(fd, cmd, arg);
|
|
-}
|
|
-
|
|
-int m3_open(const char *path, int flags, mode_t mode)
|
|
-{
|
|
- return open(path, flags, mode);
|
|
-}
|