mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 05:24:23 +01:00
adapted from 21719: add some mod_exports
This commit is contained in:
parent
5831792752
commit
7746eea52b
@ -1,5 +1,8 @@
|
||||
2005-09-09 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* d'après 21719: Src/builtin.c, Src/init.c, Src/params.c: Add some
|
||||
mod_exports.
|
||||
|
||||
* 21717: Src/Zle/zle_misc.c: where-is and execute-named-command
|
||||
didn't work with multibyte support because the remainder of
|
||||
the character wasn't read properly.
|
||||
|
@ -4066,7 +4066,7 @@ bin_getopts(UNUSED(char *name), char **argv, UNUSED(Options ops), UNUSED(int fun
|
||||
|
||||
/* Flag that we should exit the shell as soon as all functions return. */
|
||||
/**/
|
||||
int
|
||||
mod_export int
|
||||
exit_pending;
|
||||
|
||||
/* break, bye, continue, exit, logout, return -- most of these take *
|
||||
|
@ -1020,7 +1020,7 @@ init_misc(void)
|
||||
/* source a file */
|
||||
|
||||
/**/
|
||||
int
|
||||
mod_export int
|
||||
source(char *s)
|
||||
{
|
||||
Eprog prog;
|
||||
|
@ -54,6 +54,7 @@ char **path, /* $path */
|
||||
**fignore; /* $fignore */
|
||||
|
||||
/**/
|
||||
mod_export
|
||||
char *argzero, /* $0 */
|
||||
*home, /* $HOME */
|
||||
*nullcmd, /* $NULLCMD */
|
||||
@ -2621,14 +2622,14 @@ arrhashsetfn(Param pm, char **val, int augment)
|
||||
*/
|
||||
|
||||
/**/
|
||||
void
|
||||
mod_export void
|
||||
nullstrsetfn(UNUSED(Param pm), char *x)
|
||||
{
|
||||
zsfree(x);
|
||||
}
|
||||
|
||||
/**/
|
||||
void
|
||||
mod_export void
|
||||
nullintsetfn(UNUSED(Param pm), UNUSED(zlong x))
|
||||
{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user