Commit Graph

41 Commits (master)

Author SHA1 Message Date
Oliver Kiddle 271cfc685b 49534, 49539: separate watch/log functionality out into a module 3 years ago
Daniel Shahaf 8250c5c168 Improve PRIVILEGED fixes
- 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
4 years ago
Oliver Kiddle 014eaf7e81 43358: enforce consistent patchlevel form 6 years ago
Daniel Shahaf f96a016728 users/21256 + workers/37965: New math functions min(), max(), sum(), provided by a new autoloadable function 'zmathfunc'. 8 years ago
Barton E. Schaefer 7e4784f901 36663: replace obsolete "autobins" commentary with "autofeatures" 9 years ago
Peter Stephenson 9f9a16f43c 34977: more reliable test if preprocessor is GNU 9 years ago
Peter Stephenson c7aa644390 34287: preprocessor for signal name generation.
Some gcc header files are difficult for the signames2.awk
script to process, so if the preprocessor is gcc give the
option -P to strip out the unwanted additions.
9 years ago
Peter Stephenson cfd91eac07 Rearrange context saving.
Variables are now associated with the module that declares them, being
initialised and saved/restored there.  However, as many variables are
used for communication between modules, many of them are set in multiple
places, so the assignment is ambiguous.
9 years ago
Peter Stephenson 0c7a3d6864 33212: try to put /usr/local/share/zsh/site-functions in default fpath 10 years ago
Peter Stephenson a0c9da72f2 unposted: update 31983 to suppress stdout from cmp, too.
Gets rid of unnecessary messages building patchlevel.h.
10 years ago
Peter Stephenson 11d8781a3f 31983: suppress warning from cmp when genering patchlevel.h.
The warning doesn't indicate a problem, so isn't useful.
11 years ago
Barton E. Schaefer e36e7d9ade 31474: create patchlevel.h correctly when using a separate build tree 11 years ago
Peter Stephenson 369dc3a107 31246: make a separate patch level header for releases 11 years ago
Aaron Schrab 07478c6bc3 Generate patch level using `git describe`
Generate the patch level using `git describe` rather than relying on the
CVS $Revision$.  Need to use the `--tags` option, since currently there
are no annotated tags.  The `--long` option should be used so that the
output will always be in the 'tag-commits-hash' format rather than just
naming a tag when that would fully describe the current commit.

Since changes to the patchlevel could now be caused by changes to any
file, force the rule to be called every time that `make` is run.  Only
update the file when there are actually changes to prevent unnecessary
rebuilding of other build products (currently just `params.o` and
`zsh`).
11 years ago
Peter Stephenson 7fc9a4414d 29217: main shell now depends on zshcurses.h and zshterm.h 13 years ago
Peter Stephenson d770d2554b rename system.h to zsh_system.h 13 years ago
Peter Stephenson de06c83334 29214: use -I rather than explicit path to find headers 13 years ago
Peter Stephenson bafa15955d 29195: Separate nameddir hash to avoid clash of
"bool" type on Solaris
13 years ago
Frank Terbeck 32974286d4 29008, 29012: Add `--enable-additional-fpath' option to add arbitrary directories to the default `$fpath'. 13 years ago
Peter Stephenson 5da6530d83 28065 plus unposted zsh.mdd:
add cdr and related functions and docs
14 years ago
Peter Stephenson e763f79b3f 26300: dont use "echo -n" for $ZSH_PATCHLEVEL 16 years ago
Peter Stephenson 369a03d09f unposted: fix error using dollar Revision dollar 16 years ago
Peter Stephenson 18143c3226 262727: add $ZSH_PATCHLEVEL from ChangeLog revision 16 years ago
Peter Stephenson 23f2b4503c users/13252 and elsewhere: Frank Terbeck plus tweaks:
add VCS_Info function system
16 years ago
Peter Stephenson 2ca42b2025 24705: rationalise curses and term headers even more 16 years ago
Peter Stephenson e7210e10b0 23312: fix versioning and initialisation of word code headers 17 years ago
Peter Stephenson 553e011320 23118: improve sorting to make it work with locales 18 years ago
Clint Adams e6fdd78a18 21529: move scriptdir to a scripts subdir, and don't include Scripts in fpath. 19 years ago
Peter Stephenson e3c5dd2dd9 21498: Add zsh/newuser module 19 years ago
Peter Stephenson 20018230ee 20812: Add functions for exception handling 20 years ago
Peter Stephenson 530bbb503e unposted: update distribution files for 18980 and 19053 21 years ago
Andrey Borzenkov 7c45854508 14077: revert clint's build patches on 19.04.2001 23 years ago
Clint Adams 28fe9e6027 14039: simulate old linking behavior 23 years ago
Clint Adams a43aa761cd 14033: reduce unnecessary library linking for modules and main binary 23 years ago
Sven Wischnowsky 956ef612e2 cleanup after function move 23 years ago
Peter Stephenson cfe1038ff1 Fix --enable-function-subdirs for new config.modules system. 24 years ago
Peter Stephenson a59b51006b Function installation information now in config.modules 24 years ago
Peter Stephenson 49a1ad7516 13194: change in module configuration system 24 years ago
Clint Adams 946085efa5 12846: moved simple string manipulation functions to string.c 24 years ago
Andrew Main 9743c19d61 12434: Doc/Zsh/invoke.yo, Src/init.c, Src/options.c, Src/zsh.h,
Src/zsh.mdd: Allow options to be specified on the zsh command line
in the form of GNU-style long options.  Also handle --version
and --help.  Do not permit extra option letters to be stacked
after `-whatever-' (they used to be ignored).  Exit if the
command line specifies an option name that doesn't exist.
24 years ago
Tanaka Akira e74702b467 Initial revision 25 years ago