1 |
|
/* |
2 |
|
* mon.cpp - cxmon main program |
3 |
|
* |
4 |
< |
* cxmon (C) 1997-2003 Christian Bauer, Marc Hellwig |
4 |
> |
* cxmon (C) 1997-2004 Christian Bauer, Marc Hellwig |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
277 |
|
|
278 |
|
in_ptr = input; |
279 |
|
#else |
280 |
< |
#define INPUT_LENGTH 256 |
280 |
> |
static const unsigned INPUT_LENGTH = 256; |
281 |
|
if (!input) |
282 |
|
input = (char *)malloc(INPUT_LENGTH); |
283 |
|
fprintf(monout, prompt); |