mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
d5a92ea924
"modula-3-lib". It installs only the shared libraries needed for executing Modula-3 programs. This saves a lot of disk space for people who need to run Modula-3 programs but don't need to build them. The original "modula-3" port now depends on this one, and uses it to install the compiler and the rest of the development system. Also, everything is now built with optimization. I have been testing this for at least a month, and haven't seen any problems from it. It makes the libraries and executables substantially smaller. This new port also includes some hooks that will make SOCKS support possible in the near future.
67 lines
2.5 KiB
Plaintext
67 lines
2.5 KiB
Plaintext
Correct some errno declarations for FreeBSD.
|
|
|
|
Index: m3/m3core/src/unix/freebsd-2/Uerror.i3
|
|
===================================================================
|
|
RCS file: /home/jdp/m3-cvs/m3/m3core/src/unix/freebsd-2/Uerror.i3,v
|
|
retrieving revision 1.1.1.1
|
|
diff -u -r1.1.1.1 Uerror.i3
|
|
--- Uerror.i3 1996/09/24 05:22:00 1.1.1.1
|
|
+++ Uerror.i3 1996/09/24 05:32:41
|
|
@@ -23,7 +23,7 @@
|
|
ENOEXEC = 8; (* Exec format error *)
|
|
EBADF = 9; (* Bad file number *)
|
|
ECHILD = 10; (* No children *)
|
|
- EAGAIN = 11; (* No more processes *)
|
|
+ EDEADLK = 11; (* Resource deadlock avoided *)
|
|
ENOMEM = 12; (* Not enough core *)
|
|
EACCES = 13; (* Permission denied *)
|
|
EFAULT = 14; (* Bad address *)
|
|
@@ -51,7 +51,8 @@
|
|
ERANGE = 34; (* Result too large *)
|
|
|
|
(* non-blocking and interrupt i/o *)
|
|
- EWOULDBLOCK = 35; (* Operation would block *)
|
|
+ EAGAIN = 35; (* Resource temporarily unavailable *)
|
|
+ EWOULDBLOCK = EAGAIN; (* Operation would block *)
|
|
EINPROGRESS = 36; (* Operation now in progress *)
|
|
EALREADY = 37; (* Operation already in progress *)
|
|
|
|
@@ -108,29 +109,22 @@
|
|
EPROCUNAVAIL = 76; (* Bad procedure for program *)
|
|
|
|
(* POSIX errnos *)
|
|
- ENOLCK = 77; (* LOCK_MAX exceeded *)
|
|
-
|
|
- (* IPC errors *)
|
|
-
|
|
- (* I don't know about the following codes. ow 02.10.1994 *)
|
|
- ENOMSG = 78; (* No message of desired type *)
|
|
- EIDRM = 79; (* Identifier removed *)
|
|
-
|
|
- (* Alignment error of some type (i.e., cluster, page, block ...) *)
|
|
- EALIGN = 80; (* alignment error *)
|
|
-
|
|
- (* System V mappings from BRL package *)
|
|
- EDEADLK = EWOULDBLOCK; (* resource deadlock would occur *)
|
|
+ ENOLCK = 77; (* No locks available *)
|
|
+ ENOSYS = 78; (* Function not implemented *)
|
|
|
|
+ EFTYPE = 79; (* Inappropriate file type or format *)
|
|
+ EAUTH = 80; (* Authentication error *)
|
|
+ ENEEDAUTH = 81; (* Need authenticator *)
|
|
+ ELAST = 81; (* Must be equal to the largest errno *)
|
|
|
|
<*EXTERNAL*>
|
|
VAR
|
|
errno: int;
|
|
|
|
|
|
-(* Extention by mjordan *)
|
|
+(* Extension by mjordan *)
|
|
CONST
|
|
- Max = ENOLCK; (* should be exported from Uerror *)
|
|
+ Max = ELAST; (* should be exported from Uerror *)
|
|
|
|
<*EXTERNAL*> VAR
|
|
sys_nerr: int;
|