mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 21:39:56 +03:00
[project @ 2004-07-28 22:38:17 by bursa]
Renamed curl_memdebug() to memdebug_memdebug(). svn path=/import/netsurf/; revision=1157
This commit is contained in:
parent
7114ceadd5
commit
b65c4d4102
@ -33,9 +33,6 @@ static void netsurf_poll(void);
|
|||||||
static void netsurf_exit(void);
|
static void netsurf_exit(void);
|
||||||
static void lib_init(void);
|
static void lib_init(void);
|
||||||
|
|
||||||
#ifndef curl_memdebug
|
|
||||||
extern void curl_memdebug(const char *logname);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gui NetSurf main().
|
* Gui NetSurf main().
|
||||||
@ -82,14 +79,17 @@ void netsurf_init(int argc, char** argv)
|
|||||||
struct utsname utsname;
|
struct utsname utsname;
|
||||||
|
|
||||||
stdout = stderr;
|
stdout = stderr;
|
||||||
curl_memdebug("memdump");
|
|
||||||
|
#ifdef _MEMDEBUG_H_
|
||||||
|
memdebug_memdebug("memdump");
|
||||||
|
#endif
|
||||||
|
|
||||||
LOG(("version '%s'", netsurf_version));
|
LOG(("version '%s'", netsurf_version));
|
||||||
if (uname(&utsname) != 0)
|
if (uname(&utsname) != 0)
|
||||||
LOG(("Failed to extract machine information\n"));
|
LOG(("Failed to extract machine information\n"));
|
||||||
else
|
else
|
||||||
LOG(("NetSurf on <%s>, node <%s>, release <%s>, version <%s>, "
|
LOG(("NetSurf on <%s>, node <%s>, release <%s>, version <%s>, "
|
||||||
"machine <%s>\n", utsname.sysname,
|
"machine <%s>", utsname.sysname,
|
||||||
utsname.nodename, utsname.release,
|
utsname.nodename, utsname.release,
|
||||||
utsname.version, utsname.machine));
|
utsname.version, utsname.machine));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user