search for: resolved_path

Displaying 11 results from an estimated 11 matches for "resolved_path".

2016 Dec 27
2
(Thin)LTO llvm build
...fore I can report more, and I don't don't know if it's small enough to post here, but some of the more interesting errors are: llvm/projects/compiler-rt/lib/tsan/dd/dd_interceptors.cc:226:20: error: redefinition of 'realpath' INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { ^ /usr/include/bits/stdlib.h:37:8: note: previous definition is here __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) [...] libomp.so duplicate symbol __kmp_get_reduce_method in version script duplicate symbol __kmp_itt_fini_ittlib in version scr...
2016 Dec 27
0
(Thin)LTO llvm build
...don't > don't know if it's small enough to post here, but some of the more > interesting errors are: > > llvm/projects/compiler-rt/lib/tsan/dd/dd_interceptors.cc:226:20: > error: redefinition of 'realpath' > INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { > ^ > /usr/include/bits/stdlib.h:37:8: note: previous definition is here > __NTH (realpath (const char *__restrict __name, char *__restrict > __resolved)) > I've never seen this before. Looks like bits/stdlib.h gets pulled in only when _FORTIFY_SOURCE is en...
2016 Dec 27
2
(Thin)LTO llvm build
...#39;t know if it's small enough to post here, but some of the more >> interesting errors are: >> >> llvm/projects/compiler-rt/lib/tsan/dd/dd_interceptors.cc:226:20: >> error: redefinition of 'realpath' >> INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { >> ^ >> /usr/include/bits/stdlib.h:37:8: note: previous definition is here >> __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) > > > I've never seen this before. Looks like bits/stdlib.h gets pulled in only > when...
2007 Oct 18
0
[PATCH] Use credentials and permissions on control socket where available
.... */ diff --git a/src/tincctl.c b/src/tincctl.c index 7e08629..6aa1e3e 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -443,6 +443,9 @@ int main(int argc, char *argv[], char *envp[]) { int len; tinc_ctl_greeting_t greeting; tinc_ctl_request_t req; + int result; + struct stat statbuf; + char resolved_path[PATH_MAX], pathtmp[PATH_MAX]; program_name = argv[0]; @@ -493,7 +496,7 @@ int main(int argc, char *argv[], char *envp[]) { // Now handle commands that do involve connecting to a running tinc daemon. - if(strlen(controlsocketname) >= sizeof addr.sun_path) { + if(strlen(resolved_path)...
2016 Dec 27
0
(Thin)LTO llvm build
...all enough to post here, but some of the more > >> interesting errors are: > >> > >> llvm/projects/compiler-rt/lib/tsan/dd/dd_interceptors.cc:226:20: > >> error: redefinition of 'realpath' > >> INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { > >> ^ > >> /usr/include/bits/stdlib.h:37:8: note: previous definition is here > >> __NTH (realpath (const char *__restrict __name, char *__restrict > __resolved)) > > > > > > I've never seen this before. Looks like bits/stdl...
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
...nt_size", &bs->max_segment_size); +} + static int hdev_open(BlockDriverState *bs, const char *filename, int flags) { BDRVRawState *s = bs->opaque; @@ -868,6 +925,7 @@ static int hdev_open(BlockDriverState *bs, const char *filename, int flags) temp = realpath(filename, resolved_path); if (temp && strstart(temp, "/dev/sg", NULL)) { bs->sg = 1; + sg_get_queue_limits(bs, temp); } } #endif diff --git a/block_int.h b/block_int.h index d72317f..a9d07a2 100644 --- a/block_int.h +++ b/block_int.h @@ -333,6 +333,10 @@...
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
...nt_size", &bs->max_segment_size); +} + static int hdev_open(BlockDriverState *bs, const char *filename, int flags) { BDRVRawState *s = bs->opaque; @@ -868,6 +925,7 @@ static int hdev_open(BlockDriverState *bs, const char *filename, int flags) temp = realpath(filename, resolved_path); if (temp && strstart(temp, "/dev/sg", NULL)) { bs->sg = 1; + sg_get_queue_limits(bs, temp); } } #endif diff --git a/block_int.h b/block_int.h index d72317f..a9d07a2 100644 --- a/block_int.h +++ b/block_int.h @@ -333,6 +333,10 @@...
2016 Dec 25
0
(Thin)LTO llvm build
So, archlinux doesn't seem to package lld. Since the binaries from llvm.org don't work here, maybe I can find another way to avoid running two llvm builds (one to build lld, one to thinlto-lld rebuild). TBD.
1998 Oct 14
0
The poisoned NUL byte
...lpath implementation which does not have this bug. --- libc-5.4.38/libc/bsd/realpath.c.orig Sat Oct 3 00:42:48 1998 +++ libc-5.4.38/libc/bsd/realpath.c Sat Oct 3 00:43:09 1998 @@ -76,7 +76,7 @@ } strcpy(copy_path, path); path = copy_path; - max_path = copy_path + PATH_MAX - 2; + max_path = resolved_path + PATH_MAX - 2; /* If it''s a relative pathname use getwd for starters. */ if (*path != ''/'') { /* Ohoo... */ @@ -122,7 +122,7 @@ } /* Safely copy the next pathname component. */ while (*path != ''\0'' && *path != ''/''...
2016 Dec 27
1
(Thin)LTO llvm build
...ere, but some of the more >> >> interesting errors are: >> >> >> >> llvm/projects/compiler-rt/lib/tsan/dd/dd_interceptors.cc:226:20: >> >> error: redefinition of 'realpath' >> >> INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { >> >> ^ >> >> /usr/include/bits/stdlib.h:37:8: note: previous definition is here >> >> __NTH (realpath (const char *__restrict __name, char *__restrict >> __resolved)) >> > >> > >> > I've never seen this...
2020 Aug 15
3
[PATCH EXPERIMENTAL nbdkit 0/2] Port to Windows using mingw.
The patches following do indeed allow you to compile nbdkit.exe, but it does not actually work yet. I'm posting this experimental series more as a work in progress and to get feedback. Note this does not require Windows itself to build or test. You can cross-compile it using mingw64-* packages on Fedora or Debian, and test it [spoiler alert: it fails] using Wine. Rich.