Add debug_return_const_str and debug_return_const_ptr for returning
a const string or pointer. Using const for the normal versions produces warnings with the Tru64 compiler.
This commit is contained in:
@@ -127,7 +127,7 @@ disable_execute(char *const envp[])
|
||||
envp = nenvp;
|
||||
#endif /* _PATH_SUDO_NOEXEC */
|
||||
|
||||
debug_return_ptr(envp);
|
||||
debug_return_const_ptr(envp);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user