Hi,
the source of 0.7.3 changed slightly - it looks to me as a C
beginner, that your patch is not required anymore?
Here are the snippets setkey.c:
#ifdef HAVE_READLINE
char *rbuf;
rbuf = readline ("");
if (! rbuf)
break;
#else
char rbuf[1024];
rbuf[0] = '\0';
if (fgets(rbuf, sizeof(rbuf), stdin) == NULL)
break;
if (rbuf[strlen(rbuf)-1] == '\n')
rbuf[strlen(rbuf)-1] = '\0';
#endif
comment = strchr(rbuf, '#');
if (comment)
*comment = '\0';
Here is the stanza from policy_token.c:
* we now use fwrite().
*/
#define ECHO do { if (fwrite( __libipsectext, __libipsecleng, 1,
__libipsecout )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read,
or YY_NULL,
Thanks
--
Stefan Bauer -----------------------------------------
PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34
-------- plzk.de - Linux - because it works ----------
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]