mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-10 22:31:24 +02:00
manual/8541
This commit is contained in:
parent
49169f98a5
commit
dfbeee5555
5 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
DISTFILES_SRC='
|
DISTFILES_SRC='
|
||||||
.distfiles
|
.distfiles
|
||||||
_arg_compile _arguments _brace_parameter _combination _command_names
|
_arg_compile _arguments _brace_parameter _combination _command_names
|
||||||
_condition _default _describe _equal _first _job _math _parameter
|
_condition _default _describe _equal _first _jobs _math _parameter
|
||||||
_precommand _redirect _regex_arguments _subscript _tilde _value
|
_precommand _redirect _regex_arguments _subscript _tilde _value
|
||||||
_values _vars
|
_values _vars
|
||||||
'
|
'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
DISTFILES_SRC='
|
DISTFILES_SRC='
|
||||||
.distfiles
|
.distfiles
|
||||||
_aliases _arrays _autoload _bg_jobs _bindkey _builtin _cd _command
|
_aliases _arrays _autoload _bg_jobs _bindkey _builtin _cd _command
|
||||||
_compdef _disable _echotc _enable _fc _functions _hash _jobs _kill
|
_compdef _disable _echotc _enable _fc _functions _hash _kill
|
||||||
_limits _nothing _popd _sched _set _setopt _source _stat _trap _unhash
|
_limits _nothing _popd _sched _set _setopt _source _stat _trap _unhash
|
||||||
_unsetopt _vars_eq _wait _which _zftp _zle _zmodload
|
_unsetopt _vars_eq _wait _which _zftp _zle _zmodload
|
||||||
'
|
'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
DISTFILES_SRC='
|
DISTFILES_SRC='
|
||||||
.distfiles
|
.distfiles
|
||||||
_approximate _compalso _complete _correct _description _display _expand
|
_approximate _compalso _complete _correct _description _expand
|
||||||
_files _list _main_complete _match _menu _multi_parts
|
_files _list _main_complete _match _menu _multi_parts
|
||||||
_message _normal _oldlist _options _parameters _path_files
|
_message _normal _oldlist _options _parameters _path_files
|
||||||
_sep_parts _set_options _unset_options
|
_sep_parts _set_options _unset_options
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
DISTFILES_SRC='
|
DISTFILES_SRC='
|
||||||
.distfiles
|
.distfiles
|
||||||
_apt _deb_packages
|
_apt _deb_packages _dpkg _dpkg-source
|
||||||
'
|
'
|
||||||
|
|
||||||
|
|
|
@ -398,7 +398,7 @@ AC_PROG_MAKE_SET dnl Does make define $MAKE
|
||||||
AC_PROG_INSTALL dnl Check for BSD compatible `install'
|
AC_PROG_INSTALL dnl Check for BSD compatible `install'
|
||||||
AC_PROG_AWK dnl Check for mawk,gawk,nawk, then awk.
|
AC_PROG_AWK dnl Check for mawk,gawk,nawk, then awk.
|
||||||
AC_PROG_LN dnl Check for working ln, for "make install"
|
AC_PROG_LN dnl Check for working ln, for "make install"
|
||||||
AC_CHECK_PROGS([YODL], [yodl], [:])
|
AC_CHECK_PROGS([YODL], [yodl], [exit 0; yodl])
|
||||||
|
|
||||||
dnl ------------------
|
dnl ------------------
|
||||||
dnl CHECK HEADER FILES
|
dnl CHECK HEADER FILES
|
||||||
|
@ -1273,12 +1273,13 @@ if test $ac_cv_func_getpwnam=yes; then
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
main() {
|
main() {
|
||||||
struct passwd *pw1, *pw2;
|
struct passwd *pw1, *pw2;
|
||||||
char buf[1024];
|
char buf[1024], name[1024];
|
||||||
sprintf(buf, "%d:%d", getpid(), rand());
|
sprintf(buf, "%d:%d", getpid(), rand());
|
||||||
pw1=getpwnam(buf);
|
pw1=getpwnam(buf);
|
||||||
|
if (pw1) strcpy(name, pw1->pw_name);
|
||||||
sprintf(buf, "%d:%d", rand(), getpid());
|
sprintf(buf, "%d:%d", rand(), getpid());
|
||||||
pw2=getpwnam(buf);
|
pw2=getpwnam(buf);
|
||||||
exit(pw1!=0 && pw2!=0 && !strcmp(pw1->pw_name, pw2->pw_name));
|
exit(pw1!=0 && pw2!=0 && !strcmp(name, pw2->pw_name));
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
zsh_cv_sys_getpwnam_faked=no,
|
zsh_cv_sys_getpwnam_faked=no,
|
||||||
|
|
Loading…
Reference in a new issue