diff options
-rw-r--r-- | solenv/bin/concat-deps.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c index 6db6e7197988..843cad1e6b17 100644 --- a/solenv/bin/concat-deps.c +++ b/solenv/bin/concat-deps.c @@ -892,6 +892,12 @@ off_t size; { base = cursor_out = cursor = end = buffer; end += size; + + /* first eat unneeded space at the beginning of file + */ + while(cursor < end && (*cursor == ' ' || *cursor == '\\')) + ++cursor; + while(cursor < end) { if(*cursor == '\\') |