logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: fd96f725193437deddc03a91661d453dfb52ab0b
parent 1d53e1b3fc4c5031277ba12c9fbbde82aca5688a
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 13 Feb 2018 21:25:15 -0800

efivar: Update to 34

Diffstat:

Mpkg/efivar/compat.h9---------
Mpkg/efivar/rev2+-
2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/pkg/efivar/compat.h b/pkg/efivar/compat.h @@ -1,12 +1,3 @@ #ifndef __bswap_constant_16 #define __bswap_constant_16(x) (((x)<<8&0xff00) | ((x)>>8&0xff)) #endif -#ifndef strndupa -#define strndupa(s, n) ({\ - const char *__s2 = (s);\ - size_t __n = strnlen(__s2, (n));\ - char *__s1 = alloca(__n + 1);\ - __s1[__n] = '\0';\ - (char *)memcpy(__s1, __s2, __n);\ -}) -#endif diff --git a/pkg/efivar/rev b/pkg/efivar/rev @@ -1 +1 @@ -4 +5