Debian Codegraph @

Changes

raw
1 Revision history for POSIX::2008.
2
3 0.29 2026-09-08
4 - Added accept4(), dup3(), pipe2().
5 - Added DARN as a fallback for getentropy().
6 - Added RTLD_DEFAULT, RTLD_NEXT.
7 - Improved IS_SAFE_PATHNAME().
8 - Fixed catopen() to return undef instead of -1 on error.
9 - Fixed dlopen(), dlsym() to return undef instead of 0 on error.
10 - Deduplicated basename()/dirname() code.
11 - Use static typemap instead of generating it in Makefile.PL.
12 - Avoid Clang bug #88624.
13
14 0.28 2026-07-24
15 - Handle some non-constant C macros (e.g. on Solaris).
16 - Check for math functions not available on older FreeBSD releases.
17 - t/09_time.t: Check only strptime() values set in the format string.
18 - Small POD fixes.
19
20 0.27 2026-07-22
21 - This module now also covers POSIX.1 editions after 2008.
22 - Math functions use quadmath or long doubles if enabled and available.
23 - Added work-around for Bessel functions bricked by MinGW with C99 and later.
24 - Added fabs(), frexp(), lrint(), pow(), rint(), sqrt(),
25 pause(), posix_openpt(), grantpt(), unlockpt().
26 - Added, among others, *LONG_(MAX|MIN) constants. These are strings when
27 outside the UV/IV range (addresses GH#13406).
28 - Added :errno_h export tag and all POSIX errno constants.
29 - Added a bunch of constants new in POSIX.1-2024.
30 - Added some interfaces new in POSIX.1-2024:
31 * getentropy()
32 * getresgid(), getresuid(), setresgid(), setresuid()
33 * mkostemp()
34 * ppoll()
35 * strptime() supports tm_gmtoff and tm_zone.
36 - confstr() no longer returns the trailing NUL byte.
37 - lround(), remainder(), remquo() no longer return undef/empty on error.
38 - writev(), pwritev(), pwritev2() accept array refs as buffer elements.
39 - openat() allows dirfd to be a reference to an NV or PV, not only IV.
40 - @EXPORT_OK now only includes symbols actually available.
41 - Added some happy little tests.
42
43 0.26 2025-07-25
44 - _readv50c(): Use SVt_RV for sv_upgrade() w/ Perl < 5.12 to please DEBUGGING.
45 - poll():
46 * Initialize events with 0 for placeholders.
47 * Safeguard against nasty threads when writing back revents.
48 - clock_nanosleep(), clock_[gs]ettime(), nanosleep():
49 * Better float detection.
50 * Invoke SvGETMAGIC() on SV* argument.
51 - timer_create(): Invoke SvGETMAGIC() on SV* argument.
52 - POD "fixes" (POD doesn't have forced line breaks ...).
53
54 0.25 2025-07-12
55 - Updated ppport.h to version 3.73.
56 - Added poll(), psignal(), strsignal(), statvfs().
57 - Added :poll export tag.
58 - Added TIMER_ABSTIME to the :clock export tag.
59 - Added t/07_poll.t.
60 - Fixed skip count in t/03_rw.t.
61 - Fixed clock_getcpuclockid() to set errno on error.
62 - clock_getcpuclockid() defaults to pid=0 instead of $$, saving a redundant
63 call to PerlProc_getpid().
64 - clock_getres(), clock_gettime() return floating seconds in scalar context.
65 - clock_settime(), clock_nanosleep(), nanosleep() also accept floating seconds.
66 - POD updates.
67
68 0.24 2024-06-14
69 - Updated ppport.h to version 3.72.
70 - Cope w/ env change during iteration in _execve50c().
71 - Flush I/O buffers before calling fexecve()/execveat().
72 - Support magic function arguments.
73 - Support arrayref argument for strptime() (addresses RT#66519).
74 - Call readlinkat() for readlink() if available to avoid a branch.
75 - Don't write to SvPV(sv)[SvLEN(sv)-1], otherwise Perl >= 5.20 tends to
76 segfault because it abuses this char for COW counting. [facepalm.gif]
77 - Adjusted some prototypes: clock_nanosleep($$@), clock_settime($@),
78 futimens($@), nanosleep(@), setitimer($@), timer_settime($$@),
79 utimensat($$;$@).
80 - POD updates.
81
82 0.23 2024-01-27
83 - t/06_exec.t: Skip fexecve test if we can't sysopen() the Perl executable.
84 - Removed silly fileno int range check added in 0.22 because AT_FDCWD is
85 0xffd19553 on Solaris.
86
87 0.22 2024-01-26
88 - Fixed confstr() error handling.
89 - Fixed getutx*() out-of-bounds read from utmpx string buffers.
90 - Fixed ptsname() and ttyname() to also accept file handles.
91 - Fixed read*() and pread*() to not overwrite read-only buffers.
92 - Fixed catclose(), dlclose(), killpg(), set*gid(), set*uid(), sig*()
93 to return "0 but true" on success and undef on error as documented.
94 - Forbid negative byte counts in read*(), pread*(), write(), pwrite().
95 - Added home-grown non-standard removeat().
96 - Added creat(), execveat(), fexecve(), raise().
97 - Added pathconf(), sysconf() and tons of _CS_, _PC_, _SC_ constants.
98 - Added :confstr, :pathconf, :sysconf export tags.
99 - Added some non-standard constants.
100 - Added t/06_exec.t.
101 - Made timer_create()'s "signal" argument optional.
102 - Made lchown(), log10(), nexttoward(), posix_f*() exportable.
103 - Bless returned file handles into IO::Dir/File to make handle methods work.
104 - t/02_fs.t: Skip dev/ino/rdev stat() checks on Windows w/ Perl 5.34+ to
105 fake cpantesters green lights (see perl5340delta).
106 - POD updates.
107
108 0.21 2023-11-16
109 - Replaced FMT_UINT macro by function.
110 - Replaced safesysfree() by free() in realpath() (closes RT#149058).
111 - Added non-standard renameat2(), RENAME_* constants.
112 - POD fixes.
113
114 0.20 2023-07-14
115 - t/02_fs.t: Added work-around for bugs in CORE::stat().
116 - Pimped abs().
117 - Fixed nice() error handling.
118 - Added PRIO_*, FE_*, RWF_*, SEEK_DATA and SEEK_HOLE constants.
119 - Added some non-standard open() flags.
120 - Added preadv2(), pwritev2().
121 - Added remquo().
122 - Added feclearexcept(), feraiseexcept(), fetestexcept().
123 - Added isgreaterequal(), isless(), islessequal(), islessgreater(),
124 isunordered().
125 - Added fenv_h export tag.
126 - POD improvements.
127
128 0.19 2023-07-07
129 - Updated ppport.h to version 3.71
130 - Replaced av_len()+1 by av_count() in (p)readv() and (p)writev().
131 - Removed "extern int getdate_err" because it's already in time.h.
132 - Try to get a green light from dubious cpantesters reports for old Perls.
133 - Added LICENSE to WriteMakefile().
134 - Added stat_h export tag and some constants.
135 - Added exp(), isascii(), rmdir(), setsid(), sin(), ttyname().
136 - Made casin(), isalnum(), log() exportable.
137 - chdir(), chmod(), chown(), truncate() and stat() now also accept
138 a file handle or a file descriptor.
139 - Deprecated atol(), atoll(), ldiv(), fchdir(), fchmod(), fchown(), ftruncate().
140 - Pimped atoi(), div(), lround().
141 - Figure out what's available by compiling some C code.
142 - Added some tests.
143 - Small POD fixes.
144
145 0.18 2023-06-01
146 - Updated ppport.h to version 3.68
147 - Fixed size checking in readlink().
148 - Fixed error handling of psx_fileno():
149 Check for -1 instead of < 0 to make AT_FDCWD work (which is negative).
150 - Disabled -Wdeprecated-declarations for sig*().
151 - Makefile.PL now creates const-c.inc and const-xs.inc dynamically.
152 - openat() can now optionally return a handle when AT_FDCWD is used.
153 - Added realpath().
154 - Added openat2() (non-POSIX).
155 - POD improvements.
156
157 0.17 2021-03-09
158 - Updated ppport.h to version 3.62 (closes RT#127900)
159 - pread()/pwrite(): Use %lld in warn() format string (closes RT#127902)
160 - Some minor cosmetics.
161
162 0.16 2017-09-15
163 - Added timer_create(), timer_delete(), timer_gettime(), timer_getoverrun(), timer_settime().
164 - Added close() (closes RT#123054).
165
166 0.15 2017-09-10
167 - Fixed a POD error.
168 - Really fake green lights on cygwin.
169
170 0.14 2017-09-09
171 - Added posix_fadvise() and posix_fallocate().
172 - Added missing constants from fcntl.h.
173 - POD update.
174 - Fake some green lights on cygwin.
175
176 0.13 2017-09-08
177 - pread/pwrite argument order is now (count, offset) instead of (offset, count).
178 - Added readv(), preadv().
179 - Added strptime() to the list of exportable functions.
180
181 0.12 2017-09-03
182 - Fixed missing semicolon in #if branch of nearbyint().
183 - Added some CLOCK_ constants.
184 - Added const-c.inc, const-xs.c.
185
186 0.11 2017-09-02
187 - Don't call clog() if you mean cexp() ...
188
189 0.10 2017-09-02
190 - Added more detailed checks for availability of complex functions.
191 - NetBSD seems a bit special about struct stat.
192
193 0.09 2017-09-01
194 - Added some cheats to make some red lights turn to green on cpantesters.
195 - Fixed a POD typo.
196
197 0.08 2017-08-31
198 - Added writev(), pwritev(), lchown(), lround(), clock(), access().
199
200 0.07 2017-08-27
201 - Call croak_xs_usage() only if available.
202 - Really let all I/O functions accept file handles.
203 - Try to reduce compiler errors on non-Linux systems.
204
205 0.06 2017-08-26
206 - Fixed an fd leak in fdopendir() and openat() (see Ye Olde Perl #59268).
207 XS docs are really poor.
208 - Cleaned up openat().
209 - Dropped Perl 5.10 dependency.
210
211 0.05 2017-08-25
212 - Added fdopen() and fdopendir().
213 - All I/O functions taking file descriptors now accept file handles as well.
214 - Fixed pread() to truncate the buffer if the data doesn't exceed it.
215
216 0.04 2015-05-25
217 - Fixed _readlink50c (#96644).
218
219 0.03 2013-09-15
220 - check SvGROW for NULL
221 - use shorter mPUSH macros
222
223 0.02 2013-09-14
224 - added strptime()
225
226 0.01 2013-09-13
227 - initial version