"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mx/go.c" between
s-nail-14.9.18.tar.xz and s-nail-14.9.19.tar.xz

About: S-nail is a mail processing system intended to provide the functionality of the POSIX mailx command and offers extensions for line editing, IDNA, MIME, S/MIME, SMTP and POP3 (and IMAP). It is usable as a mail batch language.

go.c  (s-nail-14.9.18.tar.xz):go.c  (s-nail-14.9.19.tar.xz)
skipping to change at line 663 skipping to change at line 663
if(flags & a_VPUT){ if(flags & a_VPUT){
if(cdp->cd_caflags & mx_CMD_ARG_V){ if(cdp->cd_caflags & mx_CMD_ARG_V){
emsg = line.s; /* xxx Cannot pass &char* as char const**, so no cp */ emsg = line.s; /* xxx Cannot pass &char* as char const**, so no cp */
vput = n_shexp_parse_token_cp((n_SHEXP_PARSE_TRIM_SPACE | vput = n_shexp_parse_token_cp((n_SHEXP_PARSE_TRIM_SPACE |
n_SHEXP_PARSE_TRIM_IFSSPACE | n_SHEXP_PARSE_LOG | n_SHEXP_PARSE_TRIM_IFSSPACE | n_SHEXP_PARSE_LOG |
n_SHEXP_PARSE_META_SEMICOLON | n_SHEXP_PARSE_META_KEEP), &emsg); n_SHEXP_PARSE_META_SEMICOLON | n_SHEXP_PARSE_META_KEEP), &emsg);
line.l -= P2UZ(emsg - line.s); line.l -= P2UZ(emsg - line.s);
line.s = n_UNCONST(emsg); line.s = n_UNCONST(emsg);
if(emsg == NULL) if(emsg == NULL)
emsg = N_("could not parse input token"); emsg = N_("could not parse input token");
else if(!n_shexp_is_valid_varname(vput)) else if(!n_shexp_is_valid_varname(vput, FAL0))
emsg = N_("not a valid variable name"); emsg = N_("not a valid variable name");
else if(!n_var_is_user_writable(vput)) else if(!n_var_is_user_writable(vput))
emsg = N_("either not a user writable, or a boolean variable"); emsg = N_("either not a user writable, or a boolean variable");
else else
emsg = NULL; emsg = NULL;
if(emsg != NULL){ if(emsg != NULL){
n_err("%s: vput: %s: %s\n", n_err("%s: vput: %s: %s\n",
cdp->cd_name, V_(emsg), n_shexp_quote_cp(vput, FAL0)); cdp->cd_name, V_(emsg), n_shexp_quote_cp(vput, FAL0));
nerrn = su_ERR_NOTSUP; nerrn = su_ERR_NOTSUP;
rv = -1; rv = -1;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)