* Europagate, 1995
*
* $Log: eti.c,v $
- * Revision 1.15 1995/07/03 12:59:28 adam
+ * Revision 1.16 1995/07/11 11:49:11 adam
+ * LINE_MAX renamed to STR_LINE_MAX.
+ *
+ * Revision 1.15 1995/07/03 12:59:28 adam
* New option for eti: -c dir to chdir before start.
* Setting change: gw.max.show defaults to 100.
*
#include <gip.h>
#include <strqueue.h>
-#define LINE_MAX 1024
+#define STR_LINE_MAX 1024
static char *module = "eti";
static jmp_buf retry_jmp;
int main (int argc, char **argv)
{
- char from_str[LINE_MAX+1];
- char subject_str[LINE_MAX+1];
- char line_str[LINE_MAX+1];
+ char from_str[STR_LINE_MAX+1];
+ char subject_str[STR_LINE_MAX+1];
+ char line_str[STR_LINE_MAX+1];
char msg[20];
GW_DB user_db;
GIP gip;
gw_log (GW_LOG_FATAL|GW_LOG_ERRNO, module, "str_queue_mk");
exit (1);
}
- while (fgets (line_str, LINE_MAX, stdin))
+ while (fgets (line_str, STR_LINE_MAX, stdin))
str_queue_enq (queue, line_str);
r = email_header (queue, from_str, subject_str);
* Europagate, 1995
*
* $Log: kernel.h,v $
- * Revision 1.18 1995/05/16 09:40:42 adam
+ * Revision 1.19 1995/07/11 11:49:12 adam
+ * LINE_MAX renamed to STR_LINE_MAX.
+ *
+ * Revision 1.18 1995/05/16 09:40:42 adam
* LICENSE. Setting of CCL token names (and/or/not/set) in read_kernel_res.
*
* Revision 1.17 1995/05/03 16:34:18 adam
#endif
#include <strqueue.h>
-#define LINE_MAX 1024
+#define STR_LINE_MAX 1024
struct gw_user_set {
char *name; /* name of result set */
char *database;
ZASS zass;
int command_no;
- char from_str[LINE_MAX+1];
+ char from_str[STR_LINE_MAX+1];
const char *reply_fname;
int setno;
int next_position;
* Europagate, 1995
*
* $Log: monitor.c,v $
- * Revision 1.14 1995/05/23 08:12:59 adam
+ * Revision 1.15 1995/07/11 11:49:12 adam
+ * LINE_MAX renamed to STR_LINE_MAX.
+ *
+ * Revision 1.14 1995/05/23 08:12:59 adam
* Minor changes.
*
* Revision 1.13 1995/05/22 11:42:48 adam
#include <strqueue.h>
#include <lgets.h>
-#define LINE_MAX 1024
+#define STR_LINE_MAX 1024
#define MONITOR_FIFO_S "fifo.s.m"
#define MONITOR_FIFO_C "fifo.c.m"
* Europagate, 1995
*
* $Log: urp.c,v $
- * Revision 1.42 1995/07/03 12:59:29 adam
+ * Revision 1.43 1995/07/11 11:49:13 adam
+ * LINE_MAX renamed to STR_LINE_MAX.
+ *
+ * Revision 1.42 1995/07/03 12:59:29 adam
* New option for eti: -c dir to chdir before start.
* Setting change: gw.max.show defaults to 100.
*
static void present (const char *set, int offset, int number,
struct ccl_token *format_token);
-static char line_buf[LINE_MAX+1];
+static char line_buf[STR_LINE_MAX+1];
static void put_esc_str (const char *s)
{
{
*from_str = '\0';
*subject_str = '\0';
- while (str_queue_deq (sq, line_buf, LINE_MAX))
+ while (str_queue_deq (sq, line_buf, STR_LINE_MAX))
{
if (line_buf[0] == '\n')
return 0;
char *cp;
int stop_flag;
- while (str_queue_deq (queue, line_buf, LINE_MAX))
+ while (str_queue_deq (queue, line_buf, STR_LINE_MAX))
{
if (line_buf[0] == '\n')
if (info.command_no)
if (stop_flag)
{
info.command_no++; /* prevent help! */
- while (str_queue_deq (queue, line_buf, LINE_MAX))
+ while (str_queue_deq (queue, line_buf, STR_LINE_MAX))
;
return stop_flag;
}