Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2003 03:05:32 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 25159 for review
Message-ID:  <200302141105.h1EB5WXG010147@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=25159

Change 25159 by jmallett@jmallett_dalek on 2003/02/14 03:04:42

	Don't roll my own raisestr.

Affected files ...

.. //depot/projects/mips/usr.sbin/config/mkoptions.c#3 edit

Differences ...

==== //depot/projects/mips/usr.sbin/config/mkoptions.c#3 (text+ko) ====

@@ -86,9 +86,8 @@
 
 		op = (struct opt *)malloc(sizeof(*op));
 		memset(op, 0, sizeof(*op));
-		op->op_name = ns(platformname);
-		for (p = op->op_name; *p != '\0'; p++)
-			*p = toupper((unsigned char)*p);
+		p = ns(platformname);
+		op->op_name = raisestr(p);
 		op->op_next = opt;
 		opt = op;
 	}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302141105.h1EB5WXG010147>