Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing terminating " character compiling a wrapper on Mac OS X #1

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. run exec-wrapper with appropriate parameters


What is the expected output? What do you see instead?
Expected a wrapper to get built, but actually received this error message:

exec-wrapper.0HiuAqLLAg/wrapper.c:11:38: warning: missing terminating " 
character
exec-wrapper.0HiuAqLLAg/wrapper.c:11: error: missing terminating " character
exec-wrapper.0HiuAqLLAg/wrapper.c:13: error: expected expression before 
‘static’

Line 11 says:

static const char *const real_exec = "\057\142\151\156\057\145\143\150\157\";

Note the backslash before the closing quote mark that shouldn't be there.


What version of the product are you using? On what operating system?
exec-wrapper 1.0.1 on Mac OS X 10.6.2.


Please provide any additional information below.
od's output appears to end with a blank line, at least on Mac OS X. The 
attached patch fixes the 
problem.

Original issue reported on code.google.com by [email protected] on 10 Feb 2010 at 12:58

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant