Searched refs:deref_file (Results 1 – 6 of 6) sorted by relevance
/dports/sysutils/cfengine317/cfengine-3.17.0/libpromises/ |
H A D | files_operators.c | 159 Buffer *deref_file = BufferNewFrom(file, strlen(file)); local 169 if (lstat(BufferData(deref_file), &statbuf) == -1) 193 char dir[BufferSize(deref_file) + 1]; 194 strcpy(dir, BufferData(deref_file)); 196 BufferPrintf(deref_file, "%s/%s", dir, buf); 200 BufferSet(deref_file, buf, linksize); 211 strcpy(backup, BufferData(deref_file)); 221 strcpy(new, BufferData(deref_file)); 239 if (link(BufferData(deref_file), backup) == -1) 280 if (rename(new, BufferData(deref_file)) == -1) [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/libpromises/ |
H A D | files_operators.c | 159 Buffer *deref_file = BufferNewFrom(file, strlen(file)); local 169 if (lstat(BufferData(deref_file), &statbuf) == -1) 193 char dir[BufferSize(deref_file) + 1]; 194 strcpy(dir, BufferData(deref_file)); 196 BufferPrintf(deref_file, "%s/%s", dir, buf); 200 BufferSet(deref_file, buf, linksize); 211 strcpy(backup, BufferData(deref_file)); 221 strcpy(new, BufferData(deref_file)); 239 if (link(BufferData(deref_file), backup) == -1) 280 if (rename(new, BufferData(deref_file)) == -1) [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/libpromises/ |
H A D | files_operators.c | 159 Buffer *deref_file = BufferNewFrom(file, strlen(file)); local 169 if (lstat(BufferData(deref_file), &statbuf) == -1) 193 char dir[BufferSize(deref_file) + 1]; 194 strcpy(dir, BufferData(deref_file)); 196 BufferPrintf(deref_file, "%s/%s", dir, buf); 200 BufferSet(deref_file, buf, linksize); 211 strcpy(backup, BufferData(deref_file)); 221 strcpy(new, BufferData(deref_file)); 239 if (link(BufferData(deref_file), backup) == -1) 280 if (rename(new, BufferData(deref_file)) == -1) [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/cf-agent/ |
H A D | files_operators.c | 158 Buffer *deref_file = BufferNewFrom(file, strlen(file)); local 168 if (lstat(BufferData(deref_file), &statbuf) == -1) 192 char dir[BufferSize(deref_file) + 1]; 193 strcpy(dir, BufferData(deref_file)); 195 BufferPrintf(deref_file, "%s/%s", dir, buf); 199 BufferSet(deref_file, buf, linksize); 210 strcpy(backup, BufferData(deref_file)); 220 strcpy(new, BufferData(deref_file)); 238 if (link(BufferData(deref_file), backup) == -1) 279 if (rename(new, BufferData(deref_file)) == -1) [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/libpromises/ |
H A D | files_operators.c | 159 Buffer *deref_file = BufferNewFrom(file, strlen(file)); local 169 if (lstat(BufferData(deref_file), &statbuf) == -1) 193 char dir[BufferSize(deref_file) + 1]; 194 strcpy(dir, BufferData(deref_file)); 196 BufferPrintf(deref_file, "%s/%s", dir, buf); 200 BufferSet(deref_file, buf, linksize); 211 strcpy(backup, BufferData(deref_file)); 221 strcpy(new, BufferData(deref_file)); 239 if (link(BufferData(deref_file), backup) == -1) 280 if (rename(new, BufferData(deref_file)) == -1) [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/libpromises/ |
H A D | files_operators.c | 159 Buffer *deref_file = BufferNewFrom(file, strlen(file)); local 169 if (lstat(BufferData(deref_file), &statbuf) == -1) 193 char dir[BufferSize(deref_file) + 1]; 194 strcpy(dir, BufferData(deref_file)); 196 BufferPrintf(deref_file, "%s/%s", dir, buf); 200 BufferSet(deref_file, buf, linksize); 211 strcpy(backup, BufferData(deref_file)); 221 strcpy(new, BufferData(deref_file)); 239 if (link(BufferData(deref_file), backup) == -1) 280 if (rename(new, BufferData(deref_file)) == -1) [all …]
|