Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 19th, 2012  |  syntax: None  |  size: 5.09 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Return-path: <alsa-devel-bounces@alsa-project.org>
  2. Envelope-to: aeikum@codeweavers.com
  3. Delivery-date: Wed, 18 Jan 2012 08:58:44 -0600
  4. Received: from alsa0.perex.cz ([77.48.224.243])
  5.         by mail.codeweavers.com with esmtp (Exim 4.72)
  6.         (envelope-from <alsa-devel-bounces@alsa-project.org>)
  7.         id 1RnWyD-0003fp-Uu
  8.         for aeikum@codeweavers.com; Wed, 18 Jan 2012 08:58:44 -0600
  9. Received: by alsa0.perex.cz (Postfix, from userid 1000)
  10.         id 714D81038C5; Wed, 18 Jan 2012 15:58:16 +0100 (CET)
  11. X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail1.perex.cz
  12. X-Spam-Level:
  13. X-Spam-Status: No, score=-4.0 required=5.0 tests=RCVD_IN_DNSWL_MED
  14.         autolearn=disabled version=3.2.4
  15. Received: from alsa0.perex.cz (localhost [127.0.0.1])
  16.         by alsa0.perex.cz (Postfix) with ESMTP id 24070103810;
  17.         Wed, 18 Jan 2012 15:58:15 +0100 (CET)
  18. X-Original-To: alsa-devel@alsa-project.org
  19. Delivered-To: alsa-devel@alsa-project.org
  20. Received: by alsa0.perex.cz (Postfix, from userid 1000)
  21.         id DAFD724652; Wed, 18 Jan 2012 15:58:12 +0100 (CET)
  22. Received: from mail.codeweavers.com (mail.codeweavers.com [216.251.189.131])
  23.         by alsa0.perex.cz (Postfix) with ESMTP id 1CECF245FF
  24.         for <alsa-devel@alsa-project.org>; Wed, 18 Jan 2012 15:58:12 +0100 (CET)
  25. Received: from foghorn.codeweavers.com ([216.251.189.130])
  26.         by mail.codeweavers.com with esmtpsa
  27.         (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72)
  28.         (envelope-from <aeikum@codeweavers.com>) id 1RnWxm-0003fE-5O
  29.         for alsa-devel@alsa-project.org; Wed, 18 Jan 2012 08:58:10 -0600
  30. Date: Wed, 18 Jan 2012 08:58:08 -0600
  31. From: Andrew Eikum <aeikum@codeweavers.com>
  32. To: alsa-devel <alsa-devel@alsa-project.org>
  33. Message-ID: <20120118145808.GR24575@foghorn.codeweavers.com>
  34. MIME-Version: 1.0
  35. Content-Type: multipart/mixed; boundary="yzvKDKJiLNESc64M"
  36. Content-Disposition: inline
  37. User-Agent: Mutt/1.5.20 (2009-06-14)
  38. Subject: [alsa-devel] [alsa-lib PATCH] Document strdup allocation in
  39.  snd_card_get_name family
  40. X-BeenThere: alsa-devel@alsa-project.org
  41. X-Mailman-Version: 2.1.9
  42. Precedence: list
  43. Reply-To: alsa-devel <alsa-devel@alsa-project.org>,
  44.         Andrew Eikum <aeikum@codeweavers.com>
  45. List-Id: "Alsa-devel mailing list for ALSA developers -
  46.         http://www.alsa-project.org" <alsa-devel.alsa-project.org>
  47. List-Unsubscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>,
  48.         <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe>
  49. List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel>
  50. List-Post: <mailto:alsa-devel@alsa-project.org>
  51. List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help>
  52. List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>,
  53.         <mailto:alsa-devel-request@alsa-project.org?subject=subscribe>
  54. Sender: alsa-devel-bounces@alsa-project.org
  55. Errors-To: alsa-devel-bounces@alsa-project.org
  56. Content-Transfer-Encoding: 7bit
  57. X-Spam-Score: -1.9
  58.  
  59.  
  60. --yzvKDKJiLNESc64M
  61. Content-Type: text/plain; charset=utf-8; format=fixed
  62. Content-Disposition: inline
  63. Content-Transfer-Encoding: quoted-printable
  64.  
  65. This was spotted by J=C3=B6rg H=C3=B6hle on the wine-patches ML.
  66.  
  67. Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
  68. ---
  69.  
  70. I noticed my documentation patches haven't been making their way into
  71. alsa-lib.git. Am I submitting these wrong? I added the SOB line above,
  72. although I notice not all patches that get into ALSA have it. On the
  73. other hand, alsa-lib.git hasn't been changed since November so perhaps
  74. my patches are sitting in someone's tree waiting to be pushed :)
  75.  
  76. Please let me know if I can help get these in.
  77.  
  78.  src/control/cards.c |    6 ++++++
  79.  1 files changed, 6 insertions(+), 0 deletions(-)
  80.  
  81.  
  82. --yzvKDKJiLNESc64M
  83. Content-Type: text/x-patch; charset=us-ascii;
  84.         name="0001-Document-strdup-allocation-in-snd_card_get_name-fami.patch"
  85. Content-Disposition: inline; filename="0001-Document-strdup-allocation-in-snd_card_get_name-fami.patch"
  86. Content-Transfer-Encoding: quoted-printable
  87.  
  88. diff --git a/src/control/cards.c b/src/control/cards.c
  89. index 0bb8f86..b528e33 100644
  90. --- a/src/control/cards.c
  91. +++ b/src/control/cards.c
  92. @@ -166,6 +166,9 @@ int snd_card_get_index(const char *string)
  93.   * \param card Card number
  94.   * \param name Result - card name corresponding to card number
  95.   * \result zero if success, otherwise a negative error code
  96. + *
  97. + * The value returned in name is allocated with strdup and should be
  98. + * freed when no longer used.
  99.   */
  100.  int snd_card_get_name(int card, char **name)
  101.  {
  102. @@ -193,6 +196,9 @@ int snd_card_get_name(int card, char **name)
  103.   * \param card Card number
  104.   * \param name Result - card long name corresponding to card number
  105.   * \result zero if success, otherwise a negative error code
  106. + *
  107. + * The value returned in name is allocated with strdup and should be
  108. + * freed when no longer used.
  109.   */
  110.  int snd_card_get_longname(int card, char **name)
  111.  {
  112.  
  113. --yzvKDKJiLNESc64M
  114. Content-Type: text/plain; charset="us-ascii"
  115. MIME-Version: 1.0
  116. Content-Transfer-Encoding: 7bit
  117. Content-Disposition: inline
  118.  
  119. _______________________________________________
  120. Alsa-devel mailing list
  121. Alsa-devel@alsa-project.org
  122. http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
  123.  
  124. --yzvKDKJiLNESc64M--