Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15361
| From | Roland Illig <roland.illig@gmx.de> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Syntax error in caller.def |
| Date | 2019-09-15 19:15 +0200 |
| Message-ID | <mailman.292.1568567743.2190.bug-bash@gnu.org> (permalink) |
| References | <f0474001-5de4-e7fd-308c-be1a8ef57998@gmx.de> |
static char *caller_doc[] = {
N_("Returns the context of the current subroutine call.\n\
\n\
Without EXPR, returns "$line $filename". With EXPR, returns\n\
"$line $subroutine $filename"; this extra information can be used to\n\
provide a stack trace.\n\
\n\
The value of EXPR indicates how many call frames to go back before
the\n\
current one; the top frame is frame 0."),
(char *)NULL
};
The "$line $subroutine $filename" part looks good to humans, but the C
compiler should reject it since the string actually ends at the " before
$line.
According to examples/loadables/Makefile.in, caller.def is not compiled
with LOADABLE_BUILTIN defined, which explains why the bug has not failed
the build.
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Syntax error in caller.def Roland Illig <roland.illig@gmx.de> - 2019-09-15 19:15 +0200
csiph-web