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

Non-ascii character cause error for notifyscript path (Trac #70) #99

Open
boxbackup-bot opened this issue May 18, 2019 · 1 comment
Open

Comments

@boxbackup-bot
Copy link

boxbackup-bot commented May 18, 2019

NotifyScript is not found if saved in location like "Configuración local". The results is a "File not found" error ("El sistema no puede hallar el archivo especificado. (2)").

Since it is a localised error, so I assume it comes from the shell and not from within BB).

For instance in LocalProcessStream.cpp does the following sequence preserve the "ó" in "Configuración"?

CHAR* commandLineCopy = (CHAR*)malloc(strlen(CommandLine) + 1);
strcpy(commandLineCopy, CommandLine);

See also [http://www.boxbackup.org/trac/ticket/59] for some other NotifyScript problems.

Migrated from https://www.boxbackup.org/ticket/70

{
    "status": "new", 
    "changetime": "2019-05-18T09:05:50", 
    "description": "NotifyScript is not found if saved in location like \"Configuraci\u00f3n local\". The results is a \"File not found\" error (\"El sistema no puede hallar el archivo especificado. (2)\"). \n\n\nSince it is a localised error, so I assume it comes from the shell and not from within BB).\n\n\nFor instance in LocalProcessStream.cpp does the following sequence preserve the \"\u00f3\" in \"Configuraci\u00f3n\"?\n\n{{{\nCHAR* commandLineCopy = (CHAR*)malloc(strlen(CommandLine) + 1);\nstrcpy(commandLineCopy, CommandLine);\n}}}\n\n\nSee also [http://www.boxbackup.org/trac/ticket/59] for some other NotifyScript problems.\n", 
    "reporter": "achim", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1558170350173765", 
    "component": "bbackupd", 
    "summary": "Non-ascii character cause error for notifyscript path", 
    "priority": "normal", 
    "keywords": "", 
    "version": "0.11rc2", 
    "time": "2010-03-31T13:51:37", 
    "milestone": "", 
    "owner": "", 
    "type": "defect"
}
@boxbackup-bot
Copy link
Author

Trac update at 20190518T09:05:50: jamesog changed owner from "ben" to ""

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