[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1648 - Extractor/src/plugins/ole2
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1648 - Extractor/src/plugins/ole2 |
Date: |
Sat, 13 Aug 2005 18:17:43 -0700 (PDT) |
Author: grothoff
Date: 2005-08-13 18:17:42 -0700 (Sat, 13 Aug 2005)
New Revision: 1648
Modified:
Extractor/src/plugins/ole2/gsf-infile-msole.c
Extractor/src/plugins/ole2/ole2extractor.c
Log:
mrg
Modified: Extractor/src/plugins/ole2/gsf-infile-msole.c
===================================================================
--- Extractor/src/plugins/ole2/gsf-infile-msole.c 2005-08-14 01:17:17 UTC
(rev 1647)
+++ Extractor/src/plugins/ole2/gsf-infile-msole.c 2005-08-14 01:17:42 UTC
(rev 1648)
@@ -1,5 +1,8 @@
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t;
c-basic-offset: 8 -*- */
/*
+ * This file is part of libextractor.
+ * (C) 2004,2005 Vidyut Samanta and Christian Grothoff
+ *
* gsf-infile-msole.c :
*
* Copyright (C) 2002-2004 Jody Goldberg (address@hidden)
Modified: Extractor/src/plugins/ole2/ole2extractor.c
===================================================================
--- Extractor/src/plugins/ole2/ole2extractor.c 2005-08-14 01:17:17 UTC (rev
1647)
+++ Extractor/src/plugins/ole2/ole2extractor.c 2005-08-14 01:17:42 UTC (rev
1648)
@@ -1,6 +1,6 @@
/*
This file is part of libextractor.
- (C) 2004 Vidyut Samanta and Christian Grothoff
+ (C) 2004,2005 Vidyut Samanta and Christian Grothoff
libextractor is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -568,6 +568,7 @@
name = g_convert_with_iconv (data + 8,
len * section->char_size,
section->iconv_handle, &gslen, NULL, NULL);
+
len = (guint32)gslen;
data += 8 + len;
@@ -614,8 +615,8 @@
int codepage)
{
GIConv iconv_handle;
+
g_return_val_if_fail (to != NULL, (GIConv)(-1));
-
/* sometimes it is stored as signed short */
if (codepage == 65001 || codepage == -535) {
iconv_handle = g_iconv_open (to, "UTF-8");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1648 - Extractor/src/plugins/ole2,
grothoff <=