summaryrefslogtreecommitdiff
path: root/symbian
Commit message (Collapse)AuthorAgeFilesLines
* Revert "set PERL_EXIT_DESTRUCT_END in all embeddings"David Mitchell2018-05-111-4/+0
| | | | | | | | | | | | | | | This reverts commit 8e920bd341e241f50a74dbf8aa343319f204e200. Also skip the tests in t/op/blocks.t RT #132863 8e920bd341 sets the PERL_EXIT_DESTRUCT_END flag on non-UNIXy platforms, like is already done on UNIXy platforms. This makes things like BEGIN { exit(1) } call END blocks on those platforms (like they already do on UNIX). But it caused problems with win32 pseudo-forks, so revert for 5.28 and re-address the issues sometime later.
* Add HAS_STRTOD_L to metaconfig.h and rebuild ConfigureAaron Crane2018-04-191-0/+1
|
* Rebuild Configure from latest unitsAaron Crane2018-04-191-0/+1
| | | | | | | | | | | | Most of the change here comes from a single unit being moved in the generated Configure, but there are some substantive changes: - config_h.SH was missing HAS_DUPLOCALE and d_duplocale - d_duplocale was also missing from the platform-specific config-var files This still doesn't quite ensure that rebuilding Configure makes no changes, because there are differences to nl_langinfo() handling that need a change in our metaconfig units. That will come next.
* d_strchr is C89 and has been removed from ConfigureH.Merijn Brand2018-03-271-1/+0
|
* Actually make I18N::Langinfo avail on all platformsKarl Williamson2018-03-121-1/+1
| | | | | | | | | | | | I thought I had done this earlier, but testing on Windows demonstrated that I hadn't. While at it, move the details in the docs for Perl_langinfo to the module's pod. This doesn't follow the paradigm for putting the Configure stuff in all the related configure files, but I saw no point to doing so. If you are reading this because I was wrong, feel free to ticket it or fix it.
* configure probe for mkostemp()Zefram2017-12-221-0/+1
| | | | | This is another file descriptor creating function that's needed as an O_CLOEXEC-handling variant of an existing function.
* configure probes for accept4(), dup3(), pipe2()Zefram2017-12-221-0/+3
| | | | | These will shortly be used to implement I/O operations that create file descriptors with the FD_CLOEXEC flag set atomically.
* set PERL_EXIT_DESTRUCT_END in all embeddingsZefram2017-12-221-0/+4
| | | | | | The new tests in commit 503bc07b4b9e34ed04a725b2bc8faec1ae0f3be2 showed up platform differences in whether END blocks get run. Set PERL_EXIT_DESTRUCT_END in all embeddings to make this consistent.
* Restore ability to build on platforms without snprintf()Aaron Crane2017-11-181-0/+2
| | | | | | | | | | | | | C89 does not in fact define snprintf() or vsnprintf(), and we must therefore probe for the existence of those functions before trying to use them. khw++ for pointing out my earlier error. This reverts part or all of each of the following commits: 13d66b05c6163c3514774d3d11da5f3950e97e98 Rely on C89 vsnprintf() e791399041815a1a45cea3c7f277c7045b96e51b Rely on C89 snprintf() adf7d503e55721c500f0bf66560b8f5df7966fe7 pod/perlhacktips.pod: remove some outdated portability notes
* Convert strcmp into strEQ, strNEKarl Williamson2017-10-241-2/+2
| | | | The latter two are easier to read
* Rely on C89 <string.h>Aaron Crane2017-10-211-1/+0
| | | | This requires a corresponding change in the metaconfig units.
* Don't attempt to use non-standard <memory.h>Aaron Crane2017-10-211-1/+0
| | | | It's only needed on systems without C89 <string.h>, which we rely on anyway.
* Rely on C89 <assert.h>Aaron Crane2017-10-211-1/+0
|
* Rely on C89 <math.h>Aaron Crane2017-10-211-1/+0
| | | | This requires a corresponding change in the metaconfig units.
* Rely on C89 strerror()Aaron Crane2017-10-211-2/+0
| | | | This requires a corresponding change to the metaconfig units.
* Don't try to use <values.h>Aaron Crane2017-10-211-1/+0
| | | | | All the information it contains can be gleaned more readily from C89 <limits.h> and <float.h>.
* Rely on C89 <float.h>Aaron Crane2017-10-211-1/+0
| | | | This requires newer metaconfig units that also rely on C89 <float.h>.
* Rely on C89 <limits.h>Aaron Crane2017-10-211-1/+0
| | | | This requires newer metaconfig units that also rely on C89 <limits.h>.
* Rely on C89 sprintf() return value semanticsAaron Crane2017-10-211-1/+0
|
* Rely on C89 <stddef.h>Aaron Crane2017-10-211-1/+0
|
* Rely on C89 variadic prototypesAaron Crane2017-10-211-1/+0
| | | | | | | The Configure changes here were generated using a version of metaconfig that copies U/modified/vaproto.U from dist/U/vaproto.U, and changes it to refrain from promising to define a _V symbol (which would otherwise cause the relevant probe to included in Configure).
* Rely on C89 vprintf()Aaron Crane2017-10-211-2/+0
|
* Rely on C89 snprintf()Aaron Crane2017-10-211-2/+0
|
* Assume C89 "volatile" keywordAaron Crane2017-10-211-1/+0
| | | | | | | The Configure changes here were generated using a version of metaconfig that makes U/perl/perlxv.U assume that the keyword exists, and prevents U/modified/d_volatile.U from promising to define a "volatile" keyword; otherwise, those units would bring in the relevant Configure probe anyway.
* Assume we have C89 memchr()Aaron Crane2017-10-211-1/+0
|
* Assume we have sane C89 memcmp()Aaron Crane2017-10-211-3/+0
| | | | | | | "Sane" means that it works correctly on bytes with their high bit set, as C89 also requires. We therefore no longer need to probe for and/or use BSD bcmp().
* Assume we have C89 memcpy() and memmove()Aaron Crane2017-10-211-4/+0
| | | | We can therefore also avoid probing for and/or using BSD bcopy().
* Don't look for a "safe" memcpy()Aaron Crane2017-10-211-1/+0
| | | | | | | | | | | | | C89 says that, if you want to copy overlapping memory blocks, you must use memmove(), and that attempt to copy overlapping memory blocks using memcpy() yields undefined behaviour. So we should never even attempt to probe for a system memcpy() implementation that just happens to handle overlapping memory blocks. In particular, the compiler might compile the probe program in such a way that Configure thinks overlapping memcpy() works even when it doesn't. This has the additional advantage of removing a Configure probe that needs to execute a target-platform program on the build host.
* Assume we have C89 memset()Aaron Crane2017-10-211-2/+0
| | | | This means we also never need to consider using BSD bzero().
* Remove USE_STRUCT_COPY in favour of C89 struct assignmentAaron Crane2017-10-211-1/+0
| | | | | At least for now, we retain the StructCopy() macro, but its definition always just uses struct assignment.
* Add new Configure probesH.Merijn Brand2017-10-211-0/+11
| | | | | | | This is a merge off several new probes in metaconfig done in the new shared developing environment by several authors Thanks to all that contributed!
* Finish adding memrchr Configure probeDagfinn Ilmari Mannsåker2017-10-131-0/+1
| | | | | Commit 1e436e33 accidentally added the probe to Configure, this finishes the job by regenerating Glossary, config_h.SH and friends.
* add probes for openat, unlinkat, renameat, linkat and fchmodatTony Cook2017-09-111-0/+5
|
* (perl #126228) partly revert 8cc95fdb and fix a3c8358cTony Cook2017-01-191-1/+1
| | | | | | | | | | | | | | | | | | | a3c8358c changed: -#define dXSUB_SYS int dummy +#define dXSUB_SYS which made dXSUB_SYS into not-a-declaration, this apparently broke something, since 8cc95fdb then went through all the definitions of dXSUB_SYS, made each of them into not-a-declaration and then ensured ExtUtilis::Miniperl emitted dXSUB_SYS in a place where it didn't matter whether it was a declaration or a statement. When these changes were made perl.h didn't have dNOOP, but now we do, so we can make dXSUB_SYS a declaration again, as its name implies. Based on a patch originally created by Daniel Dragan (bulk88).
* Switch most open() calls to three-argument form.John Lightsey2016-12-237-38/+38
| | | | | | | | | | Switch from two-argument form. Filehandle cloning is still done with the two argument form for backward compatibility. Committer: Get all porting tests to pass. Increment some $VERSIONs. Run: ./perl -Ilib regen/mk_invlists.pl; ./perl -Ilib regen/regcharclass.pl For: RT #130122
* No default breaks win32 and VMSH.Merijn Brand2016-11-121-1/+1
|
* Remove "." from default @INC when default_inc_excludes_dot is setH.Merijn Brand2016-11-111-0/+1
| | | | | | | | | | | | | | | | Perl now provides a way to build perl without . in @INC by default. If you want this feature, you can build with -Ddefault_inc_excludes_dot Because the testing / make process for perl modules do not function well with . missing from @INC, Perl now supports the environment variable PERL_USE_UNSAFE_INC=1 which makes Perl behave as it previously did, returning . to @INC in all child processes. WARNING: PERL_USE_UNSAFE_INC has been provided during the perl 5.25 development cycle and is not guaranteed to function in perl 5.26. Update unit tests and default value files to work with the new %Config variable "default_inc_excludes_dot"
* Configure: add defs summarizing doublekind/longdblkindJarkko Hietaniemi2016-10-281-0/+13
| | | | | | | | | | For windows/netware It seems that many of the recent fp definitions have not been yet copied over there [1] [2], so went mostly by dead reckoning [3]. [1] Note that many of them are not absolutely necessary for building. [2] The proper updating involves doing stuff in win32, which I do not have. [3] As far as I can tell, Windows CE does not really not have long double.
* Add probe for gai_strerrorH.Merijn Brand2016-08-111-0/+1
|
* forgot the cfgvarH.Merijn Brand2016-07-281-0/+1
|
* Add Configure probe for strerror_l()Aaron Crane2016-06-021-0/+1
| | | | | | | | | As requested by khw++ Until the relevant symbol is used, HAS_STRERROR_L must be mentioned explicitly in metaconfig.h. This corresponds to metaconfig d0838744f03cfe7642950ea91dd48f575d0bfd15.
* Add Configure probe for querylocale()Aaron Crane2016-06-021-0/+1
| | | | | | | | | As requested by khw++ Until the relevant symbol is used, HAS_QUERYLOCALE must be mentioned explicitly in metaconfig.h. This corresponds to metaconfig 541f0dd272df4f9326996727898393ac8f6626f7.
* Add locale mutexKarl Williamson2016-04-091-2/+4
| | | | | This adds a new mutex for use in the next commit for use with locale handling.
* Add probe for memmemH.Merijn Brand2016-03-251-0/+1
|
* Add Configure probes for newlocale, freelocale, and uselocaleH.Merijn Brand2016-03-191-0/+3
|
* Probe for and expose more fields for SA_SIGINFODagfinn Ilmari Mannsåker2016-01-261-0/+7
| | | | | | | | These are all specified by POSIX/SUSv3, but not all platforms have them, as mentioned in POSIX.pm. We can only test the pid, uid and code fields, since they are the only ones that are defined for a user-sent signal.
* Add Configure support for fdclose() for [perl #126847].Andy Dougherty2016-01-041-0/+1
| | | | | This patch also adjusts the generated files suggested by Porting/checkcfgvar.pl.
* DynaLoader/dl_*.xs: Define all PERL_IN_DL_*_XS markersReini Urban2015-11-111-1/+1
| | | | On Symbian harmonize with the rest.
* Revert "Remove unused filesystem stat symbols."Jarkko Hietaniemi2015-10-301-0/+17
| | | | | | | | | | | This reverts commit 821805a244cacd9869331999cd53407f3323206a. What's out, is out. perl #107904 Filesys-Df perl #108189 Filesys-DfPortable perl #108191 Filesys-Statvfs perl #126368 Filesys-DfPortable
* Remove unused filesystem stat symbols.Jarkko Hietaniemi2015-10-021-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | d_fs_data_s HAS_STRUCT_FS_DATA d_fstatfs HAS_FSTATFS d_fstatvfs HAS_FSTATVFS d_getfsstat HAS_GETFSSTAT d_getmnt HAS_GETMNT d_getmntent HAS_GETMNTENT d_hasmntopt HAS_HASMNTOPT d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS d_statfs_s HAS_STRUCT_STATFS d_ustat HAS_USTAT i_mntent I_MNTENT i_sysmount I_SYS_MOUNT i_sysstatfs I_SYS_STATFS i_sysstatvfs I_SYS_STATVFS i_sysvfs I_SYS_VFS i_ustat I_USTAT Unused by the Perl core. As far as I can remember I added these scans long ago, for some purpose (df(1) kind of APIs?) but whatever it was, it obviously hasn't exactly caught fire in the last 15 years. Some rare uses of these APIs (not these defines, but e.g. statfs) in CPAN (like the Quota module), but those seem to do their own configuration.