head	1.3;
access;
symbols
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	RELEASE_3_0_0:1.2
	RELEASE_2_2_7:1.2
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.1.1.1
	RELEASE_2_2_1:1.1.1.1
	RELEASE_2_2_2:1.1.1.1
	jdp_1_0:1.1.1.1
	JDP:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2001.07.21.23.41.39;	author jdp;	state dead;
branches;
next	1.2;

1.2
date	98.01.17.21.12.12;	author jdp;	state Exp;
branches;
next	1.1;

1.1
date	96.10.29.23.01.52;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.10.29.23.01.52;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Remove the old modula-3 and modula-3-lib ports.  They are superseded
by the pm3-* family of ports, which build a newer and better-maintained
version of Modula-3.  I have converted all ports which depended on
modula-3 to use pm3-* instead.

PR:		ports/27664 is rendered irrelevant
@
text
@Correct some errno declarations for FreeBSD.

===================================================================
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
--- m3/m3core/src/unix/freebsd-2/Uerror.i3.orig	1996/09/24 05:22:00	1.1.1.1
+++ m3/m3core/src/unix/freebsd-2/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;
@


1.2
log
@Fix all the paths in context diff headers and remove the Index
lines, since the WORTHLESS, BROKEN new version of patch ignores
them.
@
text
@@


1.1
log
@Initial revision
@
text
@a2 1
Index: m3/m3core/src/unix/freebsd-2/Uerror.i3
d7 2
a8 2
--- Uerror.i3	1996/09/24 05:22:00	1.1.1.1
+++ Uerror.i3	1996/09/24 05:32:41
@


1.1.1.1
log
@Split the Modula-3 port into two pieces, creating a new port
"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.
@
text
@@
