Displaying 20 results from an estimated 600 matches similar to: "sighandler_t signal(int signum, sighandler_t handler);"
2005 Mar 02
1
[PATCH] signal.h
This patch does two things.
This test program results (on i386) in an error about _NSIG:
#include <signal.h>
#if defined (SIGRTMAX)
int rtmax = SIGRTMAX;
#endif
The cause is that the kernel signal.h defines SIGRTMAX as _NSIG,
then makes _NSIG invisibelby hiding it inside ifdef __KERNEL__.
Perhaps it's more elegant to solve this in the kernel,
but the ramifications of that scare
2004 Feb 08
3
Re: klibc - setenv broken
Kay Sievers wrote:
> Hi,
> this simple program compiled with klibc:
>
> #include <stdio.h>
> int main(int argc, char* argv[])
> {
> setenv("TESTENV", "happy", 1);
> printf("TESTENV='%s'\n", getenv("TESTENV"));
> }
>
> prints:
>
> ./env
> TESTENV='(null)'
>
>
2017 May 30
1
Gluster client mount fails in mid flight with signum 15
Hello All
We?ve have a problem with cluster client mounts fail in mid run with this in the log
glusterfsd.c:1332:cleanup_and_exit] (-->/lib64/libpthread.so.0(+0x7dc5) [0x7f640c8b3dc5] -->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xe5) [0x7f640df4bfd5] -->/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x7f640df4bdfb] ) 0-: received signum (15), shutting down.
We?ve tried running debug but
2004 Oct 16
1
181 and current Linus
klibc appears to build ok, some of the apps fail
gcc -Wp,-MD,.fstype.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-W -Wall -c -o fstype.o fstype.c
fstype.c: In function `romfs_image':
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
What do I need to do to fix this?
[jonsmirl@smirl klibc-0.184]$ make
make[1]: Entering directory `/home/dri/klibc-0.184/klibc'
gcc -Wp,-MT,syscalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3
-march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0
-nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32
-I../include/arch/i386 -I../include/bits32 -I../include
2015 Aug 21
0
Problem with psignal.c for Windows builds
Continuing with problems that I've uncovered while getting pqR to work
on Windows...
The file src/ghuwin32/psignal.c (used only in Windows builds) fails to
use the sigset_t type in all places where it should, using "int" some
places instead.
Here is a diff of the needed corrections:
@@ -253,7 +253,7 @@ sighandler_t signal(int signal_Number, sighandler_t signal_Handler)
int
2004 Oct 19
1
times.h and building ash
I get this with current linus bk now and klibc 187
[jonsmirl@smirl ash]$ make
sh mknodes.sh nodetypes nodes.c.pat .
gcc -Wp,-MD,.cd.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-I../linux/include
2010 Jan 05
7
[Bug 1692] New: sshd sometimes dies when sent multiple SIGHUPs in quick succession
https://bugzilla.mindrot.org/show_bug.cgi?id=1692
Summary: sshd sometimes dies when sent multiple SIGHUPs in
quick succession
Product: Portable OpenSSH
Version: 5.3p1
Platform: Other
URL: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug
/497781
OS/Version: Linux
Status: NEW
2006 Jan 17
2
file_column plugin and instance variables
To make file_column work I have to copy my local variable back to an
instance variables like this:
<% for product in @products
@product = product %>
<div class="catalogentry">
<%= image_tag url_for_file_column(''product'', ''image_url'') %></p>
This is needed because file_column specifically looks for the instance
2006 Jan 31
2
New free IBM DB2 with few restrictions
This will give you something to run on when Oracle refuses to renew
the MySQL InnoDB license next year.....
Linux and Windows versions
You can run DB2 Express-C on up to 2 dual-core CPU servers, with up to
4 GB of memory, any storage system setup and with no restrictions on
database size or any other artificial restrictions.
Business partners may choose to register for free redistribution of
2004 Feb 07
1
double define of __BIT_TYPES_DEFINED__
/klibc/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of `int8_t'
/klibc/linux/include/linux/types.h:109: error: `int8_t' previously declared here
The copy in stdint.h is not protected by:
#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
#endif /* !(__BIT_TYPES_DEFINED__) */
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
2006 Jan 12
2
ActionController#send_file
Looking at the code for ActionController#send_file I see that it is
using ruby to send the file contents. Linux supports a sendfile() OS
call. The implementation of Linux sendfile() is extremely fast and
very CPU efficient, far faster than what can be done in user space.
Does Windows support a sendfile() equivalent call? I haven''t been
working with ruby long enough to know how it handles
2004 Jan 24
2
mmap and getpagesize
The man page for mmap() says the size needs to be a multiple of getpagesize().
So in my code I call getpagesize() and adjust my lengths accordingly. klibc
doesn't have getpagesize() implemented. Is it safe to call mmap() with arbritary
lengths and assume the mmap will round up for you? Does this work on glibc too?
If so, I can just eliminate my getpagesize() code.
It turns out for VM86
2006 Feb 06
1
belongs_to versus references
I was just reading through the Rails book and I got to the part about
belongs_to versus references. Shouldn''t references be allowed as a
synonym to belongs_to?
Looking at this from a schema in the model view point, belongs to
corresponds to a foreign key with the cascade on delete option.
References is just a normal forgeign key with no cascade option.
--
Jon Smirl
jonsmirl@gmail.com
2004 Jan 26
1
README paths to ftp and CVS
ftp should be:
ftp://ftp.zytor.com/pub/linux/klibc/
instead of:
ftp://ftp.zytor.com/pub/linux/libs/klibc/
CVS says:
http://www.zytor.com/cvsweb.cgi/klibc/
but that's broken.
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
2004 Jan 26
1
need a few additions
I have my VBIOS reset program working on klibc now. I think I have tracked down
and fixed all of the problems I was having. So to make this official I need a
few minor klibc additions:
1) fix inb/w/l to return the right variable.
2) implement getpagesize()
3) add support for vm86 - one function and one header file.
Later, if you're interested, we could modify the vm86 function to call the
2004 Feb 15
1
Macros for wait() status
Can I get the macros for interpreting wait() exit status?
wait(&status);
if (__WIFEXITED(status) && (__WEXITSTATUS(status) == 0)) { //need klibc fix
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
2004 Feb 21
1
REGPARM_OPT
This is enabled in v114 for arch/i386. The comments read like you meant to leave
it disabled by default.
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
2004 Apr 12
1
libsysfs and klibc
libsysfs is using a few things not in klibc. udev is getting around this by
having a private copy of libsysfs with a few modifications to make it work on
klibc. What's the easiest path for getting the master libsysfs copy working on
klibc?
libsysfs needs two calls:
setmntent, getmntent
These are used to locate the mount point of /sys
It also uses errno so I get link errors for
2004 Sep 14
1
v173 and current 2.6 Linus BK on x86
v173 doesn't build on current 2.6 Linus BK on x86
Complaints about undeclared __le64, __le32, __be64, __be32, __be16
What am I doing wrong?
In file included from ../linux/include/asm/byteorder.h:57,
from ../klibc/include/endian.h:9,
from ../klibc/include/netinet/in.h:13,
from ../klibc/include/arpa/inet.h:11,
from