Debian Codegraph @

Changes

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