This file contains hidden or 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
ncopa-desktop:~/Projects/alpine-conf$ mkdir -p /tmp/test-root | |
ncopa-desktop:~/Projects/alpine-conf$ apk add --root /tmp/test-root --initdb | |
OK: 0 MiB in 0 packages | |
ncopa-desktop:~/Projects/alpine-conf$ find /tmp/test-root/ | |
/tmp/test-root/ | |
/tmp/test-root/var | |
/tmp/test-root/var/lock | |
/tmp/test-root/var/lock/apkdb | |
/tmp/test-root/var/cache | |
/tmp/test-root/var/cache/misc |
This file contains hidden or 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
In file included from /home/ncopa/src/bitchx-code/include/irc_std.h:66:0, | |
from /home/ncopa/src/bitchx-code/include/irc.h:109, | |
from alias.c:12: | |
/usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Wcpp] | |
#warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> | |
^ |
This file contains hidden or 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 <sys/stat.h> | |
#include <stdio.h> | |
#include <fcntl.h> | |
#include <err.h> | |
/* | |
this is to be used as: |
This file contains hidden or 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
claim_lock() | |
{ | |
mkdir -p "$LOCK_BASEDIR" | |
_setlockfd $1 | |
# The locking strategy is identical to that from with-lock-ex(1) | |
# from chiark-utils, except using flock. It has the benefit of | |
# it being possible to safely remove the lockfile when done. | |
# See below for a correctness proof. | |
local rightfile |
This file contains hidden or 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
# Substitute ALL_LINGUAS so we can use it in po/Makefile | |
# Set DATADIRNAME correctly if it is not set yet | |
# (copied from glib-gettext.m4) | |
if test -z "$DATADIRNAME"; then | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
/* end confdefs.h. */ | |
int |
This file contains hidden or 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
*************** | |
*** 8377,8379 **** | |
} | |
#endif /* HANDLE_MULTIBYTE */ | |
- | |
--- 8379,8380 ---- |
This file contains hidden or 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
ncdev-edge-musl-x86:~/test/max_align_t$ g++ -std=c++11 a.cpp | |
In file included from /usr/include/stddef.h:17:0, | |
from /usr/include/c++/4.8.3/cstddef:42, | |
from a.cpp:2: | |
/usr/include/bits/alltypes.h:75:27: error: expected identifier before numeric constant | |
typedef struct { _Alignas(8) long long __ll; long double __ld; } max_align_t; | |
^ | |
/usr/include/bits/alltypes.h:75:27: error: expected ',' or '...' before numeric constant | |
/usr/include/bits/alltypes.h:75:28: error: expected ';' at end of member declaration | |
typedef struct { _Alignas(8) long long __ll; long double __ld; } max_align_t; |
This file contains hidden or 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
(gdb) bt | |
#0 funlockfile (f=0xb20d1adb900) at src/stdio/funlockfile.c:9 | |
#1 0x00000b20cf013ef0 in procmime_fclose (fp=0xb20d1adb900) at procmime.c:276 | |
#2 0x00000b20cf014d7e in procmime_decode_content (mimeinfo=0xb20d1340d80) | |
at procmime.c:497 | |
#3 0x00000b20cf058561 in textview_write_body (textview=0xb20d0a18720, | |
mimeinfo=0xb20d1340d80) at textview.c:1063 | |
#4 0x00000b20cf056f6b in textview_add_part (textview=0xb20d0a18720, | |
mimeinfo=0xb20d1340d80) at textview.c:817 | |
#5 0x00000b20cf0570bd in recursive_add_parts (textview=0xb20d0a18720, |
This file contains hidden or 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
From 4b957521ad1f4f24c1b722db8244266271cf0a23 Mon Sep 17 00:00:00 2001 | |
From: Natanael Copa <[email protected]> | |
Date: Mon, 1 Sep 2014 21:01:03 +0200 | |
Subject: [PATCH] Use threadsafe wrapper for getpwnam/getgrnam | |
Even if rlm_unix is marked as RLM_TYPE_THREAD_UNSAFE, it runs in a | |
separate thread than the main thread. Both main thread and rlm_unix | |
uses thread unsafe getpwnam/getgrnam which causes segfault when under | |
stress. |
This file contains hidden or 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
ncdev-2-7-x86:~$ ls -l /dev/pts/ | |
total 0 | |
crw--w---- 1 ncopa tty 136, 0 Aug 13 12:05 0 | |
crw------- 1 ncopa ncopa 136, 1 Aug 12 05:56 1 | |
crw------- 1 ncopa ncopa 136, 2 Aug 8 09:08 2 | |
crw------- 1 ncopa ncopa 136, 3 Aug 13 12:05 3 | |
crw-rw-rw- 1 root root 5, 2 Mar 13 14:16 ptmx | |
ncdev-2-7-x86:~$ who | |
ncopa pts/0 00:00 Aug 12 05:54:08 84.202.203.3 | |
ncopa pts/4 ? May 20 07:50:30 83.145.235.199 |