Skip to content

Instantly share code, notes, and snippets.

@kivikakk
kivikakk / fuse2.diff
Created February 12, 2019 02:25
FUSE 2 -- applies to github/libprojfs@35a3da8
diff --git a/configure.ac b/configure.ac
index 3eb59ee..05e5d82 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,15 +153,33 @@ AC_SEARCH_LIBS([fsetxattr], [attr], [],
[AC_MSG_ERROR([Extended attributes library not found])]dnl
)dnl
+AC_DEFINE(_FILE_OFFSET_BITS, 64)
+
[2019-05-06 11:07:57 +10:00] GVFSClone (Start) {"Version":"0.2.173.2","EnlistmentRoot":"C:\\Repos\\GVFSFunctionalTests\\enlistment\\cdc34c14441147aeac59","Remote":"https://gvfs.visualstudio.com/ci/_git/ForTests","Branch":"FunctionalTests/20180214","LocalCacheRoot":"C:\\Repos\\GVFSFunctionalTests\\enlistment\\..\\.gvfsCache","SingleBranch":false,"NoMount":false,"NoPrefetch":false,"Unattended":false,"IsElevated":true,"NamedPipeName":"GVFS_C_\\REPOS\\GVFSFUNCTIONALTESTS\\ENLISTMENT\\CDC34C14441147AEAC59","EnlistmentRootPathParameter":"C:\\Repos\\GVFSFunctionalTests\\enlistment\\cdc34c14441147aeac59","fullEnlistmentRootPathParameter":"C:\\Repos\\GVFSFunctionalTests\\enlistment\\cdc34c14441147aeac59"}
[2019-05-06 11:07:57 +10:00] AttemptAnonymousAuth (Start)
[2019-05-06 11:07:58 +10:00] Error {"RepoUrl":"https://gvfs.visualstudio.com/ci/_git/ForTests","ErrorMessage":"Failed to parse credential string for approval"}
[2019-05-06 11:07:58 +10:00] NetworkResponse {"RequestId":1,"availableConnections":2,"CacheName":"",
[2019-05-07 11:50:03 +10:00] GVFSClone (Start) {"Version":"0.2.173.2","EnlistmentRoot":"C:\\Users\\Ashe\\Desktop\\ForTests","Remote":"https://gvfs.visualstudio.com/ci/_git/ForTests","Branch":null,"LocalCacheRoot":null,"SingleBranch":false,"NoMount":false,"NoPrefetch":false,"Unattended":false,"IsElevated":true,"NamedPipeName":"GVFS_C_\\USERS\\ASHE\\DESKTOP\\FORTESTS","EnlistmentRootPathParameter":"","fullEnlistmentRootPathParameter":"C:\\Users\\Ashe\\Desktop\\ForTests"}
[2019-05-07 11:50:03 +10:00] AttemptAnonymousAuth (Start)
[2019-05-07 11:50:06 +10:00] Error {"RepoUrl":"https://gvfs.visualstudio.com/ci/_git/ForTests","ErrorMessage":"Failed to parse credential string for approval"}
[2019-05-07 11:50:06 +10:00] NetworkResponse {"RequestId":1,"availableConnections":2,"CacheName":"","StatusCode":200,"ContentType":"application/json; charset=utf-8","connectionWaitTimeMS":"0.0335","responseWaitTimeMS":"2465.0850"}
[2019-05-07 11:50:06 +10:00] AttemptAnonymousAuth (Stop) {"HttpStatus":"200","QuerySucceeded":true,"I
diff --git a/Scripts/Mac/BuildGVFSForMac.sh b/Scripts/Mac/BuildGVFSForMac.sh
index 9704bb65..c039fd5e 100755
--- a/Scripts/Mac/BuildGVFSForMac.sh
+++ b/Scripts/Mac/BuildGVFSForMac.sh
@@ -17,7 +17,7 @@ if [ ! -d $VFS_OUTPUTDIR ]; then
fi
echo 'Building ProjFS kext and libraries...'
-$VFS_SRCDIR/ProjFS.Mac/Scripts/Build.sh $CONFIGURATION || exit 1
+# $VFS_SRCDIR/ProjFS.Mac/Scripts/Build.sh $CONFIGURATION || exit 1
<?php
function counter() {
$count = 0;
$incr = function() use (&$count) {
$count += 1;
return $count;
};

Brian, the Formula 1 Grand Prix is currently less interesting than the video game that's based on it. The cars go round in a circle, they get Murray Walker off the ceiling. The race itself is a procession! You can't get past! The car in front at the beginning wins the race! The whole thing is decided by who's going to have a pit stop! They're the fastest cars on earth and the key element, Brian, is not racing, it's parking!

fn cpuid(leaf_id: u32) [16]u8 {
var result: [16]u8 = undefined;
asm volatile (
\\ cpuid
\\ movl %%eax, 0(%[leaf_ptr])
\\ movl %%ebx, 4(%[leaf_ptr])
\\ movl %%ecx, 8(%[leaf_ptr])
\\ movl %%edx, 12(%[leaf_ptr])
:
tapioca ~/C/s/z/se (master|…) $ ~/Code/zig/build/bin/zig build-exe example.zig
tapioca ~/C/s/z/se (master|…) $ lldb example
(lldb) target create "example"
Current executable set to '/Users/kameliya/Code/snep/zy/se/example' (x86_64).
(lldb) run
Process 61165 launched: '/Users/kameliya/Code/snep/zy/se/example' (x86_64)
hi
hi
hi
Process 61165 stopped
; Function Attrs: nobuiltin nounwind sspstrong
define internal fastcc i16 @main.0(%std.builtin.StackTrace* nonnull %0) unnamed_addr #1 !dbg !1611 {
Entry:
%StackGuardSlot = alloca i8*, align 8
%1 = call i8* @llvm.stackguard()
call void @llvm.stackprotector(i8* %1, i8** %StackGuardSlot)
%result = alloca i16, align 2
%sub_var = alloca %S, align 8
%2 = alloca %S, align 8
call void @llvm.dbg.declare(metadata %S* bitcast ({ { { i32, [4 x i8] }, i1, [7 x i8] } }* @59 to %S*), metadata !1615, metadata !DIExpression()), !dbg
tapioca ~/C/s/jekyll $ bundle exec jekyll new --force --skip-bundle .
bundle install
New jekyll site installed in /Users/kameliya/Code/scratch/jekyll.
Bundle install skipped.
The dependency tzinfo (~> 1.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java`.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java`.
The dependency wdm (~> 0.1.1) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x8