You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2003/09/16 22:28:12 UTC
cvs commit: apache-1.3/src/main rfc1413.c
bnicholes 2003/09/16 13:28:12
Modified: src/main rfc1413.c
Log:
Enable rfc1413 ident functionality on NetWare. Win32 may also need to
include these #defines
Submitted by: G�nter Knauf <gk...@gknw.de>
Revision Changes Path
1.42 +6 -0 apache-1.3/src/main/rfc1413.c
Index: rfc1413.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/rfc1413.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- rfc1413.c 3 Feb 2003 17:13:23 -0000 1.41
+++ rfc1413.c 16 Sep 2003 20:28:12 -0000 1.42
@@ -83,6 +83,12 @@
#include "rfc1413.h"
#include "http_main.h" /* set_callback_and_alarm */
+/* XXX WIN32 may also need to include these #defines */
+#if (defined(NETWARE) /*|| defined(WIN32)*/)
+#define write(a,b,c) send(a,b,c,0)
+#define read(a,b,c) recv(a,b,c,0)
+#endif /* NETWARE || WIN32 */
+
/* Local stuff. */
/* Semi-well-known port */
#define RFC1413_PORT 113
Re: cvs commit: apache-1.3/src/main rfc1413.c
Posted by Günter Knauf <ef...@gmx.net>.
> Didn't you just introduce thread-safety issues?
> IIRC ident wasn't thread safe.
oops, sorry about that, but I wasnt aware of this.
So what would you suggest? perhaps backport the rfc1413.c from the 2.0 sources??
thanks, Guenter.
Re: cvs commit: apache-1.3/src/main rfc1413.c
Posted by "William A. Rowe, Jr." <wr...@apache.org>.
Didn't you just introduce thread-safety issues?
IIRC ident wasn't thread safe.
Bill
At 03:28 PM 9/16/2003, bnicholes@apache.org wrote:
>bnicholes 2003/09/16 13:28:12
>
> Modified: src/main rfc1413.c
> Log:
> Enable rfc1413 ident functionality on NetWare. Win32 may also need to
> include these #defines
>
> Submitted by: Günter Knauf <gk...@gknw.de>
>
> Revision Changes Path
> 1.42 +6 -0 apache-1.3/src/main/rfc1413.c
>
> Index: rfc1413.c
> ===================================================================
> RCS file: /home/cvs/apache-1.3/src/main/rfc1413.c,v
> retrieving revision 1.41
> retrieving revision 1.42
> diff -u -r1.41 -r1.42
> --- rfc1413.c 3 Feb 2003 17:13:23 -0000 1.41
> +++ rfc1413.c 16 Sep 2003 20:28:12 -0000 1.42
> @@ -83,6 +83,12 @@
> #include "rfc1413.h"
> #include "http_main.h" /* set_callback_and_alarm */
>
> +/* XXX WIN32 may also need to include these #defines */
> +#if (defined(NETWARE) /*|| defined(WIN32)*/)
> +#define write(a,b,c) send(a,b,c,0)
> +#define read(a,b,c) recv(a,b,c,0)
> +#endif /* NETWARE || WIN32 */
> +
> /* Local stuff. */
> /* Semi-well-known port */
> #define RFC1413_PORT 113
>
>
>