From patchwork Thu Feb 11 19:17:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "g.bruno" X-Patchwork-Id: 32981 Received: from localhost ([127.0.0.1] helo=www.linuxtv.org) by www.linuxtv.org with esmtp (Exim 4.84) (envelope-from ) id 1aTwjp-0004BM-Vd; Thu, 11 Feb 2016 19:17:13 +0000 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.84) (envelope-from ) id 1aTwjm-0004BA-9F for vdr@linuxtv.org; Thu, 11 Feb 2016 19:17:10 +0000 X-tubIT-Incoming-IP: 194.25.134.19 Received: from mailout06.t-online.de ([194.25.134.19]) by mail.tu-berlin.de (exim-4.76/mailfrontend-7) with esmtps [UNKNOWN:AES256-GCM-SHA384:256] for id 1aTwjk-00067B-2z; Thu, 11 Feb 2016 20:17:10 +0100 Received: from fwd07.aul.t-online.de (fwd07.aul.t-online.de [172.20.27.150]) by mailout06.t-online.de (Postfix) with SMTP id 827C849DCFB for ; Thu, 11 Feb 2016 20:17:07 +0100 (CET) Received: from [192.168.178.23] (Vmq6dQZFghvxZuacn91-luUJfQDF4I7SW-Sph6UaIM9-ETl5gfd8KqdKx4JugvZw93@[84.143.213.126]) by fwd07.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aTwjh-4UZMp60; Thu, 11 Feb 2016 20:17:05 +0100 To: vdr@linuxtv.org From: "g.bruno" Message-ID: <56BCDE31.4010206@t-online.de> Date: Thu, 11 Feb 2016 20:17:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 X-ID: Vmq6dQZFghvxZuacn91-luUJfQDF4I7SW-Sph6UaIM9-ETl5gfd8KqdKx4JugvZw93 X-TOI-MSGID: 0a520aa9-173b-4085-bf83-50bdf7b9ef51 X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2016.2.11.190617 X-PMX-Spam: Gauge=XIII, Probability=13%, Report=' RETURN_RECEIPT 0.5, TO_IN_SUBJECT 0.5, FROM_NAME_ONE_WORD 0.05, HTML_00_01 0.05, HTML_00_10 0.05, MSGID_ADDED_BY_MTA 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1800_1899 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, NO_URI_HTTPS 0, SINGLE_URI_IN_BODY 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_INTRO 0, __HAS_FROM 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MOZILLA_USER_AGENT 0, __NOTIFICATION_TO 0, __PHISH_SPEAR_GREETING 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __SUBJ_ALPHA_END 0, __TELEKOM_FROM_DOMAIN 0, __TO_IN_SUBJECT2 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NO_MAILTO 0, __URI_NS , __USER_AGENT 0' X-LSpam-Score: 3.0 (+++) X-LSpam-Report: No, score=3.0 required=5.0 tests=DEAR_SOMETHING=1.731, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RDNS_NONE=1.274 autolearn=no autolearn_force=no Subject: [vdr] vdr 2.1.2 segfaults in libc using vdr --genindex X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: VDR Mailing List Errors-To: vdr-bounces@linuxtv.org Sender: "vdr" Dear Sirs, the patch to the subject above, published on http://www.linuxtv.org/pipermail/vdr/2013-December/028137.html has several mistakes and is incomplete. Here the results from the "patch" command): root@amd8:/usr/local/src/vdr-2.1.2# patch -b --verbose ./vdr.c < vdr_c.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- vdr.c 2013/12/25 11:01:28 3.6 |+++ vdr.c 2013/12/25 11:24:26 -------------------------- patching file ./vdr.c Using Plan A... Hunk #1 FAILED at 223. Hunk #2 FAILED at 443. patch unexpectedly ends in middle of line Hunk #3 FAILED at 663. 3 out of 3 hunks FAILED -- saving rejects to file ./vdr.c.rej done -------------------------------- and the contents of the file vdr.c.rej: mailing list. Perhaps you can correct my errors. if not, plaese let me know. Perhaps it is not a standard patch? Greetings G. Bruno --- vdr.c 2013/12/25 11:01:28 3.6 +++ vdr.c 2013/12/25 11:24:26 @@ -223,6 +223,7 @@ VdrUser = VDR_USER; #endif + cVideoDirectory::SetName(VideoDirectory); cPluginManager PluginManager(DEFAULTPLUGINDIR); static struct option long_options[] = { @@ -443,6 +444,7 @@ case 'v': VideoDirectory = optarg; while (optarg && *optarg && optarg[strlen(optarg) - 1] == '/') optarg[strlen(optarg) - 1] = 0; + cVideoDirectory::SetName(VideoDirectory); break; case 'w': if (isnumber(optarg)) { int t = atoi(optarg); @@ -663,7 +665,6 @@ // Directories: - cVideoDirectory::SetName(VideoDirectory); if (!ConfigDirectory) ConfigDirectory = DEFAULTCONFDIR; -------------------------------- I hope that I made it right. It is the first time that I write to this