Guest User

Untitled

a guest
Jan 19th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. Return-path: <[email protected]>
  2. Envelope-to: [email protected]
  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 <[email protected]>)
  7. id 1RnWyD-0003fp-Uu
  8. for [email protected]; 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: [email protected]
  19. Delivered-To: [email protected]
  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 <[email protected]>; 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 <[email protected]>) id 1RnWxm-0003fE-5O
  29. for [email protected]; Wed, 18 Jan 2012 08:58:10 -0600
  30. Date: Wed, 18 Jan 2012 08:58:08 -0600
  31. From: Andrew Eikum <[email protected]>
  32. To: alsa-devel <[email protected]>
  33. Message-ID: <[email protected]>
  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: [email protected]
  41. X-Mailman-Version: 2.1.9
  42. Precedence: list
  43. Reply-To: alsa-devel <[email protected]>,
  44. Andrew Eikum <[email protected]>
  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:[email protected]?subject=unsubscribe>
  49. List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel>
  50. List-Post: <mailto:[email protected]>
  51. List-Help: <mailto:[email protected]?subject=help>
  52. List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>,
  53. <mailto:[email protected]?subject=subscribe>
  54. Errors-To: [email protected]
  55. Content-Transfer-Encoding: 7bit
  56. X-Spam-Score: -1.9
  57.  
  58.  
  59. --yzvKDKJiLNESc64M
  60. Content-Type: text/plain; charset=utf-8; format=fixed
  61. Content-Disposition: inline
  62. Content-Transfer-Encoding: quoted-printable
  63.  
  64. This was spotted by J=C3=B6rg H=C3=B6hle on the wine-patches ML.
  65.  
  66. Signed-off-by: Andrew Eikum <[email protected]>
  67. ---
  68.  
  69. I noticed my documentation patches haven't been making their way into
  70. alsa-lib.git. Am I submitting these wrong? I added the SOB line above,
  71. although I notice not all patches that get into ALSA have it. On the
  72. other hand, alsa-lib.git hasn't been changed since November so perhaps
  73. my patches are sitting in someone's tree waiting to be pushed :)
  74.  
  75. Please let me know if I can help get these in.
  76.  
  77. src/control/cards.c | 6 ++++++
  78. 1 files changed, 6 insertions(+), 0 deletions(-)
  79.  
  80.  
  81. --yzvKDKJiLNESc64M
  82. Content-Type: text/x-patch; charset=us-ascii;
  83. name="0001-Document-strdup-allocation-in-snd_card_get_name-fami.patch"
  84. Content-Disposition: inline; filename="0001-Document-strdup-allocation-in-snd_card_get_name-fami.patch"
  85. Content-Transfer-Encoding: quoted-printable
  86.  
  87. diff --git a/src/control/cards.c b/src/control/cards.c
  88. index 0bb8f86..b528e33 100644
  89. --- a/src/control/cards.c
  90. +++ b/src/control/cards.c
  91. @@ -166,6 +166,9 @@ int snd_card_get_index(const char *string)
  92. * \param card Card number
  93. * \param name Result - card name corresponding to card number
  94. * \result zero if success, otherwise a negative error code
  95. + *
  96. + * The value returned in name is allocated with strdup and should be
  97. + * freed when no longer used.
  98. */
  99. int snd_card_get_name(int card, char **name)
  100. {
  101. @@ -193,6 +196,9 @@ int snd_card_get_name(int card, char **name)
  102. * \param card Card number
  103. * \param name Result - card long name corresponding to card number
  104. * \result zero if success, otherwise a negative error code
  105. + *
  106. + * The value returned in name is allocated with strdup and should be
  107. + * freed when no longer used.
  108. */
  109. int snd_card_get_longname(int card, char **name)
  110. {
  111.  
  112. --yzvKDKJiLNESc64M
  113. Content-Type: text/plain; charset="us-ascii"
  114. MIME-Version: 1.0
  115. Content-Transfer-Encoding: 7bit
  116. Content-Disposition: inline
  117.  
  118. _______________________________________________
  119. Alsa-devel mailing list
  120. http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
  121.  
  122. --yzvKDKJiLNESc64M--
Advertisement
Add Comment
Please, Sign In to add comment