Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/69d31afcdeb3851944774ae5c92603b137db1ae7
...commit
http://git.netsurf-browser.org/netsurf.git/commit/69d31afcdeb3851944774ae5c92603b137db1ae7
...tree
http://git.netsurf-browser.org/netsurf.git/tree/69d31afcdeb3851944774ae5c92603b137db1ae7
The branch, master has been updated
via 69d31afcdeb3851944774ae5c92603b137db1ae7 (commit)
via f64b37b29f3a64d80f42f62c113fe81a15c5b275 (commit)
via e01c24cef73d2cb70088af1381b90924129a112f (commit)
from a54cbb5aeaba6f6ecf6c04de38acda79733583ed (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=69d31afcdeb3851944774ae5c92603b137db1ae7
commit 69d31afcdeb3851944774ae5c92603b137db1ae7
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
fix gtk download window to cope with files larger than 2 gibibytes
diff --git a/frontends/gtk/download.c b/frontends/gtk/download.c
index 6fb9081..173d2e4 100644
--- a/frontends/gtk/download.c
+++ b/frontends/gtk/download.c
@@ -89,8 +89,8 @@ struct gui_download_window {
GString *name;
GString *time_left;
- gint size_total;
- gint size_downloaded;
+ unsigned long long int size_total;
+ unsigned long long int size_downloaded;
gint progress;
gfloat time_remaining;
gfloat start_time;
@@ -418,7 +418,9 @@ static gboolean nsgtk_download_update(gboolean force_update)
GList *list;
gchar *text;
gboolean update, pulse_mode = FALSE;
- gint downloaded = 0, total = 0, dls = 0;
+ unsigned long long int downloaded = 0;
+ unsigned long long int total = 0;
+ gint dls = 0;
gfloat percent, elapsed = g_timer_elapsed(dl_ctx.timer, NULL);
dl_ctx.num_active = 0;
@@ -439,9 +441,8 @@ static gboolean nsgtk_download_update(gboolean force_update)
dl->time_remaining = (dl->size_total -
dl->size_downloaded)/
dl->speed;
- dl->progress = (gfloat)
- dl->size_downloaded /
- dl->size_total * 100;
+ dl->progress = (double)dl->size_downloaded /
+ (double)dl->size_total * 100;
} else {
dl->progress++;
}
@@ -473,9 +474,9 @@ static gboolean nsgtk_download_update(gboolean force_update)
gtk_progress_bar_pulse(dl_ctx.progress);
gtk_progress_bar_set_text(dl_ctx.progress, text);
} else {
- percent = total != 0 ? (gfloat)downloaded / total : 0;
+ percent = total != 0 ? (double)downloaded / (double)total : 0;
text = g_strdup_printf(messages_get("gtkProgressBar"),
- floor(percent*100), dls);
+ floor(percent * 100), dls);
gtk_progress_bar_set_fraction(dl_ctx.progress,
percent);
gtk_progress_bar_set_text(dl_ctx.progress, text);
@@ -763,7 +764,7 @@ static struct gui_download_window *
gui_download_window_create(download_context *ctx, struct gui_window *gui)
{
nsurl *url;
- unsigned long total_size;
+ unsigned long long int total_size;
gchar *domain;
gchar *destination;
gboolean unknown_size;
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=f64b37b29f3a64d80f42f62c113fe81a15c5b275
commit f64b37b29f3a64d80f42f62c113fe81a15c5b275
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
make download core store size in at least 64bits to allow for large files
diff --git a/desktop/download.c b/desktop/download.c
index e17855a..4931371 100644
--- a/desktop/download.c
+++ b/desktop/download.c
@@ -42,7 +42,7 @@ struct download_context {
struct gui_window *parent; /**< Parent window */
lwc_string *mime_type; /**< MIME type of download */
- unsigned long total_length; /**< Length of data, in bytes */
+ unsigned long long int total_length; /**< Length of data, in bytes */
char *filename; /**< Suggested filename */
struct gui_download_window *window; /**< GUI download window */
@@ -94,7 +94,7 @@ static nserror
download_context_process_headers(download_context *ctx)
{
const char *http_header;
http_content_type *content_type;
- unsigned long length;
+ unsigned long long int length;
nserror error;
/* Retrieve and parse Content-Type */
@@ -108,10 +108,11 @@ static nserror
download_context_process_headers(download_context *ctx)
/* Retrieve and parse Content-Length */
http_header = llcache_handle_get_header(ctx->llcache, "Content-Length");
- if (http_header == NULL)
+ if (http_header == NULL) {
length = 0;
- else
- length = strtoul(http_header, NULL, 10);
+ } else {
+ length = strtoull(http_header, NULL, 10);
+ }
/* Retrieve and parse Content-Disposition */
http_header = llcache_handle_get_header(ctx->llcache,
@@ -299,7 +300,8 @@ const char *download_context_get_mime_type(const
download_context *ctx)
}
/* See download.h for documentation */
-unsigned long download_context_get_total_length(const download_context *ctx)
+unsigned long long int
+download_context_get_total_length(const download_context *ctx)
{
return ctx->total_length;
}
diff --git a/desktop/download.h b/desktop/download.h
index dc2befd..b704c4c 100644
--- a/desktop/download.h
+++ b/desktop/download.h
@@ -91,7 +91,7 @@ const char *download_context_get_mime_type(const
download_context *ctx);
* \param ctx Context to retrieve byte length from
* \return Total length, in bytes, or 0 if unknown
*/
-unsigned long download_context_get_total_length(const download_context *ctx);
+unsigned long long int download_context_get_total_length(const
download_context *ctx);
/**
* Retrieve the filename for a download
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=e01c24cef73d2cb70088af1381b90924129a112f
commit e01c24cef73d2cb70088af1381b90924129a112f
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
improve human_friendly_bytesize to cope with sizes up to 16 exibytes
diff --git a/resources/FatMessages b/resources/FatMessages
index 9125866..12d81bd 100644
--- a/resources/FatMessages
+++ b/resources/FatMessages
@@ -119,6 +119,7 @@ nl.all.FrameDrag:frames aan het aanpassen
# Units
# =====
#
+# Decimal prefix
en.all.Bytes: B
de.all.Bytes: B
fr.all.Bytes: octets
@@ -139,7 +140,13 @@ de.all.GBytes: GB
fr.all.GBytes: Go
it.all.GBytes: GB
nl.all.GBytes: GB
-
+# Binary prefix
+en.all.KiBytes: KiB
+en.all.MiBytes: MiB
+en.all.GiBytes: GiB
+en.all.TiBytes: TiB
+en.all.PiBytes: PiB
+en.all.EiBytes: EiB
# Content Forms
# =============
diff --git a/test/utils.c b/test/utils.c
index 3d5319a..9fe6747 100644
--- a/test/utils.c
+++ b/test/utils.c
@@ -37,22 +37,31 @@
#define SLEN(x) (sizeof((x)) - 1)
struct test_pairs {
- const unsigned long test;
+ const unsigned long long int test;
const char* res;
};
static const struct test_pairs human_friendly_bytesize_test_vec[] = {
- { 0, "0.00Bytes" },
- { 1024, "1024.00Bytes" },
- { 1025, "1.00kBytes" },
- { 1048576, "1024.00kBytes" },
- { 1048577, "1.00MBytes" },
- { 1073741824, "1024.00MBytes" },
- { 1073741888, "1024.00MBytes" }, /* spot the rounding error */
- { 1073741889, "1.00GBytes" },
- { 2147483648, "2.00GBytes" },
- { 3221225472, "3.00GBytes" },
- { 4294967295, "4.00GBytes" },
+ { 0ULL, "0Bytes" },
+ { 0x2AULL, "42Bytes" },
+ { 0x400ULL, "1024Bytes" },
+ { 0x401ULL, "1.00KiBytes" },
+ { 0xA9AEULL, "42.42KiBytes" },
+ { 0x100000ULL, "1024.00KiBytes" },
+ { 0x100001ULL, "1.00MiBytes" },
+ { 0x2A6B852ULL, "42.42MiBytes" },
+ { 0x40000000ULL, "1024.00MiBytes" },
+ { 0x40000001ULL, "1.00GiBytes" },
+ { 0x80000000ULL, "2.00GiBytes" },
+ { 0xC0000000ULL, "3.00GiBytes" },
+ { 0x100000000ULL, "4.00GiBytes" },
+ { 0x10000000000ULL, "1024.00GiBytes" },
+ { 0x10000000001ULL, "1.00TiBytes" },
+ { 0x4000000000000ULL, "1024.00TiBytes" },
+ { 0x4000000000001ULL, "1.00PiBytes" },
+ { 0x1000000000000000ULL, "1024.00PiBytes" },
+ { 0x1000000000000100ULL, "1.00EiBytes" }, /* precision loss */
+ { 0xFFFFFFFFFFFFFFFFULL, "16.00EiBytes" },
};
/**
diff --git a/utils/string.h b/utils/string.h
index 03d8917..abb3431 100644
--- a/utils/string.h
+++ b/utils/string.h
@@ -64,7 +64,7 @@ char *cnv_space2nbsp(const char *s);
* @param bytesize The size in bytes.
* @return A human readable string representing the size.
*/
-char *human_friendly_bytesize(unsigned long bytesize);
+char *human_friendly_bytesize(unsigned long long int bytesize);
/**
diff --git a/utils/utils.c b/utils/utils.c
index aec0116..c5c1529 100644
--- a/utils/utils.c
+++ b/utils/utils.c
@@ -192,26 +192,43 @@ nserror snstrjoin(char **str, size_t *size, char sep,
size_t nelm, ...)
/**
* The size of buffers within human_friendly_bytesize.
*
- * We can have a fairly good estimate of how long the buffer needs to
- * be. The unsigned long can store a value representing a maximum
- * size of around 4 GB. Therefore the greatest space required is to
- * represent 1023MB. Currently that would be represented as "1023MB"
- * so 12 including a null terminator. Ideally we would be able to
- * know this value for sure, in the mean time the following should
- * suffice.
+ * We can have a fairly good estimate of the output buffers maximum length.
+ *
+ * The unsigned long long int can store a value representing a maximum
+ * size of 16 EiB (exibytes). Therefore the greatest space required is to
+ * represent 1023 PiB.
+ * Currently that would be represented as "1023.00PiBytes" in english
+ * giving a 15 byte length including a null terminator.
+ * Ideally we would be able to accurately know this length for other
+ * languages, in the mean time a largeish buffer size is selected
+ * and should suffice.
*/
-#define BYTESIZE_BUFFER_SIZE 20
+#define BYTESIZE_BUFFER_SIZE 32
/* exported interface documented in utils/string.h */
-char *human_friendly_bytesize(unsigned long bsize) {
+char *human_friendly_bytesize(unsigned long long int bsize) {
static char buffer1[BYTESIZE_BUFFER_SIZE];
static char buffer2[BYTESIZE_BUFFER_SIZE];
static char buffer3[BYTESIZE_BUFFER_SIZE];
static char *curbuffer = buffer3;
- enum {bytes, kilobytes, megabytes, gigabytes} unit = bytes;
- static char units[][7] = {"Bytes", "kBytes", "MBytes", "GBytes"};
-
- float bytesize = (float)bsize;
+ enum {
+ bytes,
+ kilobytes,
+ megabytes,
+ gibibytes,
+ tebibytes,
+ pebibytes,
+ exbibytes } unit = bytes;
+ static const char *const units[] = {
+ "Bytes",
+ "KiBytes",
+ "MiBytes",
+ "GiBytes",
+ "TiBytes",
+ "PiBytes",
+ "EiBytes" };
+ double bytesize = (double)bsize;
+ const char *fmt;
if (curbuffer == buffer1)
curbuffer = buffer2;
@@ -232,10 +249,35 @@ char *human_friendly_bytesize(unsigned long bsize) {
if (bytesize > 1024) {
bytesize /= 1024;
- unit = gigabytes;
+ unit = gibibytes;
+ }
+
+ if (bytesize > 1024) {
+ bytesize /= 1024;
+ unit = tebibytes;
+ }
+
+ if (bytesize > 1024) {
+ bytesize /= 1024;
+ unit = pebibytes;
+ }
+
+ if (bytesize > 1024) {
+ bytesize /= 1024;
+ unit = exbibytes;
+ }
+
+ if (unit == bytes) {
+ fmt = "%.0f%s";
+ } else {
+ fmt = "%3.2f%s";
}
- snprintf(curbuffer, BYTESIZE_BUFFER_SIZE, "%3.2f%s", bytesize,
messages_get(units[unit]));
+ snprintf(curbuffer,
+ BYTESIZE_BUFFER_SIZE,
+ fmt,
+ bytesize,
+ messages_get(units[unit]));
return curbuffer;
}
-----------------------------------------------------------------------
Summary of changes:
desktop/download.c | 14 +++++----
desktop/download.h | 2 +-
frontends/gtk/download.c | 19 ++++++------
resources/FatMessages | 9 +++++-
test/utils.c | 33 +++++++++++++--------
utils/string.h | 2 +-
utils/utils.c | 72 ++++++++++++++++++++++++++++++++++++----------
7 files changed, 106 insertions(+), 45 deletions(-)
diff --git a/desktop/download.c b/desktop/download.c
index e17855a..4931371 100644
--- a/desktop/download.c
+++ b/desktop/download.c
@@ -42,7 +42,7 @@ struct download_context {
struct gui_window *parent; /**< Parent window */
lwc_string *mime_type; /**< MIME type of download */
- unsigned long total_length; /**< Length of data, in bytes */
+ unsigned long long int total_length; /**< Length of data, in bytes */
char *filename; /**< Suggested filename */
struct gui_download_window *window; /**< GUI download window */
@@ -94,7 +94,7 @@ static nserror
download_context_process_headers(download_context *ctx)
{
const char *http_header;
http_content_type *content_type;
- unsigned long length;
+ unsigned long long int length;
nserror error;
/* Retrieve and parse Content-Type */
@@ -108,10 +108,11 @@ static nserror
download_context_process_headers(download_context *ctx)
/* Retrieve and parse Content-Length */
http_header = llcache_handle_get_header(ctx->llcache, "Content-Length");
- if (http_header == NULL)
+ if (http_header == NULL) {
length = 0;
- else
- length = strtoul(http_header, NULL, 10);
+ } else {
+ length = strtoull(http_header, NULL, 10);
+ }
/* Retrieve and parse Content-Disposition */
http_header = llcache_handle_get_header(ctx->llcache,
@@ -299,7 +300,8 @@ const char *download_context_get_mime_type(const
download_context *ctx)
}
/* See download.h for documentation */
-unsigned long download_context_get_total_length(const download_context *ctx)
+unsigned long long int
+download_context_get_total_length(const download_context *ctx)
{
return ctx->total_length;
}
diff --git a/desktop/download.h b/desktop/download.h
index dc2befd..b704c4c 100644
--- a/desktop/download.h
+++ b/desktop/download.h
@@ -91,7 +91,7 @@ const char *download_context_get_mime_type(const
download_context *ctx);
* \param ctx Context to retrieve byte length from
* \return Total length, in bytes, or 0 if unknown
*/
-unsigned long download_context_get_total_length(const download_context *ctx);
+unsigned long long int download_context_get_total_length(const
download_context *ctx);
/**
* Retrieve the filename for a download
diff --git a/frontends/gtk/download.c b/frontends/gtk/download.c
index 6fb9081..173d2e4 100644
--- a/frontends/gtk/download.c
+++ b/frontends/gtk/download.c
@@ -89,8 +89,8 @@ struct gui_download_window {
GString *name;
GString *time_left;
- gint size_total;
- gint size_downloaded;
+ unsigned long long int size_total;
+ unsigned long long int size_downloaded;
gint progress;
gfloat time_remaining;
gfloat start_time;
@@ -418,7 +418,9 @@ static gboolean nsgtk_download_update(gboolean force_update)
GList *list;
gchar *text;
gboolean update, pulse_mode = FALSE;
- gint downloaded = 0, total = 0, dls = 0;
+ unsigned long long int downloaded = 0;
+ unsigned long long int total = 0;
+ gint dls = 0;
gfloat percent, elapsed = g_timer_elapsed(dl_ctx.timer, NULL);
dl_ctx.num_active = 0;
@@ -439,9 +441,8 @@ static gboolean nsgtk_download_update(gboolean force_update)
dl->time_remaining = (dl->size_total -
dl->size_downloaded)/
dl->speed;
- dl->progress = (gfloat)
- dl->size_downloaded /
- dl->size_total * 100;
+ dl->progress = (double)dl->size_downloaded /
+ (double)dl->size_total * 100;
} else {
dl->progress++;
}
@@ -473,9 +474,9 @@ static gboolean nsgtk_download_update(gboolean force_update)
gtk_progress_bar_pulse(dl_ctx.progress);
gtk_progress_bar_set_text(dl_ctx.progress, text);
} else {
- percent = total != 0 ? (gfloat)downloaded / total : 0;
+ percent = total != 0 ? (double)downloaded / (double)total : 0;
text = g_strdup_printf(messages_get("gtkProgressBar"),
- floor(percent*100), dls);
+ floor(percent * 100), dls);
gtk_progress_bar_set_fraction(dl_ctx.progress,
percent);
gtk_progress_bar_set_text(dl_ctx.progress, text);
@@ -763,7 +764,7 @@ static struct gui_download_window *
gui_download_window_create(download_context *ctx, struct gui_window *gui)
{
nsurl *url;
- unsigned long total_size;
+ unsigned long long int total_size;
gchar *domain;
gchar *destination;
gboolean unknown_size;
diff --git a/resources/FatMessages b/resources/FatMessages
index 9125866..12d81bd 100644
--- a/resources/FatMessages
+++ b/resources/FatMessages
@@ -119,6 +119,7 @@ nl.all.FrameDrag:frames aan het aanpassen
# Units
# =====
#
+# Decimal prefix
en.all.Bytes: B
de.all.Bytes: B
fr.all.Bytes: octets
@@ -139,7 +140,13 @@ de.all.GBytes: GB
fr.all.GBytes: Go
it.all.GBytes: GB
nl.all.GBytes: GB
-
+# Binary prefix
+en.all.KiBytes: KiB
+en.all.MiBytes: MiB
+en.all.GiBytes: GiB
+en.all.TiBytes: TiB
+en.all.PiBytes: PiB
+en.all.EiBytes: EiB
# Content Forms
# =============
diff --git a/test/utils.c b/test/utils.c
index 3d5319a..9fe6747 100644
--- a/test/utils.c
+++ b/test/utils.c
@@ -37,22 +37,31 @@
#define SLEN(x) (sizeof((x)) - 1)
struct test_pairs {
- const unsigned long test;
+ const unsigned long long int test;
const char* res;
};
static const struct test_pairs human_friendly_bytesize_test_vec[] = {
- { 0, "0.00Bytes" },
- { 1024, "1024.00Bytes" },
- { 1025, "1.00kBytes" },
- { 1048576, "1024.00kBytes" },
- { 1048577, "1.00MBytes" },
- { 1073741824, "1024.00MBytes" },
- { 1073741888, "1024.00MBytes" }, /* spot the rounding error */
- { 1073741889, "1.00GBytes" },
- { 2147483648, "2.00GBytes" },
- { 3221225472, "3.00GBytes" },
- { 4294967295, "4.00GBytes" },
+ { 0ULL, "0Bytes" },
+ { 0x2AULL, "42Bytes" },
+ { 0x400ULL, "1024Bytes" },
+ { 0x401ULL, "1.00KiBytes" },
+ { 0xA9AEULL, "42.42KiBytes" },
+ { 0x100000ULL, "1024.00KiBytes" },
+ { 0x100001ULL, "1.00MiBytes" },
+ { 0x2A6B852ULL, "42.42MiBytes" },
+ { 0x40000000ULL, "1024.00MiBytes" },
+ { 0x40000001ULL, "1.00GiBytes" },
+ { 0x80000000ULL, "2.00GiBytes" },
+ { 0xC0000000ULL, "3.00GiBytes" },
+ { 0x100000000ULL, "4.00GiBytes" },
+ { 0x10000000000ULL, "1024.00GiBytes" },
+ { 0x10000000001ULL, "1.00TiBytes" },
+ { 0x4000000000000ULL, "1024.00TiBytes" },
+ { 0x4000000000001ULL, "1.00PiBytes" },
+ { 0x1000000000000000ULL, "1024.00PiBytes" },
+ { 0x1000000000000100ULL, "1.00EiBytes" }, /* precision loss */
+ { 0xFFFFFFFFFFFFFFFFULL, "16.00EiBytes" },
};
/**
diff --git a/utils/string.h b/utils/string.h
index 03d8917..abb3431 100644
--- a/utils/string.h
+++ b/utils/string.h
@@ -64,7 +64,7 @@ char *cnv_space2nbsp(const char *s);
* @param bytesize The size in bytes.
* @return A human readable string representing the size.
*/
-char *human_friendly_bytesize(unsigned long bytesize);
+char *human_friendly_bytesize(unsigned long long int bytesize);
/**
diff --git a/utils/utils.c b/utils/utils.c
index aec0116..c5c1529 100644
--- a/utils/utils.c
+++ b/utils/utils.c
@@ -192,26 +192,43 @@ nserror snstrjoin(char **str, size_t *size, char sep,
size_t nelm, ...)
/**
* The size of buffers within human_friendly_bytesize.
*
- * We can have a fairly good estimate of how long the buffer needs to
- * be. The unsigned long can store a value representing a maximum
- * size of around 4 GB. Therefore the greatest space required is to
- * represent 1023MB. Currently that would be represented as "1023MB"
- * so 12 including a null terminator. Ideally we would be able to
- * know this value for sure, in the mean time the following should
- * suffice.
+ * We can have a fairly good estimate of the output buffers maximum length.
+ *
+ * The unsigned long long int can store a value representing a maximum
+ * size of 16 EiB (exibytes). Therefore the greatest space required is to
+ * represent 1023 PiB.
+ * Currently that would be represented as "1023.00PiBytes" in english
+ * giving a 15 byte length including a null terminator.
+ * Ideally we would be able to accurately know this length for other
+ * languages, in the mean time a largeish buffer size is selected
+ * and should suffice.
*/
-#define BYTESIZE_BUFFER_SIZE 20
+#define BYTESIZE_BUFFER_SIZE 32
/* exported interface documented in utils/string.h */
-char *human_friendly_bytesize(unsigned long bsize) {
+char *human_friendly_bytesize(unsigned long long int bsize) {
static char buffer1[BYTESIZE_BUFFER_SIZE];
static char buffer2[BYTESIZE_BUFFER_SIZE];
static char buffer3[BYTESIZE_BUFFER_SIZE];
static char *curbuffer = buffer3;
- enum {bytes, kilobytes, megabytes, gigabytes} unit = bytes;
- static char units[][7] = {"Bytes", "kBytes", "MBytes", "GBytes"};
-
- float bytesize = (float)bsize;
+ enum {
+ bytes,
+ kilobytes,
+ megabytes,
+ gibibytes,
+ tebibytes,
+ pebibytes,
+ exbibytes } unit = bytes;
+ static const char *const units[] = {
+ "Bytes",
+ "KiBytes",
+ "MiBytes",
+ "GiBytes",
+ "TiBytes",
+ "PiBytes",
+ "EiBytes" };
+ double bytesize = (double)bsize;
+ const char *fmt;
if (curbuffer == buffer1)
curbuffer = buffer2;
@@ -232,10 +249,35 @@ char *human_friendly_bytesize(unsigned long bsize) {
if (bytesize > 1024) {
bytesize /= 1024;
- unit = gigabytes;
+ unit = gibibytes;
+ }
+
+ if (bytesize > 1024) {
+ bytesize /= 1024;
+ unit = tebibytes;
+ }
+
+ if (bytesize > 1024) {
+ bytesize /= 1024;
+ unit = pebibytes;
+ }
+
+ if (bytesize > 1024) {
+ bytesize /= 1024;
+ unit = exbibytes;
+ }
+
+ if (unit == bytes) {
+ fmt = "%.0f%s";
+ } else {
+ fmt = "%3.2f%s";
}
- snprintf(curbuffer, BYTESIZE_BUFFER_SIZE, "%3.2f%s", bytesize,
messages_get(units[unit]));
+ snprintf(curbuffer,
+ BYTESIZE_BUFFER_SIZE,
+ fmt,
+ bytesize,
+ messages_get(units[unit]));
return curbuffer;
}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org