about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTDOS.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTDOS.c')
-rw-r--r--WWW/Library/Implementation/HTDOS.c82
1 files changed, 41 insertions, 41 deletions
diff --git a/WWW/Library/Implementation/HTDOS.c b/WWW/Library/Implementation/HTDOS.c
index 79a8b463..c5687808 100644
--- a/WWW/Library/Implementation/HTDOS.c
+++ b/WWW/Library/Implementation/HTDOS.c
@@ -1,25 +1,25 @@
-/*             DOS specific routines

-

- */

-

-#include <mem.h>

-#include <dos.h>

-#include "htstring.h"

-

-/* PUBLIC                                                       HTDOS_wwwName()

-**              CONVERTS DOS Name into WWW Name

-** ON ENTRY:

-**      dosname         DOS file specification (NO NODE)

-**

-** ON EXIT:

-**	returns 	www file specification

-**

-*/

-char * HTDOS_wwwName (char *dosname)

-{

-	static char wwwname[1024];

-	char *cp_url = wwwname;

-

+/*             DOS specific routines
+
+ */
+
+#include <mem.h>
+#include <dos.h>
+#include "htstring.h"
+
+/* PUBLIC                                                       HTDOS_wwwName()
+**              CONVERTS DOS Name into WWW Name
+** ON ENTRY:
+**      dosname         DOS file specification (NO NODE)
+**
+** ON EXIT:
+**	returns 	www file specification
+**
+*/
+char * HTDOS_wwwName (char *dosname)
+{
+	static char wwwname[1024];
+	char *cp_url = wwwname;
+
 	strcpy(wwwname,dosname);
 
 	for ( ; *cp_url != '\0' ; cp_url++)
@@ -36,25 +36,25 @@ char * HTDOS_wwwName (char *dosname)
 
 /*
 	if((strlen(wwwname)>2)&&(wwwname[1]==':')) wwwname[1]='|';
-	printf("\n\nwww: %s\n\ndos: %s\n\n",wwwname,dosname);

-	sleep(5);

-*/

+	printf("\n\nwww: %s\n\ndos: %s\n\n",wwwname,dosname);
+	sleep(5);
+*/
 	return(wwwname);
-}

-

-

-/* PUBLIC                                                       HTDOS_name()

-**              CONVERTS WWW name into a DOS name

-** ON ENTRY:

-**	fn		WWW file name

-**

-** ON EXIT:

-**      returns         dos file specification

-**

-** Bug:	Returns pointer to static -- non-reentrant

-*/

-char * HTDOS_name(char *dosname)	{

-

+}
+
+
+/* PUBLIC                                                       HTDOS_name()
+**              CONVERTS WWW name into a DOS name
+** ON ENTRY:
+**	fn		WWW file name
+**
+** ON EXIT:
+**      returns         dos file specification
+**
+** Bug:	Returns pointer to static -- non-reentrant
+*/
+char * HTDOS_name(char *dosname)	{
+
 	static char cp_url[1024];
 	int joe;
 
@@ -92,4 +92,4 @@ char * HTDOS_name(char *dosname)	{
 	}
 }
 
-


+