and documented behavior ?
thanks in advance,
Niels Hald Pedersen
[EMAIL PROTECTED]
(gdb) where
#0 0x20068c8e in ?? ()
#1 0x2007d060 in ?? ()
#2 0x2005c456 in ?? ()
#3 0x1646 in main () at foo.c:8
(gdb)
isnt this a strange place for the program to be loaded (I cant remember
seing programs in this address range...
here's the code itself:
#include stdio.h
--
From: Glynn Clements[SMTP:[EMAIL PROTECTED]]
Reply To: Glynn Clements
Sent: 9. november 1998 10:07
To: [EMAIL PROTECTED]
Cc: Linux C Programming List
Subject: Re: Bus error.
CyberPsychotic wrote:
however, why would generate bus error? I
The undefined reference to g_free should be found in libg, which contains
some general utility/cleanliness wrappers (e.g. g_free is a wrapper to
free). At some relatively recent point in Gtk development, these wrappers
were put in their own library. This should come with the Gtk distribution,
but
this was unclean (sic) and they
actually couldn't do the job either (I wanted 1 to 2 msec waits), I
haven't use them for anything.
--
From: Glynn Clements[SMTP:[EMAIL PROTECTED]]
Sent: 29. september 1998 14:47
To: Niels Hald Pedersen
Cc: Marin D; [EMAIL PROTECTED]
Subject
lex/flex generate tokenisers, which match specific regular expressions
in specific contexts, and execute arbitrary code which can reference
the text which was matched.
yacc/bison generate parsers, which build a parse tree from sequences
of tokens. The token stream would normally be
--
From: Josh Muckley[SMTP:[EMAIL PROTECTED]]
Reply To: Josh Muckley
Sent: 9. september 1998 06:35
To: Linux C Programming List; James
Subject: Re: main()
I believe that choice "A" is correct.
No, A is not "correct".
C was from the start designed
The fastest way to read textual data is to write your own scanner
using lex/flex, and to ensure that it doesn't need to back-up (see the
flex info file for what backing-up is and how to avoid it).
Just adding that it may (or may not) be a good idea to use lex/flex in
combination with
-Reuters, London, February 29, 1998:
that's an unorthodox leap year, isn't it ?
Niels HP
[EMAIL PROTECTED]
Essentially, a callback function is a function supplied by the user
(thats you) and called from other code, which is typically a library.
Callbacks are nearly always used because a particular library demands
it, either because it is the smartest way to organise things (an example
is the
As for the discussion of the appropriateness of the discussion of global
variables, here is my 0.02 Euro:
The time I've been on list, it has been a balancing between
questions/answers ranging from the rather basic, to the rather hairy.
This balancing has mostly been quite good. When it works
Hi all;
Anybody having experience with installing egcs (1.0.2-8, as the RH5.1
standard RPM) over a vanilla RH5.0 system (implying a glibc of
2.0.5c-10) ? I've just done that, and experience weirdnesses like
smashing of the frame/stack pointer during calls to things like printf
(from c++ code,
--
From: Glynn Clements[SMTP:[EMAIL PROTECTED]]
Reply To: Glynn Clements
Sent: 7. august 1998 02:21
To: James
Cc: Linux C Programming List
Subject: Re: Malloc()
(..snip..)
The program code and read-only data (e.g. string literals) are even
--
From: James[SMTP:[EMAIL PROTECTED]]
Reply To: James
Sent: 2. juli 1998 01:20
To: Linux C Programming List
Subject: Re: remove
On Wed, 1 Jul 1998, Victor wrote:
-remove
-If our brain was so simple we could understand it
-we would be so simple
Hi James list, if it reaches it,
I got this from the list though.
For the time being, I can not even get through to
[EMAIL PROTECTED] I get a lot of these:
Your message
To: [EMAIL PROTECTED]
Subject:
Sent: 02-07-98 08:17:01
is still queued at the Internet
ce,
Niels Hald Pedersen
[EMAIL PROTECTED]
on at hand.
Thanks in advance,
Niels Hald Pedersen,
[EMAIL PROTECTED]
ps: I dont think linux-c-prog should be afraid of having language
philosophy/style threads like the string/pointer one recently (as long
as they are somewhat focused on C/C++ matters). I think a lot of good
points an
17 matches
Mail list logo