Re: [Refdb-users] to quote or not to quote (Curious refdbc -C "getref ..." behaviour)
Status: Beta
Brought to you by:
mhoenicka
|
From: Marc H. <mar...@fr...> - 2004-03-30 18:03:57
|
On Tue, 30 Mar 2004, David Nebauer wrote: > I discovered the -C truncation myself a little while back. I wrote a > Any idea why the truncation occurs? It's easy to find out if you know a bit of C and have a look at the code near my patch: only the first 31 characters of the -C argument are considered, which is more than enough to hold every potential -C command (see the array "commands" at the beginning of the same refdbc.c file). All this is consistent indeed. But when some users "intuitively" do something bad (a quoted thus long -C argument), and when the program does not report any error for that, things can go very wrong. |