"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wml_backend/p3_eperl/eperl_sys.c" between
wml-2.28.0.tar.xz and wml-2.30.0.tar.xz

About: WML (Website META Language) is an extensible Webdesigner’s off-line HTML generation toolkit.

eperl_sys.c  (wml-2.28.0.tar.xz):eperl_sys.c  (wml-2.30.0.tar.xz)
/* /*
** ____ _
** ___| _ \ ___ _ __| |
** / _ \ |_) / _ \ '__| |
** | __/ __/ __/ | | |
** \___|_| \___|_| |_|
**
** ePerl -- Embedded Perl 5 Language ** ePerl -- Embedded Perl 5 Language
** **
** ePerl interprets an ASCII file bristled with Perl 5 program statements ** ePerl interprets an ASCII file bristled with Perl 5 program statements
** by evaluating the Perl 5 code while passing through the plain ASCII ** by evaluating the Perl 5 code while passing through the plain ASCII
** data. It can operate both as a standard Unix filter for general file ** data. It can operate both as a standard Unix filter for general file
** generation tasks and as a powerful Webserver scripting language for ** generation tasks and as a powerful Webserver scripting language for
** dynamic HTML page programming. ** dynamic HTML page programming.
** **
** ====================================================================== ** ======================================================================
** **
skipping to change at line 446 skipping to change at line 440
} }
/* add file part again */ /* add file part again */
if (apath[strlen(apath)-1] != '/') { if (apath[strlen(apath)-1] != '/') {
strncpy(apath+strlen(apath), "/", sizeof(apath)-strlen(apath)); strncpy(apath+strlen(apath), "/", sizeof(apath)-strlen(apath));
apath[sizeof(apath)-1] = '\0'; apath[sizeof(apath)-1] = '\0';
} }
strncpy(apath+strlen(apath), path, sizeof(apath)-strlen(apath)); strncpy(apath+strlen(apath), path, sizeof(apath)-strlen(apath));
apath[sizeof(apath)-1] = '\0'; apath[sizeof(apath)-1] = '\0';
return apath; return apath;
} }
/*EOF*/
 End of changes. 2 change blocks. 
6 lines changed or deleted 0 lines changed or added

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