FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [linux-minidisc] "netmdcli send" does not break on errors

<-- thread -->
<-- date -->
  • From: Thomas Arp <manner.moe@gmx.de>
  • To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>, linux-minidisc@lists.fu-berlin.de
  • Date: Sun, 18 Sep 2011 17:10:39 +0200
  • Subject: Re: [linux-minidisc] "netmdcli send" does not break on errors

Am 18/09/2011 17:05, schrieb Thomas Arp:
As it seems that reading disc flags is generally missing in the current status of libnetmd i first made a small patch to implement this.

Thomas
O.K., patch doesn´t work, i forgot to declare a variable.

Thomas
>From 0929883ed1c8f02aa2b038a26fa5a4a1203526c3 Mon Sep 17 00:00:00 2001
From: Thomas Arp <manner.moe@gmx.de>
Date: Sun, 18 Sep 2011 17:07:41 +0200
Subject: [PATCH 2/2] forgot to declare variable "disc_flags"

---
 libnetmd/libnetmd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libnetmd/libnetmd.c b/libnetmd/libnetmd.c
index 6d57ad1..06dccc4 100644
--- a/libnetmd/libnetmd.c
+++ b/libnetmd/libnetmd.c
@@ -322,6 +322,7 @@ static void set_group_data(minidisc* md, const int group, const char* const name
 int netmd_initialize_disc_info(netmd_dev_handle* devh, minidisc* md)
 {
     int disc_size = 0;
+    int disc_flags = 0;
     char disc[256];
 
     md->group_count = get_group_count(devh);
-- 
1.7.6.msysgit.0

<-- thread -->
<-- date -->
  • References:
    • [linux-minidisc] "netmdcli send" does not break on errors
      • From: Thomas Arp <manner.moe@gmx.de>
    • Re: [linux-minidisc] "netmdcli send" does not break on errors
      • From: Thomas Arp <manner.moe@gmx.de>
    • Re: [linux-minidisc] "netmdcli send" does not break on errors
      • From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
    • Re: [linux-minidisc] "netmdcli send" does not break on errors
      • From: Thomas Arp <manner.moe@gmx.de>
  • linux-minidisc - September 2011 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal