Skip to content

Instantly share code, notes, and snippets.

*** APC-3.1.9/apc_lock.h.orig 2011-11-15 14:45:27.000000000 +0900
--- APC-3.1.9/apc_lock.h 2011-11-15 14:45:34.000000000 +0900
***************
*** 154,160 ****
# define apc_lck_nb_lock(a) apc_fcntl_nonblocking_lock(a TSRMLS_CC)
# define apc_lck_rdlock(a) apc_fcntl_rdlock(a TSRMLS_CC)
# define apc_lck_unlock(a) apc_fcntl_unlock(a TSRMLS_CC)
! # define apc_lck_rdunlock(a) apc_fcntl_unlock(&a TSRMLS_CC)
#endif
space-> <-space
tab-> <-tab
<?php
function autoload($class) {
$file = str_replace('_','/',$class.'.php');
try{
include_once $file;
} catch (Exception $e) {
}
}
spl_autoload_register('autoload');
<?php
/**
* Generated by PHPUnit_SkeletonGenerator on 2012-05-29 at 16:47:11.
*/
class RecentText extends PHPUnit_Framework_TestCase
{
/**
* @var Recent
*/
protected $object;
$ sed --version
GNU sed version 4.1.5
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
$ sed -E 's/foo/bar/'
sed: invalid option -- E
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
diff -r -c openssh-6.2p1-orig/auth.c openssh-6.2p1/auth.c
*** openssh-6.2p1-orig/auth.c 2013-03-12 09:31:05.000000000 +0900
--- openssh-6.2p1/auth.c 2013-08-19 10:37:15.000000000 +0900
***************
*** 721,727 ****
--- 721,729 ----
fake.pw_name = "NOUSER";
fake.pw_passwd =
"$2a$06$r3.juUaHZDlIbQaO2dS9FuYxL1W9M81R1Tc92PoSNmzvpEqLkLGrK";
+ #ifdef HAVE_STRUCT_PASSWD_PW_GECOS
Array
(
[0] =>
[1] => zend_version
[2] => func_num_args
[3] => func_get_arg
[4] => func_get_args
[5] => strlen
[6] => strcmp
[7] => strncmp
diff -c -r tar-1.26-orig/gnu/human.c tar-1.26/gnu/human.c
*** tar-1.26-orig/gnu/human.c 2011-03-12 18:14:29.000000000 +0900
--- tar-1.26/gnu/human.c 2013-09-27 11:45:30.000000000 +0900
***************
*** 23,29 ****
#include "human.h"
! #include <locale.h>
#include <stdio.h>
diff -c -r zsh-5.0.2-orig/Src/init.c zsh-5.0.2/Src/init.c
*** zsh-5.0.2-orig/Src/init.c 2012-11-10 06:53:12.000000000 +0900
--- zsh-5.0.2/Src/init.c 2013-09-29 19:41:06.000000000 +0900
***************
*** 504,509 ****
--- 504,510 ----
/* Make sure the tty is opened read/write. */
if (isatty(0)) {
zsfree(ttystrname);
+ #ifdef HAVE_TTYNAME
diff -r -c coreutils-8.21-orig/lib/mountlist.c coreutils-8.21/lib/mountlist.c
*** coreutils-8.21-orig/lib/mountlist.c 2013-02-08 01:44:47.000000000 +0900
--- coreutils-8.21/lib/mountlist.c 2013-10-08 23:09:10.000000000 +0900
***************
*** 424,429 ****
--- 424,432 ----
#ifdef MOUNTED_GETMNTENT1 /* GNU/Linux, 4.3BSD, SunOS, HP-UX, Dynix, Irix. */
{
+ # ifdef __ANDROID__