Displaying 2 results from an estimated 2 matches for "new_store".
2006 Oct 30
0
File Store permissions
...RY, store->file_mode);
OutStream *os;
if (fd < 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->...
2019 Jul 11
6
Glue to connect two nodes in LLVM backend
Hello everyone,
I wanted to attach a node without affecting the present nodes in any way. I
tried to use MVT::Glue for that but I think I'm missing something as I
could not achieve the below state.
LUI LUI
| |
ADDI ----GLUE---- ADDI
|
store
I've few question about this and Glue node in general, I'll be happy to get
some help on