Displaying 20 results from an estimated 2000 matches similar to: "[PATCH 2/2] cpio: directly include fnmatch"
2011 Jun 28
0
[PATCH] cpio: cleanup O_BINARY usage.
No point of using it on a unixish OS.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/utils/cpio.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/usr/utils/cpio.c b/usr/utils/cpio.c
index 6891883..15134b9 100644
--- a/usr/utils/cpio.c
+++ b/usr/utils/cpio.c
@@ -31,10 +31,6 @@
#include <fnmatch.h>
#endif
-#ifndef O_BINARY
-# define
2002 May 07
0
Fixing exclude/exclude wildcard handling
Here's a first cut at replacing the fnmatch() call with some code that
knows how to distinguish "**" from "*" and also knows how to match at
the tail-end of the path (at any point following a slash). The new
function is based on Rich Salz's wildmat() code, which means that it
doesn't currently handle "[::alpha::]" style character classes. If we
want that
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,
2007 Aug 15
0
[git patch] fstype support + minor stuff
hello hpa,
rebased my branch, please pull latest
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
for the following shortlog
maximilian attems (6):
fstype: add squashfs v3 support
reiser4_fs.h: add attribute packed to reiser4_master_sb
fstype: add ext4 support
.gitignore: add subdir specific entries
usr/klibc/Kbuild: beautify klibc build
fstype:
2005 May 30
1
fnmatch, getopt_long for module-init-tools
Halo,
fnmatch() and getopt_long are necessary to compile module-init-tools
with klibc out of the box.
Would you consider accepting patches to implement those 2 functions? Can
we use the bsd libc functions? is the lisence acceptable to you?
.bill
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
[ gsi.de pretends this is massmailing so removed from CC's ]
hello hpa,
please review and on ack merge belows patchset.
changes from v1, thanks to review by kzak:
* add strtok_r()
* use it in getmntent_r()
* getment_r() parses mnt_freq and mnt_passno too
isn't that hard.
thanks
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
maximilian attems (9):
2016 Mar 18
1
[PATCH supermin] init: Add a blacklist of kmods that we want to exclude from the mini initrd.
We want to exclude virtio-gpu since it's irrelevant, large, and pulls
in other unwanted dependencies (modeswitching, drm). Add a second
list of kmods which is a blacklist, applied after the first.
This reduces the libguestfs initrd size from 39M down to 17M, with
concomitant small reductions in boot time.
---
src/ext2_initrd.ml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
2008 Mar 25
2
bunch of small fixes
hello hpa,
nothing particular stands out,
just syncing with latest Debian upload and subsequent patch emails.
please review merge or nack.
thanks :)
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
Aaron Griffin (1):
[klibc] kinit: skip md assembly if mdX exists
Colin Watson (1):
[klibc] mount/umount FUSE support
Harald Jenny (1):
[klibc] fstype:
2008 Sep 05
0
initial mntent.h, mount features, ipconfig fixes
hello hpa,
please review and on ack merge belows patchset.
thanks
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
maximilian attems (8):
[klibc] Add initial mntent.h with setmntent() and endmntent()
[klibc] add getmntent()
[klibc] mount: add help arg for usage()
[klibc] mount: list
2008 Jul 13
1
bunch of small fixes
hello hpa,
current chroot util stands out as broken and
found an old nfsmount commit on a stray testbox
in our institue.
thanks for taking a look!
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
maximilian attems (4):
[klibc] malloc fix compile with DEBUG_MALLOC
[klibc] README: add klibc email
[klibc] nfsmount: improve error message
[klibc]
2007 Sep 03
2
[git patch] minor fixes
hello hpa,
have been sitting too long on them, nothing exciting, please pull:
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
with the following shortlog:
maximilian attems (8):
[klibc] grp.h: Add declaration of getgrgid(), getgrnam()
[klibc] getgrgid, getgrnam include grp.h
[klibc] getpwnam, getpwuid include pwd.h
[klibc] ctype.h declare char classification
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
hello hpa,
here my birthday submission :)
please pull:
git pull git://git.debian.org/users/maks/klibc.git maks
Sam fixed a longstanding x86_32 build bug, thus it seems a good time
to flush the queue of the piled up patches, the shortlog tells it:
Aurelien Jarno (1):
[klibc] sh4: syscalls fixes
Benjamin Cama (1):
[klibc] fstype: btrfs size endianness fix
Mike Waychison (2):
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
hello hpa,
please pull for the latest
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
with the following shortlog:
maximilian attems (9):
mount: add nodev, noexec and nosuid options
mount: add -n option
cpio: small cleanups
readlink: s/link/link_name/
kinit, mknod: s/(major|minor)/\1_num/
klibc: strcspn, strpbrk, strspn include string.h
2011 Dec 04
0
[GIT PULL] klibc minor fixes
Hello hpa,
please pull from my debian klibc tree to kernel.org for minor fixes,
that piled up after kernel.org shutdown, inluding a build fix
against current linux 3.1.
git pull git://anonscm.debian.org/users/maks/klibc.git
scripts/basic/fixdep.c | 27 +++++++++++++--------------
usr/include/limits.h | 2 ++
usr/include/sys/file.h | 9 +++++++++
usr/include/sys/types.h |
2010 Apr 25
2
[git pull] small fixes, sh4, getruage() README's
hello hpa,
current patch queue for review, please pull:
git pull git://git.debian.org/users/maks/klibc.git maks
Aurelien Jarno (1):
[klibc] sh4: syscalls fixes
Benjamin Cama (1):
[klibc] fstype: btrfs size endianness fix
Thorsten Glaser (1):
[klibc] add getrusage()
maximilian attems (3):
[klibc] resume: silence warning on resume try
[klibc] bootp_packet.h minor
2011 Sep 06
0
[PATCH] include: [sys/file.h] define flock(2) there
SUSv3 is silent on that definition, but seen several userspace
software that expects flock to be defined in that file and
complain that it is missing in klibc. Current declaration is in
unistd.h.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/sys/file.h | 9 +++++++++
usr/include/unistd.h | 1 -
2 files changed, 9 insertions(+), 1 deletions(-)
create mode 100644
2011 Sep 06
0
[PATCH] include: [limits.h] define OPEN_MAX
Usage seen in util-linux. Defined according to POSIX:2001 min.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/limits.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/usr/include/limits.h b/usr/include/limits.h
index 0d1069b..8a2c6c0 100644
--- a/usr/include/limits.h
+++ b/usr/include/limits.h
@@ -5,6 +5,8 @@
#ifndef _LIMITS_H
#define
2011 Aug 08
0
[PATCH] include: [sys/ioctl.h] needs linux/sockios.h
The defines of SIOCGIFCONF and SIOCSIFFLAGS are well
hidden in linux-2.6 under #ifdef __KERNEL__ sections
for example in linux/socket.h.
Fixes these in kexec-tools against klibc:
| kexec/ifdown.c:46:16: error: 'SIOCGIFCONF' undeclared (first use in
this function)
| kexec/ifdown.c:46:16: note: each undeclared identifier is reported
only once for each function it appears in
|
2011 Aug 30
0
[PATCH] include: [mntent.h] Add MNTTYPE_SWAP definition
It is used by util-linux mount code:
mount.c:1004:30: error: ?MNTTYPE_SWAP? undeclared (first use in this function)
..
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/mntent.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/usr/include/mntent.h b/usr/include/mntent.h
index 210610c..104f35e 100644
--- a/usr/include/mntent.h
+++
2011 Aug 30
0
[PATCH 2/2] include: [sched.h] misssing pid_t definition
Add sys/types.h include to fix:
/usr/lib/klibc/include/sched.h:20:40: error: expected ?)? before ?int?
/usr/lib/klibc/include/sched.h:21:39: error: expected ?)? before ?unsigned?
/usr/lib/klibc/include/sched.h:22:39: error: expected ?)? before ?unsigned?
/usr/lib/klibc/include/sched.h:35:1: error: unknown type name ?pid_t?
Signed-off-by: maximilian attems <max at stro.at>
---