Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 11:28:32 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 105035 for review
Message-ID:  <200608251128.k7PBSWSZ045733@repoman.freebsd.org>

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

Change 105035 by piso@piso_newluxor on 2006/08/25 11:27:59

	Style: use for(;;) instaed of while(1) for endless loop. 

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#9 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#9 (text+ko) ====

@@ -1502,7 +1502,7 @@
 
 	LibAliasUnLoadAllModule();
 
-	while (1) {		
+	for (;;) {
 		fgets(buf, 256, fd);
 		if feof(fd) 
 		        break;



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