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