summary refs log tree commit diff
path: root/Src/compat.c
Commit message (Collapse)AuthorAgeFilesLines
* 45708: zsh/system: Enable sub-second timeout in zsystem flockCedric Ware2020-04-201-0/+26
|
* 45487: Missing mod_export declarations for AIXPeter Stephenson2020-02-241-1/+1
|
* 45004: Fix typos in commentsMartijn Dekker2019-12-111-2/+2
|
* users/24451: zgetcwd: Add a guard against returning an empty string.Daniel Shahaf2019-11-191-1/+1
|
* 44254: Handle error case in zgetdir().Peter Stephenson2019-04-251-1/+11
| | | | | | | | When retrieving path to current directory by looking for /, ensure we have actually reached / by comparing inode. If the current directory became invalid on some OSes including Linux the parent directory is valid but is the same as the current one.
* 43075: Support nanosecond-precision time formattingdana2018-06-201-0/+33
| | | | | | | | * 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
* 41090: Replace iswprint() if unicode9 is enabled.Jun-ichi Takimoto2017-05-121-316/+6
| | | | If wcwidth() or iswprint() is broken, force enable unicode9.
* 40050: prepend /**/ to global functions and #ifdefsJun-ichi Takimoto2016-12-011-0/+35
|
* 40037: Unicode 9 character width support.Joshua Rubin2016-11-291-1/+12
| | | | Enable with --enable-unicode9.
* 39958: Add extra byte to PATH_MAX allocations.Peter Stephenson2016-11-171-3/+3
| | | | | This ensures we've got enough space for a null, although this isn't always needed.
* 36422: add missing unmeta()Oliver Kiddle2015-09-081-1/+1
|
* 36262: Replace fix for missing unmeta in chdir().Peter Stephenson2015-08-211-3/+8
| | | | | | | It was needed in the argument to one of a pair of lchdir()s rather than within zchdir(). Add tests for the case of a character with 0x83 within it.
* 36232: Unmeta needed in chdir() in zchdir()Peter Stephenson2015-08-181-1/+1
|
* 34961: replace a couple of free() with zfree() for consistencyBarton E. Schaefer2015-04-251-1/+1
|
* 34636: replace broken isprint() on Mac OS XJun-ichi Takimoto2015-03-051-0/+15
|
* 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilationNikolas Garofil2014-06-071-1/+1
| | | | | | | | | | | 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
* Jun T.: 30640: MacOS doesn't define __STDC_ISO_10646__ but we needPeter Stephenson2012-08-231-2/+2
| | | | the replacement wcwidth function anyway
* YAMAMOTO Takashi: 30599: don't use replacement wcwidth if not ISO-10646Peter Stephenson2012-08-071-2/+2
|
* 28010: use getcwd() as fallbackPeter Stephenson2010-06-141-1/+18
|
* 28006: make zgetcwd() fall back to pwd,Peter Stephenson2010-06-081-11/+39
| | | | only use "." if setting pwd
* 27721: rationalise initialisation of file descriptorsPeter Stephenson2010-02-221-29/+34
|
* 26754: tweak zgetdir() and test for realpath()Peter Stephenson2009-03-191-2/+30
|
* 24861 (with tweaks): logic to use alternative wcwidth() if needed;Peter Stephenson2008-04-221-1/+324
| | | | slightly improve test for overwriting with combining characters.
* 24662: River Tarnell: strtoul() compat when not in system libraryPeter Stephenson2008-03-031-0/+102
|
* A few minor style tweaks (as discussed in 20595 and 20596).Wayne Davison2004-12-011-6/+7
|
* Corrected the error-return comment for zchdir() and optimized theWayne Davison2004-11-291-9/+8
| | | | HAVE_FCHDIR error-return code.
* 20591: Stephane Chazelas: use of fchdir in zchdir leaked fd'sPeter Stephenson2004-11-291-3/+7
|
* 17503: fix various typos and spelling mistakes in source code commentsOliver Kiddle2002-08-051-2/+2
|
* 16094: zopenmax() need only return the highest-numbered open descriptorBart Schaefer2001-11-031-5/+25
|
* fix IRIX 5.3 specific compilation problems and some error messages (15204)Oliver Kiddle2001-07-021-1/+1
|
* Back out 12814.Bart Schaefer2000-09-181-74/+0
|
* 12814: zasprintfClint Adams2000-09-161-0/+74
|
* 12604: Remove calls to zpathmax(), minor fixes to zopenmax().Bart Schaefer2000-08-141-26/+40
|
* 12568: check sysconf(_SC_OPEN_MAX) if available instead of OPEN_MAX/NOFILES.Clint Adams2000-08-081-0/+21
|
* 12548: Tweak 12547.Bart Schaefer2000-08-051-13/+12
|
* 12547: Handle ENOENT and ENOTDIR in zpathmax().Bart Schaefer2000-08-051-15/+33
|
* 12541: zrealpath wrapper around realpath()Clint Adams2000-08-051-0/+13
|
* 15216: Rewrite pathconf() support.Bart Schaefer2000-08-041-7/+83
|
* Initial revisionTanaka Akira1999-04-151-0/+285