Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Return-path: <alsa-devel-bounces@alsa-project.org>
- Envelope-to: aeikum@codeweavers.com
- Delivery-date: Wed, 18 Jan 2012 08:58:44 -0600
- Received: from alsa0.perex.cz ([77.48.224.243])
- by mail.codeweavers.com with esmtp (Exim 4.72)
- (envelope-from <alsa-devel-bounces@alsa-project.org>)
- id 1RnWyD-0003fp-Uu
- for aeikum@codeweavers.com; Wed, 18 Jan 2012 08:58:44 -0600
- Received: by alsa0.perex.cz (Postfix, from userid 1000)
- id 714D81038C5; Wed, 18 Jan 2012 15:58:16 +0100 (CET)
- X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail1.perex.cz
- X-Spam-Level:
- X-Spam-Status: No, score=-4.0 required=5.0 tests=RCVD_IN_DNSWL_MED
- autolearn=disabled version=3.2.4
- Received: from alsa0.perex.cz (localhost [127.0.0.1])
- by alsa0.perex.cz (Postfix) with ESMTP id 24070103810;
- Wed, 18 Jan 2012 15:58:15 +0100 (CET)
- X-Original-To: alsa-devel@alsa-project.org
- Delivered-To: alsa-devel@alsa-project.org
- Received: by alsa0.perex.cz (Postfix, from userid 1000)
- id DAFD724652; Wed, 18 Jan 2012 15:58:12 +0100 (CET)
- Received: from mail.codeweavers.com (mail.codeweavers.com [216.251.189.131])
- by alsa0.perex.cz (Postfix) with ESMTP id 1CECF245FF
- for <alsa-devel@alsa-project.org>; Wed, 18 Jan 2012 15:58:12 +0100 (CET)
- Received: from foghorn.codeweavers.com ([216.251.189.130])
- by mail.codeweavers.com with esmtpsa
- (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72)
- (envelope-from <aeikum@codeweavers.com>) id 1RnWxm-0003fE-5O
- for alsa-devel@alsa-project.org; Wed, 18 Jan 2012 08:58:10 -0600
- Date: Wed, 18 Jan 2012 08:58:08 -0600
- From: Andrew Eikum <aeikum@codeweavers.com>
- To: alsa-devel <alsa-devel@alsa-project.org>
- Message-ID: <20120118145808.GR24575@foghorn.codeweavers.com>
- MIME-Version: 1.0
- Content-Type: multipart/mixed; boundary="yzvKDKJiLNESc64M"
- Content-Disposition: inline
- User-Agent: Mutt/1.5.20 (2009-06-14)
- Subject: [alsa-devel] [alsa-lib PATCH] Document strdup allocation in
- snd_card_get_name family
- X-BeenThere: alsa-devel@alsa-project.org
- X-Mailman-Version: 2.1.9
- Precedence: list
- Reply-To: alsa-devel <alsa-devel@alsa-project.org>,
- Andrew Eikum <aeikum@codeweavers.com>
- List-Id: "Alsa-devel mailing list for ALSA developers -
- http://www.alsa-project.org" <alsa-devel.alsa-project.org>
- List-Unsubscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>,
- <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe>
- List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel>
- List-Post: <mailto:alsa-devel@alsa-project.org>
- List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help>
- List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>,
- <mailto:alsa-devel-request@alsa-project.org?subject=subscribe>
- Sender: alsa-devel-bounces@alsa-project.org
- Errors-To: alsa-devel-bounces@alsa-project.org
- Content-Transfer-Encoding: 7bit
- X-Spam-Score: -1.9
- --yzvKDKJiLNESc64M
- Content-Type: text/plain; charset=utf-8; format=fixed
- Content-Disposition: inline
- Content-Transfer-Encoding: quoted-printable
- This was spotted by J=C3=B6rg H=C3=B6hle on the wine-patches ML.
- Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
- ---
- I noticed my documentation patches haven't been making their way into
- alsa-lib.git. Am I submitting these wrong? I added the SOB line above,
- although I notice not all patches that get into ALSA have it. On the
- other hand, alsa-lib.git hasn't been changed since November so perhaps
- my patches are sitting in someone's tree waiting to be pushed :)
- Please let me know if I can help get these in.
- src/control/cards.c | 6 ++++++
- 1 files changed, 6 insertions(+), 0 deletions(-)
- --yzvKDKJiLNESc64M
- Content-Type: text/x-patch; charset=us-ascii;
- name="0001-Document-strdup-allocation-in-snd_card_get_name-fami.patch"
- Content-Disposition: inline; filename="0001-Document-strdup-allocation-in-snd_card_get_name-fami.patch"
- Content-Transfer-Encoding: quoted-printable
- diff --git a/src/control/cards.c b/src/control/cards.c
- index 0bb8f86..b528e33 100644
- --- a/src/control/cards.c
- +++ b/src/control/cards.c
- @@ -166,6 +166,9 @@ int snd_card_get_index(const char *string)
- * \param card Card number
- * \param name Result - card name corresponding to card number
- * \result zero if success, otherwise a negative error code
- + *
- + * The value returned in name is allocated with strdup and should be
- + * freed when no longer used.
- */
- int snd_card_get_name(int card, char **name)
- {
- @@ -193,6 +196,9 @@ int snd_card_get_name(int card, char **name)
- * \param card Card number
- * \param name Result - card long name corresponding to card number
- * \result zero if success, otherwise a negative error code
- + *
- + * The value returned in name is allocated with strdup and should be
- + * freed when no longer used.
- */
- int snd_card_get_longname(int card, char **name)
- {
- --yzvKDKJiLNESc64M
- Content-Type: text/plain; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
- Content-Disposition: inline
- _______________________________________________
- Alsa-devel mailing list
- Alsa-devel@alsa-project.org
- http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
- --yzvKDKJiLNESc64M--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement