search for: estrdup

Displaying 4 results from an estimated 4 matches for "estrdup".

Did you mean: strdup
2006 Jul 03
5
Ferret on 64 bit Red Hat
Can anyone verify that Ferret should work correctly on 64 bit Red Hat ES 4? The test suite gets the following segfault: ........................../unit/../unit/analysis/../../unit/index/../../unit/store/../../unit/search/tc_filter.rb:20: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [x86_64-linux] This is with version "ferret-0.9.4" on an AMD Dual Opteron 270. -- Posted via
2006 Oct 30
0
File Store permissions
...; 0) { RAISE(IO_ERROR, "couldn''t create OutStream %s: <%s>", @@ -431,9 +431,19 @@ static void fs_close_i(Store *store) static Store *fs_store_new(const char *pathname) { + struct stat stt; Store *new_store = store_new(); new_store->dir.path = estrdup(pathname); + + new_store->file_mode = S_IRUSR | S_IWUSR; + if (!stat(new_store->dir.path, &stt) && + stt.st_gid == getgid()) { + if (stt.st_mode & S_IWGRP) + umask(S_IWOTH); + new_store->file_mode |= stt.st_mode & (S_IRGRP | S_IWGRP); + }...
2016 Apr 11
1
[PATCH] RFC: php: support PHP 7
...n" | RConstOptString _ -> - pr " if (r) { RETURN_STRING (r, 1); }\n"; + pr " if (r) { GUESTFS_RETURN_STRING (r, 1); }\n"; pr " else { RETURN_NULL (); }\n" | RString _ -> pr " char *r_copy = estrdup (r);\n"; pr " free (r);\n"; - pr " RETURN_STRING (r_copy, 0);\n" + pr " GUESTFS_RETURN_STRING (r_copy, 0);\n" | RBufferOut _ -> pr " char *r_copy = estrndup (r, size);\n"; pr "...
2010 May 02
2
samba4 make error - drsblobs.so
...dal/lib/roken/strlwr.c with host compiler Compiling heimdal/lib/roken/strsep_copy.c with host compiler Compiling heimdal/lib/roken/strsep.c with host compiler Compiling heimdal/lib/roken/strupr.c with host compiler Compiling heimdal/lib/roken/strpool.c with host compiler Compiling heimdal/lib/roken/estrdup.c with host compiler Compiling heimdal/lib/roken/erealloc.c with host compiler Compiling heimdal/lib/roken/simple_exec.c with host compiler Compiling heimdal/lib/roken/strcollect.c with host compiler Compiling heimdal/lib/roken/rtbl.c with host compiler Compiling heimdal/lib/roken/cloexec.c with ho...