aboutsummaryrefslogtreecommitdiffstats
path: root/z39.c
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:38:23 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:38:23 +0000
commit78c2bcf9e96ab00615ee6f96905bca78fcd52a00 (patch)
tree9c7e31f2a59e174433e55b589771005b48a34158 /z39.c
parent9daa98ce90ceeeaba9e942d28575d8fcfe36db4b (diff)
downloadlout-78c2bcf9e96ab00615ee6f96905bca78fcd52a00.tar.gz
Lout 3.27.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@23 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z39.c')
-rw-r--r--z39.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/z39.c b/z39.c
index b31ab77..796da3e 100644
--- a/z39.c
+++ b/z39.c
@@ -1,9 +1,9 @@
/*@z39.c:String Handler:AsciiToFull(), StringEqual(), etc.@*******************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.26) */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.27) */
/* COPYRIGHT (C) 1991, 2002 Jeffrey H. Kingston */
/* */
-/* Jeffrey H. Kingston (jeff@cs.usyd.edu.au) */
+/* Jeffrey H. Kingston (jeff@it.usyd.edu.au) */
/* Basser Department of Computer Science */
/* The University of Sydney 2006 */
/* AUSTRALIA */
@@ -26,10 +26,9 @@
/* MODULE: String Handler */
/* EXTERNS: AsciiToFull(), StringEqual(), */
/* StringCat(), StringCopy(), StringLength(), */
-/* StringFOpen(), StringFPuts(), StringFGets(), */
-/* StringRemove(), StringRename(), StringBeginsWith(), */
-/* StringContains(), StringInt(), StringFiveInt(), */
-/* StringQuotedWord() */
+/* StringFOpen(), StringFPuts(), StringRemove(), */
+/* StringRename(), StringBeginsWith(), StringContains(), */
+/* StringInt(), StringFiveInt(), StringQuotedWord() */
/* */
/*****************************************************************************/
#include "externs.h"
@@ -44,7 +43,6 @@
/* StringLength(a) Length of string a */
/* StringFOpen(str, mode) Equivalent to fopen(str, mode) */
/* StringFPuts(str, fp) Equivalent to fputs(str, fp) */
-/* StringFGets(str, n, fp) Equivalent to fgets(str, n, fp) */
/* StringRemove(a) Equivalent to remove(a) */
/* StringRename(a, b) Equivalent to rename(a, b) */
/* */
@@ -79,7 +77,8 @@ int strcollcmp(char *a, char *b)
*** */
int strcollcmp(char *a, char *b)
-{ char a1[100], a2[100], a3[100], b1[100], b2[100], b3[100];
+{ char a1[MAX_BUFF], a2[MAX_BUFF], a3[MAX_BUFF];
+ char b1[MAX_BUFF], b2[MAX_BUFF], b3[MAX_BUFF];
int order;
a1[0] = a2[0] = a3[0] = '\0';
sscanf(a, "%[^\t]\t%[^\t]\t%[^\t]", a1, a2, a3);