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

gives no path to gbak -y must be nooutput [CORE2761] #3154

Open
firebird-automations opened this issue Nov 20, 2009 · 0 comments
Open

gives no path to gbak -y must be nooutput [CORE2761] #3154

firebird-automations opened this issue Nov 20, 2009 · 0 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Tsutomu Hayashi (tomneko)

This is small confusion.

gbak -y {<path> | SUPPRESS}

is correct syntax.

But, Helen's TFB shows " -y {filespec | suppress_output}" and Stefan's web page too.

http://www.destructor.de/firebird/gbak.htm

I suppose to change option default. No path given to set NOOUTPUT.

--- burp/burp.cpp Sat 11 21 11:31:21 2009
+++ burp/burp.cpp Sat 11 21 11:31:14 2009
@@ -773,14 +773,16 @@
}
if (!redirect)
{
- BURP_error(4, true);
- // msg 4 redirect location for output is not specified
+ tdgbl->sq_redirect = NOOUTPUT;
+ // no filespec given to set quiet mode
}
+ else
+ {
+ Firebird::string up(redirect);
+ up.upper();
+ tdgbl->sw_redirect = (up == output_suppress) ? NOOUTPUT : REDIRECT;
+ }

- Firebird::string up(redirect);
- up.upper();
- tdgbl->sw_redirect = (up == output_suppress) ? NOOUTPUT : REDIRECT;
-
if (tdgbl->sw_redirect == REDIRECT) // not NOREDIRECT, and not NOOUTPUT
{
// Make sure the status file doesn't already exist

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