Re: Ultrix compat_label: is loop useless?

Rhialto <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On Tue 09 Jan 2024 at 08:43:33 -0500, Mouse wrote:
> What function does the loop serve?  It looks to me as though it is
> always exited, via either goto or break, on its very first iteration,
> and thus could be replaced by just the assignment in the for loop's
> init part.

I looked at the loop and my impression is the same.

I guess it was meant at some point to find an un-aligned disklabel, or
something like that.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmWez7UACgkQmYnGRWHD
+9Os0ggAxcw7NtsyOtQkwzUihcqvMyXd2ijGUjvQ2N0/EdeqfKnQPE6ctq7T1EJB
SlsAsBJ8rqWSB2DvISzIWZSlFb5KUvOwrllRM+lhDfHsk5HMGycI96BRWrHya2Qv
lIRYa8WHQeDx7SqhvF79swLcC2BJpTapapVSlgtqFZrQKOdKKABqO+JHw2hU8Pyu
m7O7J3prb7RBmk4SYedzMF4uYduyUYoxBqBSMkC/mKUqzJKf1LNtgN6AnXsKN7To
jK5BWNvEMGXgzaZv/W3Gm31IgP/XZ3hlFIbUxMs5QnPyZzTVed/sWhsbfqqTaTFZ
8BwCLON9dbOVBccoufWYnjwT+U2CAg==
=GBnr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.