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
#!/bin/sh | |
# failing section from configure in /var/lib/dkms/zfs/0.6.5.7/build | |
export LINUX_OBJ=/usr/src/kernel-headers-4.7.1_2 | |
cat confdefs.h - <<_ACEOF >conftest.c | |
#include <linux/xattr.h> | |
int get(struct inode *ip, const char *name, |
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
#0 0x000055555572703b in enif_make_list_from_array (env=env@entry=0x7fffaffdce30, arr=arr@entry=0x7fffac37fa40 <algo_cipher>, cnt=<optimized out>) at beam/erl_nif.c:1600 | |
hp = 0x7fff77219bd0 | |
ret = 140735187357777 | |
last = 0x7fff77219bc8 | |
src = 0x7fffac5c0008 | |
#1 0x00007fffac17bc9c in algorithms (env=0x7fffaffdce30, argc=<optimized out>, argv=<optimized out>) at crypto.c:828 | |
hash_cnt = 8 | |
pubkey_cnt = 7 | |
cipher_cnt = <optimized out> | |
#2 0x00005555555a48a7 in process_main () at beam/beam_emu.c:3563 |
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
#!/bin/sh | |
# | |
# %CopyrightBegin% | |
# | |
# Copyright Ericsson AB 1996-2012. All Rights Reserved. | |
# | |
# The contents of this file are subject to the Erlang Public License, | |
# Version 1.1, (the "License"); you may not use this file except in | |
# compliance with the License. You should have received a copy of the | |
# Erlang Public License along with this software. If not, it can be |
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
--- /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist 2014-04-12 05:15:39.000000000 -0700 | |
+++ /tmp/com.apple.mDNSResponder.plist.new 2014-04-12 05:15:11.000000000 -0700 | |
@@ -26,6 +26,7 @@ | |
<key>Sockets</key> | |
<dict> | |
<key>Listeners</key> | |
+ <array> | |
<dict> | |
<key>SockFamily</key> | |
<string>Unix</string> |
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
#!/bin/bash | |
# Five step search and replace with find, sed, and bash (tested on OS X, should work with Linux) | |
# check usage and parse command line arguments | |
OPTIND=1 | |
while getopts "n:m:" opt; do | |
case "$opt" in | |
n) | |
human=$OPTARG |