head	1.2;
access;
symbols
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2008.04.01.20.57.36;	author okazaki;	state dead;
branches;
next	1.1;

1.1
date	2007.10.13.12.26.37;	author beech;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to version 2.8.0.

PR:		122259
Submitted by:	Tijl Coosemans (maintainer)
@
text
@--- src/pic/device.c	2007/09/18 22:04:53	4919
+++ src/pic/device.c	2007/09/27 22:48:03	4920
@@@@ -278,10 +278,14 @@@@
 	/* read line by line */
 	pic_buf[sizeof(pic_buf)-1] = '\0';
 	while (fgets(pic_buf, sizeof(pic_buf)-1, pic_file) != NULL && !done) {
+		unsigned llen;
+		llen = strlen (pic_buf);
 		
 		/* remove trailing spaces */
-		while (isspace(pic_buf[strlen(pic_buf)-1]))
-			pic_buf[strlen(pic_buf)-1] = '\0';
+		while (llen && isspace(pic_buf[llen-1])) {
+			pic_buf[llen-1] = '\0';
+			llen--;
+		}
 		
 		/* remove leading spaces */
 		for (pic_buf_pos = pic_buf; isspace(*pic_buf_pos); pic_buf_pos++)
--- src/pic/pcoderegs.c	2007/09/18 22:04:53	4919
+++ src/pic/pcoderegs.c	2007/09/27 22:48:03	4920
@@@@ -848,7 +848,7 @@@@
 							
 						}
 					}
-					rset1 = rset1->next;
+					rset1 = rset2;
 				}
 			}
 		}
@


1.1
log
@- Update to 2.7.0
- Makefile and plist cleanup.
- Move patches to Makefile and remove files.
- Pet portlint.

PR:		ports/116953
Submitted by:	Tijl Coosemans <tijl@@ulyssis.org> (maintainer)
Approved by:	sat (mentor)
@
text
@@

