projects
/
platform
/
upstream
/
libatasmart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c25cfd
)
redirect gcc output to the proper original lines
author
Lennart Poettering
<lennart@poettering.net>
Sat, 19 Jul 2008 19:21:15 +0000
(21:21 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 19 Jul 2008 19:21:15 +0000
(21:21 +0200)
strpool.c
patch
|
blob
|
history
diff --git
a/strpool.c
b/strpool.c
index
32f1ed7
..
51337bd
100644
(file)
--- a/
strpool.c
+++ b/
strpool.c
@@
-556,6
+556,10
@@
static int process(FILE *in, FILE *out, const char*ifname) {
"#define _P(x) (_strpool_ + ((x) - (const char*) 0))\n"
"#endif\n\n");
+
+ if (ifname)
+ fprintf(out, "#line 1 \"%s\"\n", ifname);
+
dump_text(out, first);
fwrite(remain, 1, remain_size, out);