Displaying 20 results from an estimated 7000 matches similar to: "Samba mount point and dirent.h"
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
From: Gene Cumm <gene.cumm at gmail.com>
COM32/rosh: Improvements; ls acts more like ls with -l -i and -F being
understood; Lots of code clean up and user assistance.
Clean up the MCONFIG file; Clean up the code to get it to pass
checkpatch.pl (aside from confusion on multi-line strings); Add a
little more in the error function to recognize different errors;
Signed-off-by: Gene Cumm
2010 Jun 27
1
[PATCH] ROSH: Upgraded
Without further adieu, I would like to announce that I've finally
pushed ROSH, the Read-Only SHell, finally to the point of being
reasonably usable.
From: Gene Cumm <gene.cumm at gmail.com>
Patch ROSH for Syslinux-4 and make it much more usable.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c
index 511fdff..bf1176f
2009 Aug 03
1
[PATCH] Recognise cd-rom devices in devsparts.c
Also:
* Un-duplicate device detection code by creating a common mapping function.
* Add some more comments.
---
daemon/devsparts.c | 209 +++++++++++++++++++++++++++++-----------------------
1 files changed, 116 insertions(+), 93 deletions(-)
diff --git a/daemon/devsparts.c b/daemon/devsparts.c
index 33579ba..0e056a1 100644
--- a/daemon/devsparts.c
+++ b/daemon/devsparts.c
@@ -29,57 +29,38 @@
2017 Feb 14
0
[PATCH 2/2] GCC 7: Allocate sufficient space for sprintf output.
GCC 7.0.1 can determine if there is likely to be sufficient space in
the output buffer when using sprintf/snprintf, based on the format
string.
The errors were all either of this form:
bindtests.c:717:29: error: '%zu' directive output may be truncated writing between 1 and 19 bytes into a region of size 16 [-Werror=format-truncation=]
snprintf (strs[i], 16, "%zu", i);
2017 Feb 14
0
[PATCH v2 2/2] GCC 7: Allocate sufficient space for sprintf output.
GCC 7.0.1 can determine if there is likely to be sufficient space in
the output buffer when using sprintf/snprintf, based on the format
string.
The errors were all either of this form:
bindtests.c:717:29: error: '%zu' directive output may be truncated writing between 1 and 19 bytes into a region of size 16 [-Werror=format-truncation=]
snprintf (strs[i], 16, "%zu", i);
2008 Dec 04
0
[PATCH 1/1] COM32: Add directory functions
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use these
2009 Feb 11
1
[PATCH 1/1] COM32 API: Add functions for directory use
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use these
2011 Aug 10
1
[PATCH v2] dirent.h add fdopendir()
Initial implemenation with quick test.
Signed-off-by: maximilian attems <max at stro.at>
---
v2: seperate file.
usr/include/dirent.h | 1 +
usr/klibc/Kbuild | 3 ++-
usr/klibc/fdopendir.c | 40 ++++++++++++++++++++++++++++++++++++++++
usr/klibc/tests/Kbuild | 1 +
usr/klibc/tests/fdopendir.c | 31 +++++++++++++++++++++++++++++++
5 files changed,
2009 Mar 06
0
[PATCH 2/3] COM32 API: restructure DIR
From: Gene Cumm <gene.cumm at gmail.com>
COM32 API: restructure DIR to include a dirent to eliminate the need
for alloc()/free() of dirents
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
Counted incorrectly. Depends on previous patches.
diff --git a/com32/include/dirent.h b/com32/include/dirent.h
index 5161828..a544050 100644
--- a/com32/include/dirent.h
+++
2014 Oct 31
0
Re: [PATCH] fish: fix dir completion on filesystems w/o dirent.d_type (RHBZ#1153844).
On Fri, Oct 31, 2014 at 05:56:10PM +0100, Pino Toscano wrote:
> On filesystems whose dirent.d_type is DT_UNKNOWN or some unknown value,
> manually check whether an entry is a directory, thus completing in the
> proper way.
Happens on Windows (NTFS) too, and it's also annoying there ...
> ---
> fish/destpaths.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
2011 Aug 17
2
[PATCH] btrfs: fix d_off in the first dirent
Since the d_off in the first dirent for "." (that originates from
the 4th argument "offset" of filldir() for the 2nd dirent for "..")
is wrongly assigned in btrfs_real_readdir(), telldir returns same
offset for different locations.
| # mkfs.btrfs /dev/sdb1
| # mount /dev/sdb1 fs0
| # cd fs0
| # touch file0 file1
| # ../test
| telldir: 0
| readdir: d_off = 2,
2016 Jul 25
2
[PATCH] osinfo: revamp db reading (RHBZ#1359652)
More recent versions of libosinfo switched the internal directory with
the XML files of OSes to a different layout (still with the same XML
format), causing libguestfs to not read them anymore. Furthermore, the
internal directory is going to disappear soon, replaced by a public
osinfo database [1].
Revamp the way libguestfs reads the data: first try the upcoming osinfo
layout, falling back to
2014 Oct 31
4
[PATCH] fish: fix dir completion on filesystems w/o dirent.d_type (RHBZ#1153844).
On filesystems whose dirent.d_type is DT_UNKNOWN or some unknown value,
manually check whether an entry is a directory, thus completing in the
proper way.
---
fish/destpaths.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/fish/destpaths.c b/fish/destpaths.c
index f224106..df1ec00 100644
--- a/fish/destpaths.c
+++ b/fish/destpaths.c
@@ -191,7 +191,13 @@
2009 Dec 07
0
Bunch of bugs in LibTheora, FFMPEG2THEORA, PNG2THEORA
1. "dump_video.c" got reverted back by 5 years into 2004:
https://trac.xiph.org/browser/trunk/theora/examples/dump_video.c
https://trac.xiph.org/log/trunk/theora/examples/dump_video.c
2. "png2theora.c" (subminor)
https://trac.xiph.org/browser/trunk/theora/examples/png2theora.c
207 /* Must hold: yuv_w >= w */
208 yuv_w = (w + 15) & ~15;
209
210 /* Must hold:
2009 Jun 03
3
How to get file info of a directory in linux kernel space?
hi, all
you know in the linux userspace , i can compile and run the following
program to get the name or inode number of the files in the /bin directory.
i want to know how to do this in linux kernelspace ? thank you very much!
/*********************************************************************/
#include <unistd.h>
#include <sys/stat.h>
#include <stdio.h>
#include
2009 Jun 03
3
How to get file info of a directory in linux kernel space?
hi, all
you know in the linux userspace , i can compile and run the following
program to get the name or inode number of the files in the /bin directory.
i want to know how to do this in linux kernelspace ? thank you very much!
/*********************************************************************/
#include <unistd.h>
#include <sys/stat.h>
#include <stdio.h>
#include
2010 Apr 28
1
[PATCH] RFC: Running initscripts from kinit
For our platforms, we'd like to embed several different userland scripts /
programs that are executed before we have mounted the root filesystem as part
of the initramfs payload.
Specifically, I'd like to have multiple scripts executed before do_mounts(), so
I coded up this simple do_initscripts function that executes all executables
found in /etc/init.d in alphabetically sorted order.
I
2011 Jul 29
3
[PATCH 1/3] klibc: Add scandir() and alphasort() support.
Add support for scandir() and alphasort() as defined in POSIX.1-2008.
Signed-off-by: Mike Waychison <mikew at google.com>
---
usr/include/dirent.h | 7 +++++
usr/klibc/Kbuild | 2 +
usr/klibc/scandir.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 84 insertions(+), 1 deletions(-)
create mode 100644 usr/klibc/scandir.c
diff --git
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
Modern distributions are moving toward a common boot scheme called "The Boot
Loader Specification". This patch enables syslinux to parse the drop-in files
that are defined by this new specification.
Link to documentation of the options added to syslinux by this patch:
https://drive.google.com/uc?export=download&id=1nuRISVJeE1whYggFURywoQFpPzc6s1MC
MD5 (syslinux-bls1.txt) =
2006 Oct 03
2
strverscmp, scandir, alphasort and versionsort
Hello,
These are implementations of strverscmp, scandir, alphasort and
versionsort, and some test cases for them.
I know these aren't in POSIX, but they're useful, nonetheless, and
someone else might be interested in them.
Regards,
Luciano Rocha
--
lfr
0/0
-------------- next part --------------
/* ----------------------------------------------------------------------- *
*
*