- Oct 25, 2020
-
-
Yuki Okushi authored
-
- Oct 19, 2020
-
-
DarcInc authored
-
- Oct 15, 2020
-
-
Max Blachman authored
-
- Sep 13, 2020
-
-
Daniil Bondarev authored
The pr #1870 introduced safe_f! macro, which made some functions like WIFEXITED and WEXITSTATUS const and safe on linux_like platform only, which causes inconsistency when trying to use those functions in crates compiled across multiple platforms, as using unsafe on those functions will generate unused_unsafe warning on linux platforms and lack of unsafe block will fail compilation on non-linux platforms. To avoid the inconsistency, this commit applies the same macro for all the same functions on other platforms too.
-
- Aug 24, 2020
-
-
Chuck Musser authored
-
- Aug 23, 2020
-
-
Chuck Musser authored
Expose __errno_location() (introduced in DragonFlyBSD 5.8), which returns the current thread's errno value. This is similar to Linux and avoids having a separate module that defines both errno (which depends on the thread_local feature) and an __error() function.
-
- Aug 22, 2020
-
-
Daniil Bondarev authored
Previously clock_getcpuclockid was enabled only on linux, with this change it is enabled on all linux_like and freebsdlike.
-
- Aug 10, 2020
-
-
Josh Triplett authored
On Linux, siginfo_t cannot expose these fields directly due to https://github.com/rust-lang/libc/issues/716 , so expose them as functions, just like si_addr and si_value. In order to get alignment correct on both 32-bit and 64-bit architectures, define an sifields union that includes a pointer field, to ensure that it has the same alignment as a pointer.
-
- Jul 27, 2020
-
-
Alan Somers authored
It's been removed in FreeBSD 13 (svn r363622), and never had any legitimate use outside of the base system anyway.
-
- Jul 19, 2020
-
-
Simonas Kazlauskas authored
-
Simonas Kazlauskas authored
-
- Jul 09, 2020
-
-
Simon Wörner authored
-
Simon Wörner authored
-
- Jul 07, 2020
-
-
Alan Somers authored
Fixes #1775
-
- Jul 06, 2020
-
-
Greg V authored
Plus, add new constants for sysctls that give names to existing magic numbers. https://reviews.freebsd.org/rS350749 https://reviews.freebsd.org/rS352486
-
Greg V authored
-
Greg V authored
Wide chars are unsigned when normal chars are
-
Greg V authored
-
Greg V authored
sys/stat.h is a machine-independent header, but it has ifdefs for i386. The version that was called x86_64.rs should be used on powerpc64 too, but I don't have a machine to test that on.
-
Greg V authored
I just got 'libxul.so: Undefined symbol "mq_close"' when rebuilding Firefox.. How did no one catch this before?? This is correct for both FreeBSD and DragonFly: https://github.com/freebsd/freebsd/blob/master/lib/librt/Symbol.map https://github.com/DragonFlyBSD/DragonFlyBSD/blob/e7ab884bd49753f8884eb597d10d6569a08fa0df/lib/librt/mq.c https://github.com/DragonFlyBSD/DragonFlyBSD/blob/e7ab884bd49753f8884eb597d10d6569a08fa0df/lib/librt/aio.c
- Jun 22, 2020
-
-
Simon Wörner authored
-
- May 28, 2020
-
-
Yuki Okushi authored
-
- May 21, 2020
-
-
Valdemar Erk authored
This patchs adds missing flag values for getnameinfo() on FreeBSD, the following flags have been added from the FreeBSD tree. /* * Flag values for getnameinfo() */ #define NI_NOFQDN 0x00000001 #define NI_NUMERICHOST 0x00000002 #define NI_NAMEREQD 0x00000004 #define NI_NUMERICSERV 0x00000008 #define NI_DGRAM 0x00000010 #define NI_NUMERICSCOPE 0x00000020 Signed-off-by:
Valdemar Erk <valdemar@erk.io>
-
- May 07, 2020
-
-
Bryant Mairs authored
Reorganized some constants as well so they're grouped a bit better.
-
- May 01, 2020
- Apr 15, 2020
- Apr 13, 2020
-
-
Alexander Batischev authored
Headers I used: Oh, for reference, here are the headers I used while working on this: - musl: https://git.musl-libc.org/cgit/musl/tree/include/regex.h?id=8327ae0cb23b799bc55a45e0d4bd95f5a2b1cdf1 - glibc: https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/regex.h;h=87cce7f5cb8cc3b678467329b479bd511e250e61;hb=HEAD - macOS: https://opensource.apple.com/source/Libc/Libc-997.90.3/include/regex.h.auto.html - FreeBSD: https://github.com/freebsd/freebsd/blob/8103b0ddb041617b7cd161528f0ff93ff32970a2/include/regex.h - NetBSD: https://github.com/NetBSD/src/blob/61c8f6fbb7e38b20e862d5cb3ed2203312963283/include/regex.h
-
- Mar 29, 2020
-
-
Patrick Mooney authored
-
- Mar 01, 2020
-
-
Daniel Fox Franke authored
-
- Feb 19, 2020
-
-
Vickenty Fesunov authored
memmem is a non-standard extension, first added in GNU libc and later ported to other systems. Support for it is non-uniform, thus it was only added to platforms that seem to support it.
-
- Feb 12, 2020
-
-
Vickenty Fesunov authored
This triggers a warning on a recent nightly, which in turn breaks CI due to `#![deny(warnings)]` in libc-test/build.rs
-
- Sep 27, 2019
-
-
Murarth authored
-
- Sep 25, 2019
- Sep 20, 2019
-
-
gnzlbg authored
-