summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-11 15:47:11 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-11 15:47:11 +0000
commit7a4929d7c0cf507df46bee730cfa010b8d8a0b86 (patch)
treef0eaeb87ece292fdecdb8273b0216ed8f0d15b56 /apps
parentc78ee26faf69cf4d239dfd3ac98832bee4d69aad (diff)
downloadATCD-7a4929d7c0cf507df46bee730cfa010b8d8a0b86.tar.gz
ChangeLogTag:Thu Sep 11 10:40:38 1997 Carlos O'Ryan <coryan@polka.cs.wustl.edu>
Diffstat (limited to 'apps')
-rw-r--r--apps/JAWS/ChangeLog15
-rw-r--r--apps/JAWS/server/HTTP_Request.cpp2
2 files changed, 16 insertions, 1 deletions
diff --git a/apps/JAWS/ChangeLog b/apps/JAWS/ChangeLog
index 2d7aa5a773a..13bdb1c77a2 100644
--- a/apps/JAWS/ChangeLog
+++ b/apps/JAWS/ChangeLog
@@ -1,3 +1,18 @@
+Thu Sep 11 10:40:38 1997 Carlos O'Ryan <coryan@polka.cs.wustl.edu>
+
+ * server/HTTP_Request.cpp:
+ I checked the use of MAXNAMELEN vs. MAXPATHLEN; all buffers
+ intended to keep full filenames should have at least
+ MAXPATHLEN+1 chars.
+ Only buffers that will keep basenames (without any directories)
+ should have MAXNAMELEN+1 bytes.
+ I also added a new macro ACE_MAX_FULLY_QUALIFIED_NAME_LEN which
+ is the maximum number of characters for a fully qualified
+ internet hostname.
+ There remain one obscure usage of these macros in ace/Malloc.h
+ and Local_Naming_Space_T.{h,cpp}, but a quick fix broke
+ something, I will try again soon.
+
Tue Sep 9 22:08:36 1997 James C Hu <jxh@lambada.cs.wustl.edu>
* server/HTTP_Server.{cpp,h}: Changes which answer questions
diff --git a/apps/JAWS/server/HTTP_Request.cpp b/apps/JAWS/server/HTTP_Request.cpp
index e88eedbe377..d918f55616e 100644
--- a/apps/JAWS/server/HTTP_Request.cpp
+++ b/apps/JAWS/server/HTTP_Request.cpp
@@ -604,7 +604,7 @@ const char *
HTTP_Request::path (const char *uri_string)
{
char const *file_name = uri_string;
- char buf[MAXPATHLEN+1];
+ char buf[MAXPATHLEN + 1];
buf[0] = '\0';
if (file_name == 0) return 0;