13 lines
427 B
Diff
13 lines
427 B
Diff
--- tests/line2addr.c-dist 2007-01-09 13:01:13.000000000 +0100
|
|
+++ tests/line2addr.c 2007-01-09 13:18:36.000000000 +0100
|
|
@@ -132,7 +132,8 @@ main (int argc, char *argv[])
|
|
{
|
|
struct args a = { .arg = argv[cnt] };
|
|
|
|
- switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
|
|
+ a.file = malloc(4096); /* XXX temporary fix */
|
|
+ switch (sscanf (a.arg, "%s[^:]:%d", a.file, &a.line))
|
|
{
|
|
default:
|
|
case 0:
|