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
static bool array_add(void*** array_ptr, | |
size_t* used_ptr, | |
size_t* length_ptr, | |
void* value) | |
{ | |
void** array; | |
memcpy(&array, array_ptr, sizeof(array)); | |
if ( *used_ptr == *length_ptr ) | |
{ |
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 <sys.mk> # Builtin variables and rules. (Included automatically) | |
.include <dirs.mk> # Standard direrctory variables. | |
SHAREMKDIR ?= $(DATADIR)/mk | |
CPPFLAGS += -DVERSIONSTR=\"$(VERSION)\" -DSHAREMKDIR=\"$(SHAREMKDIR)\" -D_GNU_SOURCE | |
PROGRAM = make | |
OBJS=\ |
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
diff --git a/gcc/configure.ac b/gcc/configure.ac | |
index 07a0c78..ce64b10 100644 | |
--- a/gcc/configure.ac | |
+++ b/gcc/configure.ac | |
@@ -615,7 +615,7 @@ yes|no|auto) enable_multiarch=$enableval;; | |
*) AC_MSG_ERROR(bad value ${enableval} given for --enable-multiarch option) ;; | |
esac], [enable_multiarch=auto]) | |
if test x${enable_multiarch} = xauto; then | |
- if test x$host != x$target && test "x$with_sysroot" = x; then | |
+ if test x$host != x$target && test "x$with_sysroot" = x && test "x$with_build_sysroot" = x; then |
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
cat >c1$$ <<EOF | |
ARGGGHHHH!!!!! | |
SCO csh still thinks true is false. Write to SCO today and tell them that next | |
year Configure ought to "rm /bin/csh" unless they fix their blasted shell. :-) | |
(Actually, Configure ought to just patch csh in place. Hmm. Hmmmmm. All | |
we'd have to do is go in and swap the && and || tokens, wherever they are.) | |
[End of diatribe. We now return you to your regularly scheduled programming...] |
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 | |
# Call the appropriate C compiler with options to accept ANSI/ISO C | |
# The following options are the same (as of gcc-3.3): | |
# -std=c99 | |
# -std=c9x | |
# -std=iso9899:1999 | |
# -std=iso9899:199x | |
extra_flag=-std=c99 |
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
mandoc: /tmp/ifconfig.8:37:14: WARNING: whitespace at end of input line | |
mandoc: /tmp/ifconfig.8:43:2: WARNING: missing -width in -tag list, using 8n: Bl -tag | |
mandoc: /tmp/ifconfig.8:66:64: WARNING: whitespace at end of input line | |
mandoc: /tmp/ifconfig.8:72:2: WARNING: sections out of conventional order: Sh AUTHORS | |
mandoc: /tmp/ifconfig.8:74:1: WARNING: blank line in fill mode, using .sp |
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
void topicdiff(struct minicat* state, | |
const char* where, | |
const char* oldtopic, | |
const char* newtopic) | |
{ | |
if ( !oldtopic ) | |
oldtopic = ""; | |
if ( !newtopic ) | |
newtopic = ""; |
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
(NN) [1450488486] memory-map: | |
(NN) [1450488486] 0x0 - 0x9fc00, type: 0x1 | |
(NN) [1450488486] 0x9fc00 - 0xa0000, type: 0x2 | |
(NN) [1450488486] 0xf0000 - 0x100000, type: 0x2 | |
(NN) [1450488486] 0x100000 - 0x3fffe000, type: 0x1 | |
(NN) [1450488486] 0x3fffe000 - 0x40000000, type: 0x2 | |
(NN) [1450488486] 0xfeffc000 - 0xff000000, type: 0x2 | |
(NN) [1450488486] 0xfffc0000 - 0x100000000, type: 0x2 | |
(NN) [1450488486] Kernel heap range prepared from 0xffffffff00008000 to 0xffffffff40000000, size: 0x3fff8000 | |
(DD) [1450488486] -> kernel heap bitmap is 32K |
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
/* | |
* Copyright (c) 2011, 2012, 2013, 2014, 2015 Jonas 'Sortie' Termansen | |
* | |
* Permission to use, copy, modify, and distribute this software for any | |
* purpose with or without fee is hereby granted, provided that the above | |
* copyright notice and this permission notice appear in all copies. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
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
int main(void) | |
{ | |
signal(SIGPIPE, SIG_IGN ); | |
struct addrinfo hints; | |
memset(&hints, 0, sizeof(hints)); | |
hints.ai_family = AF_UNSPEC; | |
hints.ai_socktype = SOCK_STREAM; | |
hints.ai_flags = AI_PASSIVE; |
OlderNewer