Displaying 20 results from an estimated 900 matches similar to: "[klibc:master] [SHELL] Fix klibc DEBUG compilation"
2011 Jul 08
1
[PATCH] [SHELL] Fix klibc DEBUG compilation v3
dash didn't compile in DEBUG mode against klibc for all long time.
Now it only fails at link stage for not having setlinebuf(3) and
freopen(3).
Fixes:
usr/dash/show.o: In function `opentrace':
show.c:(.text+0x36): undefined reference to `freopen'
show.c:(.text+0x86): undefined reference to `setlinebuf'
Skip setlinebuf and use fclose/fopen inside __KLIBC__
Compile tested with
2011 Jun 04
1
[PATCH] [SHELL] Fix klibc DEBUG compilation v2
dash didn't compile in DEBUG mode against klibc for all long time.
Now it only fails at link stage for not having setlinebuf(3) and
freopen(3).
Fixes:
usr/dash/show.o: In function `opentrace':
show.c:(.text+0x36): undefined reference to `freopen'
show.c:(.text+0x86): undefined reference to `setlinebuf'
Skip setlinebuf and use fclose/fopen inside SMALL.
Signed-off-by: maximilian
2011 Jun 03
1
[PATCH] JOBS: fix klibc DEBUG compilation
dash didn't compile in DEBUG mode against klibc for all long time.
Now it fails at link stage for not having setlinebuf(3).
Fixes:
usr/dash/show.o: In function `opentrace':
show.c:(.text+0x86): undefined reference to `setlinebuf'
Signed-off-by: maximilian attems <max at stro.at>
---
the last open error, looks more like a klibc bug to me,
will fix it
2010 Sep 09
1
dash klibc DEBUG compile question
now with the proper flags passed and the jobs.c fix dash
allmost compiles in DEBUG mode, the last two failures happen
in show.c, which assumes some buffering functions that klibc
doesn't provide:
usr/dash/show.o: In function `opentrace':
show.c:(.text+0x36): undefined reference to `freopen'
show.c:(.text+0x86): undefined reference to `setlinebuf'
afais this code dates from the
2010 Nov 20
1
[PATCH 1/2] cat cleanup ugly ifdefery
no point in carrying those ifdefs along,
just cleanup the code that seems either BSD specific or
can't work on klibc.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/utils/cat.c | 22 +---------------------
1 files changed, 1 insertions(+), 21 deletions(-)
diff --git a/usr/utils/cat.c b/usr/utils/cat.c
index 1108d2e..7465148 100644
--- a/usr/utils/cat.c
+++
2001 Oct 27
1
setlinebuf vs. setvbuf: Caldera OpenUNIX8.
On Fri, 26 Oct 2001, Larry Rosenman wrote:
:I tried to compile OpenSSH 2.9.9p2 on my Caldera OpenUNIX8 system and
:it couldn't find setlinebuf. setlinebuf is a BSD compatibility
:function. It was called from sftp-int.c. Looking at the code, there
:is a #ifdef for HAVE_SETVBUF, but apparently configure isn't set to
:look for setvbuf (which we DO have).
:
:I added a #define HAVE_SETVBUF 1
2006 May 22
1
Script AGI on C
Hi Folks:
I used that one example for AGI script on C web, only to fill the working with the Asterisk. I compiled and it worked great. I executed accidentally the ls -l command in directory where was the source and executable, I noted and was surprised that because the executable size was to further 20 times more than source.
I executed the gcc -Os source.c -o executable.agi command several
2008 Jan 27
1
[AGI 1.4] C sample?
Hello
I'm pretty much a newbie when it comes to C, but I have to use
this language to write a couple of AGI proggies because I need them to
be statically compiled.
Strangely enough, Google didn't return much when looking for the
"Hello, world!" of AGI in C.
The following doesn't work: The file never gets written:
===========
//check_cid.c
#include <stdio.h>
#include
2002 Jul 18
1
'buildpkg.sh' for OpenSSH - non-interactive install?
I have a minor issue with the 'buildpkg.sh' script in the contrib/solaris
directory for OpenSSH (3.4p1 in my case) that I'm hoping might be solvable.
First off, I'd like to say that I've been quite happy with the script; for
interactive installs, it's worked great.
My problem is occurring due to my attempts to make it work non-interac-
tively, however, within an init
1998 Nov 17
1
Failure to rename files that have active file handles
We have just installed Samba 1.9.18p10 on an Ultra Sparc, Solaris 2.5.1 .
So far we have been very impressed with the resilience and performance
of Samba in contrast to Hummingbird and Solstice NFS products while
doing large product builds on our NT4.0 sp4 machines.
However we have come across one little problem, which may be down to
configuration, that has left us "worried" about
2020 Mar 28
0
[klibc:update-dash] dash: eval: Reset handler when entering a subshell
Commit-ID: 3f314ab5fe4a08b6e8d0ce34465298ba20f90def
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=3f314ab5fe4a08b6e8d0ce34465298ba20f90def
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Sun, 3 Mar 2019 21:57:50 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: eval: Reset
2009 May 05
1
Asterisk cdr_odbc problems
I'm trying to get asterisk cdr_odbc configured, but it can't connect
through my odbc driver.
switchboard*CLI> module load cdr_odbc
[May 4 20:06:04] ERROR[17758]: cdr_odbc.c:358 odbc_load_module:
cdr_odbc: Unable to connect to datasource: asterisk
/etc/odbcinst.ini:
[MySQL]
Description = MySQL driver
Driver = /usr/lib/odbc/libmyodbc.so
Setup =
2004 Jul 22
1
app_dbodbc URGENT
I have been searching for the last two days and I cannot seem to set
Asterisk to work from a database, can someone please tell me what I am doing
wrong here? Here are my files
[app_dbodbc.so] => (Database access functions for Asterisk extension logic)
== Parsing '/etc/asterisk/odbc.conf': Found
> app_dbodbc: dsn is MySQL-asterisk
> app_dbodbc: username is
2004 May 10
1
RODBC in RAqua
I've been trying to get RODBC working in RAqua. For my database,
let's call it "mydb", when I enter
odbcConnect("mydb")
or
odbcConnect("mydb", uid="postgres", pwd="secret"),
RAqua thinks for about 10 seconds, then crashes.
mydb is a PostgreSQL 7.4.2 database running on my machine (Mac OS X
10.3.3). I am using the pgsqlodbc 7.2.5 driver
2011 Oct 16
0
[LLVMdev] llvm and stream error
Here is the code of the functions:
int getStream()
{
int fd = _dup(fileno(stdout));
freopen("tmp","w",stdout);
return fd;
}
void freeStream(int fd)
{
_dup2(fd,fileno(stdout));
close(fd);
}
The code of main program:
printf(“start tets”);
int fd = getStream();
printf(“redirection”);
freeStream(fd);
This is a part of
2005 Aug 18
2
Asterisk configuration from database with res_config
I want to let Asterisk read its configuration from a mysql database. I
configured everything according to the wiki page:
http://www.voip-info.org/tiki-index.php?page=Asterisk+res_config.
However it doesn't work. I am using 1.0.8 asterisk version and here are
my config files:
Extconfig.conf:
[settings]
;uncomment to load queues.conf via the db engine.
;queues.conf =>
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]
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):
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