Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/lm-sensors
Date: Mon, 23 Jun 2008 04:53:47 -0700 (PDT)	[thread overview]
Message-ID: <20080623115347.4802E3C651@busybox.net> (raw)

Author: jacmet
Date: 2008-06-23 04:53:47 -0700 (Mon, 23 Jun 2008)
New Revision: 22477

Log:
lm-sensors: remove unused legacy patch


Removed:
   trunk/buildroot/package/lm-sensors/lm-sensors.01.susv3-legacy.patch.not


Changeset:
Deleted: trunk/buildroot/package/lm-sensors/lm-sensors.01.susv3-legacy.patch.not
===================================================================
--- trunk/buildroot/package/lm-sensors/lm-sensors.01.susv3-legacy.patch.not	2008-06-23 11:53:41 UTC (rev 22476)
+++ trunk/buildroot/package/lm-sensors/lm-sensors.01.susv3-legacy.patch.not	2008-06-23 11:53:47 UTC (rev 22477)
@@ -1,57 +0,0 @@
-diff -rdup lm_sensors-2.10.4.oorig/lib/proc.c lm_sensors-2.10.4/lib/proc.c
---- lm_sensors-2.10.4.oorig/lib/proc.c	2007-07-17 06:53:06.000000000 +0200
-+++ lm_sensors-2.10.4/lib/proc.c	2007-09-20 13:30:39.000000000 +0200
-@@ -93,16 +93,16 @@ int sensors_read_proc_bus(void)
-   while (fgets(line,255,f)) {
-     if (strlen(line) > 0)
-       line[strlen(line)-1] = '\0';
--    if (! (border = rindex(line,'\t')))
-+    if (! (border = strrchr(line,'\t')))
-       goto ERROR;
-     /* Skip algorithm name */
-     *border='\0';
--    if (! (border = rindex(line,'\t')))
-+    if (! (border = strrchr(line,'\t')))
-       goto ERROR;
-     if (! (entry.adapter = strdup(border + 1)))
-       goto FAT_ERROR;
-     *border='\0';
--    if (! (border = rindex(line,'\t')))
-+    if (! (border = strrchr(line,'\t')))
-       goto ERROR;
-     *border='\0';
-     if (strncmp(line,"i2c-",4))
-@@ -155,8 +155,8 @@ int sensors_read_proc(sensors_chip_name 
- 		strcpy(n, name.busname);
- 		strcat(n, "/");
- 		strcpy(altn, n);
--		/* use rindex to append sysname to n */
--		getsysname(the_feature, rindex(n, '\0'), &mag, rindex(altn, '\0'));
-+		/* use strrchr to append sysname to n */
-+		getsysname(the_feature, strrchr(n, '\0'), &mag, strrchr(altn, '\0'));
- 		if ((f = fopen(n, "r")) != NULL
- 		 || (f = fopen(altn, "r")) != NULL) {
- 			int res = fscanf(f, "%lf", value);
-@@ -198,8 +198,8 @@ int sensors_write_proc(sensors_chip_name
- 		strcpy(n, name.busname);
- 		strcat(n, "/");
- 		strcpy(altn, n);
--		/* use rindex to append sysname to n */
--		getsysname(the_feature, rindex(n, '\0'), &mag, rindex(altn, '\0'));
-+		/* use strrchr to append sysname to n */
-+		getsysname(the_feature, strrchr(n, '\0'), &mag, strrchr(altn, '\0'));
- 		if ((f = fopen(n, "w")) != NULL
- 		 || (f = fopen(altn, "w")) != NULL) {
- 			for (; mag > 0; mag --)
-diff -rdup lm_sensors-2.10.4.oorig/prog/dump/i2cbusses.c lm_sensors-2.10.4/prog/dump/i2cbusses.c
---- lm_sensors-2.10.4.oorig/prog/dump/i2cbusses.c	2007-07-17 06:53:10.000000000 +0200
-+++ lm_sensors-2.10.4/prog/dump/i2cbusses.c	2007-09-20 13:29:19.000000000 +0200
-@@ -185,7 +185,7 @@ found:
- 				fprintf(stderr, "%s: read error\n", n);
- 				continue;
- 			}
--			if((border = index(x, '\n')) != NULL)
-+			if((border = strchr(x, '\n')) != NULL)
- 				*border = 0;
- 			if(count++ == 0 && !procfmt)
- 				fprintf(stderr,"  Installed I2C busses:\n");

             reply	other threads:[~2008-06-23 11:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23 11:53 jacmet at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23 11:53 [Buildroot] svn commit: trunk/buildroot/package/lm-sensors jacmet at uclibc.org
2008-06-23 11:53 jacmet at uclibc.org
2008-05-11  6:43 ulf at uclibc.org
2008-01-25  9:46 thomasez at uclibc.org
2007-10-30 21:37 ulf at uclibc.org
2007-09-20 11:38 aldot at uclibc.org
2007-09-14 18:48 aldot at uclibc.org
2007-09-14 11:25 aldot 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=20080623115347.4802E3C651@busybox.net \
    --to=jacmet@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