Bart Schaefer
420d2c713f
52275: rationality in zgetdir() and zgetcwd()
6 months ago
Cedric Ware
25c9b61a66
45708: zsh/system: Enable sub-second timeout in zsystem flock
4 years ago
Peter Stephenson
a6a1b28b98
45487: Missing mod_export declarations for AIX
4 years ago
Martijn Dekker
c578f0a08b
45004: Fix typos in comments
5 years ago
Daniel Shahaf
87db974a84
users/24451: zgetcwd: Add a guard against returning an empty string.
5 years ago
Peter Stephenson
d4972af12c
44254: Handle error case in zgetdir().
...
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.
5 years ago
dana
394f3a47e4
43075: Support nanosecond-precision time formatting
...
* 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
6 years ago
Jun-ichi Takimoto
171e7fa4c1
41090: Replace iswprint() if unicode9 is enabled.
...
If wcwidth() or iswprint() is broken, force enable unicode9.
7 years ago
Jun-ichi Takimoto
e8699613bc
40050: prepend /**/ to global functions and #ifdefs
8 years ago
Joshua Rubin
596ba302e6
40037: Unicode 9 character width support.
...
Enable with --enable-unicode9.
8 years ago
Peter Stephenson
a62e1640bc
39958: Add extra byte to PATH_MAX allocations.
...
This ensures we've got enough space for a null, although this
isn't always needed.
8 years ago
Oliver Kiddle
45e67c3552
36422: add missing unmeta()
9 years ago
Peter Stephenson
61afb8dc8d
36262: Replace fix for missing unmeta in chdir().
...
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.
9 years ago
Peter Stephenson
34be0f1fe5
36232: Unmeta needed in chdir() in zchdir()
9 years ago
Barton E. Schaefer
89a689e693
34961: replace a couple of free() with zfree() for consistency
9 years ago
Jun-ichi Takimoto
4bc554bb8b
34636: replace broken isprint() on Mac OS X
9 years ago
Nikolas Garofil
4f4d2b8247
32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation
...
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
10 years ago
Peter Stephenson
13b8a25456
Jun T.: 30640: MacOS doesn't define __STDC_ISO_10646__ but we need
...
the replacement wcwidth function anyway
12 years ago
Peter Stephenson
85a698b8ec
YAMAMOTO Takashi: 30599: don't use replacement wcwidth if not ISO-10646
12 years ago
Peter Stephenson
825c1a1141
28010: use getcwd() as fallback
14 years ago
Peter Stephenson
7850fc5a2c
28006: make zgetcwd() fall back to pwd,
...
only use "." if setting pwd
14 years ago
Peter Stephenson
7977ce0747
27721: rationalise initialisation of file descriptors
14 years ago
Peter Stephenson
cb6856d115
26754: tweak zgetdir() and test for realpath()
15 years ago
Peter Stephenson
2cec7aae44
24861 (with tweaks): logic to use alternative wcwidth() if needed;
...
slightly improve test for overwriting with combining characters.
16 years ago
Peter Stephenson
b9a04359d2
24662: River Tarnell: strtoul() compat when not in system library
16 years ago
Wayne Davison
bb78896c7f
A few minor style tweaks (as discussed in 20595 and 20596).
20 years ago
Wayne Davison
8b136c84d2
Corrected the error-return comment for zchdir() and optimized the
...
HAVE_FCHDIR error-return code.
20 years ago
Peter Stephenson
d2c67e5e19
20591: Stephane Chazelas: use of fchdir in zchdir leaked fd's
20 years ago
Oliver Kiddle
af0697b705
17503: fix various typos and spelling mistakes in source code comments
22 years ago
Bart Schaefer
c43a6be917
16094: zopenmax() need only return the highest-numbered open descriptor
23 years ago
Oliver Kiddle
0f960cc8ca
fix IRIX 5.3 specific compilation problems and some error messages (15204)
23 years ago
Bart Schaefer
0d96dc0879
Back out 12814.
24 years ago
Clint Adams
2742cb14ce
12814: zasprintf
24 years ago
Bart Schaefer
135b181aa6
12604: Remove calls to zpathmax(), minor fixes to zopenmax().
24 years ago
Clint Adams
cb89544d32
12568: check sysconf(_SC_OPEN_MAX) if available instead of OPEN_MAX/NOFILES.
24 years ago
Bart Schaefer
1859bb2d0a
12548: Tweak 12547.
24 years ago
Bart Schaefer
1ff8518b16
12547: Handle ENOENT and ENOTDIR in zpathmax().
24 years ago
Clint Adams
45ffc3b6c8
12541: zrealpath wrapper around realpath()
24 years ago
Bart Schaefer
22cbf1b271
15216: Rewrite pathconf() support.
24 years ago
Tanaka Akira
e74702b467
Initial revision
25 years ago