Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15897
b: refs/heads/master
c: 4d99f93
h: refs/heads/master
i:
  15895: a04e557
v: v3
  • Loading branch information
Sam Ravnborg committed Dec 25, 2005
1 parent 46abdf5 commit 7e98365
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6333eb4e788bf70d6455c9004b6b676df62c500
refs/heads/master: 4d99f93bdaa1ab49188cac67b4aae9180f8e3960
15 changes: 14 additions & 1 deletion trunk/scripts/basic/fixdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,22 @@ void usage(void)
exit(1);
}

/*
* Print out the commandline prefixed with cmd_<target filename> :=
* If commandline contains '#' escape with '\' so make to not see
* the '#' as a start-of-comment symbol
**/
void print_cmdline(void)
{
printf("cmd_%s := %s\n\n", target, cmdline);
char *p = cmdline;

printf("cmd_%s := ", target);
for (; *p; p++) {
if (*p == '#')
printf("\\");
printf("%c", *p);
}
printf("\n\n");
}

char * str_config = NULL;
Expand Down

0 comments on commit 7e98365

Please sign in to comment.