Displaying 20 results from an estimated 29 matches for "create_directory".
2012 Mar 22
1
[LLVMdev] Infinite recursion in sys::fs::create_directories()
...h.toStringRef(path_storage);
StringRef parent = path::parent_path(p);
if (!parent.empty()) {
bool parent_exists;
if (error_code ec = exists(parent, parent_exists)) return ec;
if (!parent_exists)
if (error_code ec = create_directories(parent, existed)) return ec;
}
return create_directory(p, existed);
}
//------------------
Thanks,
Kal
2012 Mar 21
0
[LLVMdev] Infinite recursion in sys::fs::create_directories()
...h.toStringRef(path_storage);
StringRef parent = path::parent_path(p);
if (!parent.empty()) {
bool parent_exists;
if (error_code ec = exists(parent, parent_exists)) return ec;
if (!parent_exists)
if (error_code ec = create_directories(parent, existed)) return ec;
}
return create_directory(p, existed);
}
//------------------
Thanks,
Kal
2003 Sep 10
1
Patch for auto-creating home directories
I've created a patch that adds a feature that is helpful to my setup. If
'parent_dir_umask' is set in the configuration file, any missing
directories in the home directory path are created.
The home directory itself is created according to the 'umask' setting,
'parent_dir_umask' is only used for intermediate directories that might
need creating.
This is useful to me,
2004 Sep 19
0
[LLVMdev] Files to lib/System/Win32
...ix. The problem is that realpath
validates that all the directory components of the path actually exist
and are executable. There are two problems with this. First, Path.h
states that is_valid does syntactic validation only. Second, it is
impossible to create a series of nested directories with
create_directory(true) as such a path would be invalid according to
realpath and hence is_valid. I changed the Win32 version to only
perform syntactic validation.
Path::create_directory had other problems. The use of path::copy to
make a local copy of the path assumed there was a null terminator.
std::string do...
2004 Sep 19
2
[LLVMdev] Files to lib/System/Win32
Patch committed. Thanks for cleaning up some of the coding standards
issues.
Reid.
On Sat, 2004-09-18 at 22:18, Jeff Cohen wrote:
> Patch for Signals.cpp attached.
>
> On Sat, 18 Sep 2004 21:30:12 -0700
> Jeff Cohen <jeffc at jolt-lang.org> wrote:
>
> > On Sat, 18 Sep 2004 12:30:41 -0700
> > Reid Spencer <reid at x10sys.com> wrote:
> >
> >
2004 Sep 18
1
[LLVMdev] MAXPATHLEN' undeclared (first use this function)
...get below error:
---------------------------------
In file included from /usr/local/build/llvm/lib/System/platform/Path.cpp:23,
from /usr/local/src/llvm/lib/System/Path.cpp:27:
/usr/local/build/llvm/lib/System/platform/../Unix/Path.cpp: In member
function
`bool llvm::sys::Path::create_directory(bool)':
/usr/local/build/llvm/lib/System/platform/../Unix/Path.cpp:343: error: `
MAXPATHLEN' undeclared (first use this function)
---------------------------------
MAXPATHLEN is on Interix defined in <limits.h>.
However, it doesn't seem to have any effect including it before...
2006 Apr 24
0
ImageMagick and EXIF Data
...RECTORY, "#{self.id}-full.jpg")
end
def thumbnail_path
File.join(THUMBDIRECTORY, "#{self.id}-thumb.jpg")
end
def self.display_all_images
find(:all, :order => "created_at desc")
end
private
#######
def process
if @file_data
create_directory
cleanup
save_fullsize
create_fullsize
create_thumbnail
load_exif_data
@file_data = nil
end
end
def save_fullsize
File.open(path,''w'') do |file|
file.puts @file_data.read
end
end
def create_fullsize
img = Magick::Im...
2019 Aug 14
9
[9.0.0 Release] Release Candidate 2 is here
Hello everyone,
9.0.0-rc2 was tagged yesterday from the release_90 branch at r368683.
In the Git monorepo it's available as the llvmorg-9.0.0-rc2 tag.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc2
Binaries will be added as they become available.
The tag went in roughly one week behind schedule (see "Upcoming
Releases" at https://llvm.org), but
2019 Jul 29
10
[9.0.0 Release] Release Candidate 1 is here
Hi everyone,
9.0.0-rc1 was just tagged from the release_90 branch at r367217
(tagged as llvmorg-9.0.0-rc1 in the Git monorepo).
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc1
Binaries will be added as they become available.
Please file bug reports for any issues you find as blockers of
https://llvm.org/PR42474
Release testers: please start your engines, run the
2019 Sep 13
4
[9.0.0 Release] Release Candidate 5 is here
Hello everyone,
9.0.0-rc5 was just tagged from the release_90 branch at r371837. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc5.
Source code and docs are available at
https://prereleases.llvm.org/9.0.0/#rc5 Binaries will be added as they
become available.
There is only a single change from rc4 to rc5. Once more, the hope is
that this will be the last release candidate and that we can
2019 Dec 14
5
LLVM 9.0.1-rc3 has been tagged
Hi,
I've just tagged LLVM 9.0.1-rc3. Testers can begin testing and uploading
binaries. This will be the last release candidate unless there is a
major problem. I'm planning to tag the final release on Dec 19.
-Tom
2005 Jul 31
5
Dovecot Deliver?
I guess Dovecot has an LDA called deliver. What is it and how do I use
it? Or is it ready to be used. can't find any docs on it.
--
Marc Perkel - marc at perkel.com
Spam Filter: http://www.junkemailfilter.com
My Blog: http://marc.perkel.com
2019 Sep 10
15
[9.0.0 Release] Release Candidate 4 is here
Hello again,
9.0.0-rc4 was just tagged from the release_90 branch at r371490. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc4.
Source code and docs are available at
https://prereleases.llvm.org/9.0.0/#rc4 Binaries will be added as they
become available.
There are not a lot of changes from rc3 to rc4, and there are again no
open release blockers, so I'm hoping this will be the last
2019 Nov 23
5
LLVM 9.0.1-rc1 Release has been tagged
Hi,
I've tagged the LLVM 9.0.1-rc1 release. Testers can begin testing and upload
binaries. I've also updated the test-release.sh script to pull from GitHub
instead of SVN, if you run into any issues with the new script, let me know.
-Tom
2019 Dec 20
7
LLVM 9.0.1-final has been tagged
Hi,
I've just tagged the 9.0.1-final release. Testers can begin uploading binaries.
-Tom
2019 Aug 30
9
[9.0.0 Release] Release Candidate 3 is here
Hello everyone,
9.0.0-rc3 was tagged today from the release_90 branch at r370450. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc3.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc3
Binaries will be added as they become available.
There are currently no open release blockers, which means if nothing
new comes up, the final release could ship soon and this is
2019 Dec 07
6
LLVM 9.0.1-rc2 has been tagged
Hi,
I've tagged LLVM 9.0.1-rc2. Testers can begin testing and uploading binaries.
If all goes well, this will be the last -rc.
-Tom
2018 Oct 28
0
[PATCH nbdkit 4/4] Add floppy plugin.
...lfn *lfns, size_t n);
+static int convert_to_utf16le (const char *name, char **out, size_t *output_len);
+static void free_lfns (struct lfn *lfns, size_t n);
+static ssize_t extend_dir_table (size_t di, struct virtual_floppy *floppy);
+
+/* Create the on disk directory table for dirs[di]. */
+int
+create_directory (size_t di, const char *label,
+ struct virtual_floppy *floppy)
+{
+ size_t i;
+ const size_t nr_subdirs = floppy->dirs[di].nr_subdirs;
+ const size_t nr_files = floppy->dirs[di].nr_files;
+ struct lfn *lfns, *lfn;
+ const char *name;
+ uint8_t attributes;
+ uint32_t f...
2019 Jan 02
0
[PATCH nbdkit v2 1/2] Annotate internal function parameters with attribute((nonnull)).
...e CLUSTER_SIZE (SECTOR_SIZE * SECTORS_PER_CLUSTER)
-extern void init_virtual_floppy (struct virtual_floppy *floppy);
-extern int create_virtual_floppy (const char *dir, const char *label, struct virtual_floppy *floppy);
-extern void free_virtual_floppy (struct virtual_floppy *floppy);
-extern int create_directory (size_t di, const char *label, struct virtual_floppy *floppy);
-extern int update_directory_first_cluster (size_t di, struct virtual_floppy *floppy);
-extern void pad_string (const char *label, size_t n, uint8_t *out);
+extern void init_virtual_floppy (struct virtual_floppy *floppy)
+ __attribute_...
2019 Sep 17
18
[9.0.0 Release] Release Candidate 6 is here
Hello everyone,
9.0.0-rc6 was just tagged from the release_90 branch at r372100. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc6.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc6
This is the same as rc5 plus one very minor change (r371969) that
still seemed good to pick up.
I'm not allocating extra time for testing this one, expecting to tag