Re: xmalloc string functions



Yevgen Muntyan wrote:
Ian Collins wrote:
Randy Howard wrote:
On Sun, 27 Jan 2008 09:49:42 -0600, Kelsey Bjarnason wrote:
One wonders how many applications they've screwed over with that bit
of asinine idiocy.
Sure. That's why seeing an app crash on a linux box is "no big
surprise" anymore. It's also one of the reasons I don't run Linux
anymore except when I absolutely have to. It's not the kernel's
fault, but it is a problem with the normal way the platform is deployed.

<OT>Unlike some other platforms, Linux and UNIX platforms in general
offer the user a choice of desktop environments. One popular
alternative is written in TOL, which is better equipped to manage
dynamic memory</OT>

You mean those application will abort in the unexpected exception
handler instead of inside g_malloc()? Sure, that's certainly better.

No, I mean the application can choose where in the call chain to catch
memory allocation failures and take appropriate action. It can also use
appropriate techniques not available to a C application to manage the
lifetime of allocated memory, reducing the risk of leaks leading to
premature memory exhaustion.

--
Ian Collins.
.



Relevant Pages

  • Re: COMPAT_* kernel config options -- some housecleaning overdue?
    ... necessary or useful some of these options are anymore. ... real picture is that? ... And speaking of Linux compatibility, we still have an erroneous reference to ... COMPAT_LINUX instead of COMPAT_LINUX32 accompanying 'device tdfx'. ...
    (freebsd-questions)
  • Re: xmalloc string functions
    ... It's also one of the reasons I don't run Linux anymore except when I absolutely have to. ... When you refer to someone that holds a different opinion than you do as a "smart arse who knows nothing", how is that any better than calling someone an "idiot"? ...
    (comp.lang.c)
  • Re: Puzzled about KDE or GNOME or what?
    ... Not a lot of actual useful or on topic posts in the Linux groups ... The same applies for IRC as a medium. ... They simply don't understand the concept of IRC anymore. ... same thing, can't post to newsgroups anymore, blah blah. ...
    (comp.os.linux.misc)
  • Re: Garmin GPS V problem and replacement suggestions
    ... It is far better than the older versions with built in memory. ... I don't think you'll miss the horizontal/vertical options for the screen. ... line between car GPS and hiking GPS? ... site it seemed like they don't make units like that anymore. ...
    (sci.geo.satellite-nav)
  • Re: xmalloc string functions
    ... It's also one of the reasons I don't run Linux anymore except when I absolutely have to. ... But then I read the replies, and replied myself, and I should ...
    (comp.lang.c)