Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ninevoltz at uclibc.org <ninevoltz@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/tslib
Date: Wed, 12 Mar 2008 12:03:22 -0700 (PDT)	[thread overview]
Message-ID: <20080312190322.B761712C7DE@busybox.net> (raw)

Author: ninevoltz
Date: 2008-03-12 12:03:20 -0700 (Wed, 12 Mar 2008)
New Revision: 21318

Log:
patch to replace legacy bzero with memset in tslib

Added:
   trunk/buildroot/package/tslib/tslib-1.0-remove-bzero.patch


Changeset:
Added: trunk/buildroot/package/tslib/tslib-1.0-remove-bzero.patch
===================================================================
--- trunk/buildroot/package/tslib/tslib-1.0-remove-bzero.patch	                        (rev 0)
+++ trunk/buildroot/package/tslib/tslib-1.0-remove-bzero.patch	2008-03-12 19:03:20 UTC (rev 21318)
@@ -0,0 +1,11 @@
+--- a/src/ts_parse_vars.c	2006-08-24 17:02:55.000000000 -0400
++++ b/src/ts_parse_vars.c	2008-03-12 13:57:01.000000000 -0400
+@@ -33,7 +33,7 @@ int tslib_parse_vars(struct tslib_module
+ 		return 0;
+ 
+ 	//s = alloca(strlen(str));
+-	bzero(s_holder,1024);
++	memset(s_holder, 0, 1024);
+ 	strncpy(s_holder,str,strlen(str));
+ 	s = s_holder;
+ 	while ((p = strsep(&s, " \t")) != NULL && ret == 0) {

             reply	other threads:[~2008-03-12 19:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12 19:03 ninevoltz at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-18 14:16 [Buildroot] svn commit: trunk/buildroot/package/tslib jacmet at uclibc.org
2009-02-18 14:16 jacmet at uclibc.org
2008-12-04 16:47 egtvedt at uclibc.org
2008-12-04 16:43 egtvedt at uclibc.org
2008-07-05  4:30 ulf at uclibc.org
2008-06-03 10:17 jacmet at uclibc.org
2008-03-06 18:27 ninevoltz at uclibc.org
2008-03-06 18:50 ` Hans-Christian Egtvedt
2008-03-11 20:39   ` Will Wagner
2008-06-11 14:37     ` Will Wagner
2007-12-11 20:11 vanokuten at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080312190322.B761712C7DE@busybox.net \
    --to=ninevoltz@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox