This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /usr/share/man/man1m/zfs.1m Mon Oct 15 16:15:16 2018 | |
+++ zfs.1m Mon Oct 15 21:56:52 2018 | |
@@ -277,6 +277,7 @@ | |
.Op Fl m Ar memory_limit | |
.Ar pool script | |
.Op Ar arg1 No ... | |
+.Nm | |
.Cm load-key | |
.Op Fl rn | |
.Op Fl L Ar keylocation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <inttypes.h> | |
int | |
main(int argc, char **argv) | |
{ | |
uint32_t x = 0x12345678; | |
uint8_t *p8 = (uint8_t *)&x; | |
__packed uint16_t *p16 = (uint16_t *)(p8 + 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- include/lldb/Utility/RegularExpression.h.orig 2017-05-12 04:51:55.000000000 +0000 | |
+++ include/lldb/Utility/RegularExpression.h | |
@@ -69,7 +69,7 @@ public: | |
void Clear() { | |
const size_t num_matches = m_matches.size(); | |
- regmatch_t invalid_match = {-1, -1}; | |
+ regmatch_t invalid_match = {NULL, NULL, -1, -1, 0, 0}; | |
for (size_t i = 0; i < num_matches; ++i) | |
m_matches[i] = invalid_match; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" | |
" Save as ~/.vim/after/syntax/c.vim | |
" | |
" Additional illumos types | |
" | |
syn keyword cType uint_t boolean_t clockid_t | |
" | |
" boolean_t values | |
" | |
syn keyword cConstant B_TRUE B_FALSE _B_TRUE _B_FALSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _REENTRANT 1 | |
#include <pthread.h> | |
#include <stdio.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <sys/debug.h> | |
int | |
main(int argc, char **argv) | |
{ |