diff options
author | Robert de Bath <rdebath@poboxes.com> | 1997-10-05 15:05:09 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:40:02 +0200 |
commit | 48798bf2eb93ec3b99720ac2e16093441156653d (patch) | |
tree | 35e03d95df5f2677f05e32d70abb6d0583aa47ba /unproto/tok_io.c | |
parent | 9d97bc3cb3aecd3416fb7c4be3ca2f436665b696 (diff) | |
download | dev86-48798bf2eb93ec3b99720ac2e16093441156653d.tar.gz |
Import Dev86src-0.13.0.tar.gzv0.13.0
Diffstat (limited to 'unproto/tok_io.c')
-rw-r--r-- | unproto/tok_io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unproto/tok_io.c b/unproto/tok_io.c index 74ae6bc..3cae52e 100644 --- a/unproto/tok_io.c +++ b/unproto/tok_io.c @@ -396,7 +396,11 @@ int ch; if ((INPUT(c)) == EOF) { /* EOF, punt */ break; } else if (c == 'a') { /* \a -> audible bell */ +#ifdef BELL if ((cp = vs_strcpy(vs, cp, BELL)) == 0) +#else + if ((cp = vs_strcpy(vs, cp, "\007")) == 0) +#endif fatal("out of memory"); } else if (c == 'x') { /* \xhh -> \nnn */ cp = read_hex(vs, cp); |