summary refs log tree commit diff
path: root/Src/zsh_system.h
Commit message (Collapse)AuthorAgeFilesLines
* 47785: remove deprecated autoconf functionsFelipe Contreras2021-04-091-19/+2
| | | | STDC_HEADERS and TIME_WITH_SYS_TIME are deprecated.
* Improve PRIVILEGED fixesDaniel Shahaf2020-02-141-17/+77
| | | | | | | | | | | | | | | | | | | | | | | | - Fix retval handling in bin_setopt() - Don't skip_setuid / skip_setgid. It's not our place to optimize away noops (that might not even _be_ noops; they might change the saved uid…). - Remove HAVE_* guard checks around functions that are used unguarded elsewhere. - Use bsd-setres_id.c from OpenSSH to provide setresuid() / setresgid() everywhere, and thus simplify the ifdef soup. Fix some preëxisting bugs in the macro definitions of setuid() (do we still need that one?). - Fix zwarning() format codes for variadic arguments type safety - Restored a comment from HEAD - Fix failure modes around initgroups() - Compared privilege restoration code with OpenSSH's permanently_drop_uid() and updated as needed - Add E01 PRIVILEGED sanity checks
* 44709: incluce sys/capability.h only if HAVE_CAP_GET_PROC is definedJun-ichi Takimoto2019-08-281-1/+1
|
* 43759: add support for true colour terminalsOliver Kiddle2018-11-051-0/+4
|
* 43075: Support nanosecond-precision time formattingdana2018-06-201-0/+8
| | | | | | | | * Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059
* 39728: define _GNU_SOURCE on CygwinJun-ichi Takimoto2016-11-071-1/+1
|
* 39014: Use special OpenBSD interface to get correct rand() behaviorMikael Magnusson2016-08-101-0/+4
|
* 38432: avoid nonstandard setenv() on __APPLE__Barton E. Schaefer2016-05-091-1/+1
|
* 32853: redefine VARARR() to use heap rather than stack allocationBarton E. Schaefer2014-07-241-0/+4
| | | | enable old behavior via "configure --with-stack-allocation"
* 32789: --enable-zsh-valgrind allows analysis of heap allocationPeter Stephenson2014-06-241-0/+5
|
* 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilationNikolas Garofil2014-06-071-1/+4
| | | | | | | | | | | fixes Src/utils.c: properly ifdef declarations Src/zsh_system.h: memmove() should return its dest argument Src/signals.c: define ret before use Src/mem.c: remove unused pointers Src/prototypes.h: use size_t in bcopy() Src/compat.c: fix const declaration inconsistency
* Unused function attribute fix for clang compilationMihai Moldovan2013-05-101-1/+1
|
* 30617: rationalise replacement tgoto() prototypePeter Stephenson2012-08-161-4/+0
|
* 30518: attempt to supply tgoto() prototype when missing only.Peter Stephenson2012-06-211-0/+4
| | | | For Solaris 10 and earlier.
* rename system.h to zsh_system.hPeter Stephenson2011-05-101-0/+876