You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1999/08/02 07:03:37 UTC
cvs commit: apache-1.3/src/os/tpf os.c os.h
manoj 99/08/01 22:03:37
Modified: htdocs/manual install-tpf.html
src/os/tpf os.c os.h
Log:
Make the server compile cleanly on TPF.
Submitted by: David McCreedy <Mc...@us.ibm.com>
Revision Changes Path
1.7 +3 -0 apache-1.3/htdocs/manual/install-tpf.html
Index: install-tpf.html
===================================================================
RCS file: /home/cvs/apache-1.3/htdocs/manual/install-tpf.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -u -r1.6 -r1.7
--- install-tpf.html 1999/04/27 20:36:24 1.6
+++ install-tpf.html 1999/08/02 05:03:35 1.7
@@ -124,6 +124,9 @@
DO NOT modify the <TT>TPF=YES</TT> export variable. If this is
changed, the "Configure" script will not recognize TPF.
<BR><BR>
+<LI>Remove the src/lib/expat-lite directory:
+ <TT><STRONG>rm -r lib/expat-lite</STRONG></TT>
+ <BR><BR>
<LI>Run the "Configure" script:
<TT><STRONG>Configure</STRONG></TT>
<BR>
1.4 +7 -0 apache-1.3/src/os/tpf/os.c
Index: os.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/tpf/os.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -u -r1.3 -r1.4
--- os.c 1999/04/27 20:36:38 1.3
+++ os.c 1999/08/02 05:03:36 1.4
@@ -161,6 +161,13 @@
return rv;
}
+/* the getpass function is not usable on TPF */
+char *getpass(const char* prompt)
+{
+ errno = EIO;
+ return((char *)NULL);
+}
+
#ifndef __PIPE_
int pipe(int fildes[2])
{
1.8 +1 -0 apache-1.3/src/os/tpf/os.h
Index: os.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/tpf/os.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -u -r1.7 -r1.8
--- os.h 1999/05/02 14:01:02 1.7
+++ os.h 1999/08/02 05:03:36 1.8
@@ -95,6 +95,7 @@
struct server_rec;
pid_t os_fork(struct server_rec *s, int slot);
int os_check_server(char *server);
+char *getpass(const char *prompt);
extern char *ap_server_argv0;
extern int scoreboard_fd;
#include <signal.h>