Commit Graph

18875 Commits

Author SHA1 Message Date
he
b2720bf72a In the non-softfloat m68k part, add s_nexttoward.c and s_nexttowardf.c,
so that we get nexttoward() and nexttowardf() implemented here as well.
2017-08-16 09:18:24 +00:00
he
4ca6be884d On systems without __HAVE_LONG_DOUBLE, also alias nexttoward() and
nexttowardl() to nextafter().
2017-08-16 09:15:48 +00:00
mlelstv
7d91d16de6 rintl is required for archs that support long double. 2017-08-15 10:40:28 +00:00
ginsbach
626fa0a1b6 PR lib/15802: Shuuichirou Murata: Add missing xdr_rpcbs_rmtcalllist_ptr
There was a missing call to xdr_rpcbs_rmtcalllist_ptr in xdr_rpcb_stat.
This fixes issues with RPCBPROC_GETSTAT not working correctly with
systems that correctly implement the XDR encode/decode routine.

XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-08-13 01:08:41 +00:00
maxv
0dac6a5c0e Bump - removal of i386_vm86 and i386_pmc. 2017-08-12 19:48:28 +00:00
maxv
cc29cfc600 All things considered, remove the i386_pmc API. I deprecated it some
months ago, and clearly no one should be using it.

(reminder: our new PMCs use the same sysarch, but the arguments are
opaque and not compatible with the previous versions)
2017-08-12 08:21:30 +00:00
maxv
ee34266187 Remove the i386_vm86 API (instead of just deprecating it). This API is not
available anymore, and any binary using it won't function correctly.
2017-08-12 07:59:42 +00:00
ginsbach
e5907619c8 Fix a couple comments and a spacing nit.
- Change a XXX comment that no longer applies.
- Add a clarifying comment.
2017-08-12 03:29:23 +00:00
ginsbach
bc29482829 PR lib/50316: Gracefully handle a zero number of members argument.
Taken from FreeBSD (which fixed this same issue long ago).

XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-08-12 01:10:04 +00:00
he
900a3d47b2 Move s_nearbyint.c out of the cpu ifdefs and into COMMON_SRCS,
which is used everywhere except on vax.  This is to simplify and
to ensure the function is included in the build, allowing us to
re-add the nearbyint() test.
2017-08-11 20:24:56 +00:00
maxv
c8550ea9c2 Deprecate. 2017-08-06 08:00:40 +00:00
wiz
b7a4e7c758 Remove superfluous Pp. 2017-08-05 20:22:29 +00:00
ginsbach
2c7d87026b There are more than four types of encoding. The combination of
VIS_CSTYLE | VIS_OCTAL is different from either separately.
2017-08-04 01:06:22 +00:00
martin
7f878ea30c pthread__attr_init_private:
malloc+memset -> calloc. Also initialize all values to the proper
defaults.
This fixes the "rustc panic" discussed on pkgsrc-users.
OK: joerg
2017-08-01 12:31:45 +00:00
wiz
5c03888027 Bump date for previous. 2017-07-30 23:13:24 +00:00
cheusov
06a8adc44a According to POSIX return value of fputs(3) should be a non-netagive value if it succeeds 2017-07-30 22:53:56 +00:00
he
0cac3e13d5 The sparc port needs s_nearbyint.c as well. 2017-07-27 10:03:10 +00:00
he
4ae65f06c5 Non-softfloat m68k needs s_rintl.c. 2017-07-27 07:01:58 +00:00
he
07051e2f14 Add s_nearbyint.c to alpha, ia64, riscv, mips, powerpc, and sh3 ports. 2017-07-26 09:53:09 +00:00
he
e07b573bf9 Add some blank lines to separate the different CPU archs,
for a minimal readability improvement.
2017-07-26 09:42:12 +00:00
martin
53f08c908d Do not use IEEE 754 specific functions for VAX 2017-07-23 09:50:54 +00:00
joerg
b373b9e517 .eh_frame should be read-only on MIPS too. 2017-07-18 14:34:19 +00:00
skrll
8342d7e564 Typo in comment 2017-07-17 20:24:07 +00:00
joerg
6138a69002 Drop TLS variant checks, emutls is enough for VAX and Sun2. 2017-07-14 19:24:52 +00:00
joerg
9c8895ecbf Avoid common declaration. 2017-07-14 19:24:12 +00:00
christos
2658452278 s == NULL is illegal. 2017-07-13 16:00:30 +00:00
joerg
a2027e8500 Redo previous: catch NULL pointer earlier, check for empty string
latter.
2017-07-13 15:46:26 +00:00
joerg
fc68490ed6 Spell NULL correctly. 2017-07-13 15:44:45 +00:00
perseant
b22c29c1cc A more correct fix for PR standards/52282. 2017-07-11 19:36:38 +00:00
joerg
e5678be828 Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This
functions are used for destructors of thread_local objects.

If a pending destructor exists, prevent unloading of shared objects.
Introduce __dl_cxa_refcount interface for this purpose. When the last
reference is gone and the object has been dlclose'd before, the
unloading is finalized.

Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists
on providing __cxa_thread_atexit as direct wrapper without further
patching.
2017-07-11 15:21:31 +00:00
perseant
9648a4c226 Do not use thousands grouping when none is specified by the locale.
Fixes PR standards/52282.
2017-07-10 22:49:40 +00:00
christos
e7a07d38ee PR/52386: Use the number of iterations we document. 2017-07-09 20:21:08 +00:00
wiz
01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
joerg
d3a99cd597 Do not look at environmental variables for suid/guid binaries. 2017-07-02 17:13:07 +00:00
joerg
5f391f4ae2 Export the guard size of the main thread via vm.guard_size. Add a
complementary writable sysctl for the initial guard size of threads
created via pthread_create. Let the existing attribut accessors do the
right thing. Raise the default guard size for threads to 64KB.
2017-07-02 16:41:32 +00:00
christos
285444fdfa make this standalone. 2017-06-30 21:39:43 +00:00
kre
e3112e6cea Allow wide characters (properly encoded as byte strings according to LC_CTYPE)
to be (perhaps part of) the "invisible" characters in a prompt, or the
required prompt character which follows the literal sequence (this character
must be one with a printing column width >= 1).  The literal indicator
character (which is just a marker, and not printed anywhere) (the PSlit
parameter in sh(1)) can also be a wide char (passed to libedit as a wchar_t,
encoded as that by sh(1) or other applications that support this.)

Note: this has currently only been tested with everything ascii (C locale).
2017-06-30 20:26:52 +00:00
christos
b48a2efd04 Revert previous since it causes a double free (p->nc_netid == tmp == tmp2).
From Xin Li @ FreeBSD.
XXX: pullup 7
2017-06-30 10:03:34 +00:00
kre
2977f4314f Fix an obvious, but almost invisible typo (avoid some core dumps). 2017-06-29 02:54:40 +00:00
christos
f51c99da13 fix comment 2017-06-27 23:29:12 +00:00
christos
9abf018dda add literal escape sequence support, patterned after the tcsh ones. 2017-06-27 23:25:13 +00:00
christos
bec29a0714 remove unused variable 2017-06-27 23:24:19 +00:00
christos
3d09ba7b3f - add literal sequence handling. 2017-06-27 23:23:48 +00:00
christos
06d596a8e9 - handle literal escape sequence printing.
- factor out common code in allocation and freeing of the display.
2017-06-27 23:23:09 +00:00
christos
0a321818f6 mention the limitation of the literal sequence delimiter. 2017-06-27 23:22:20 +00:00
kre
00f36e26a6 Include EDITRC in doc. 2017-06-27 01:22:58 +00:00
kre
4fa1b5993a Make the default editrc file be $EDITRC (from env) if set, falling back
to $HOME/.editrc otherwise.    Better support for this in sh coming.
2017-06-27 00:47:37 +00:00
maya
5b9f416541 Correct misleading indentation. NFC
From GCC8
2017-06-22 12:43:43 +00:00
manu
f9489ea006 Include IPv6 global variable in USE_INET6=no libc
This ensures a binary built with USE_INET6=yes libc can still link at
runtime with a USE_INET6=no libc. Of course IPv6 functionnality is not
available, but dynamic linking is not killed by missing symbols such
as in6addr_any.
2017-06-18 04:03:44 +00:00
manu
6a05c304af Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc
2017-06-18 03:56:39 +00:00