diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/013951.html')
| -rw-r--r-- | zarb-ml/mageia-dev/2012-April/013951.html | 98 | 
1 files changed, 98 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/013951.html b/zarb-ml/mageia-dev/2012-April/013951.html new file mode 100644 index 000000000..051f4c8ea --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/013951.html @@ -0,0 +1,98 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> +   <TITLE> [Mageia-dev] [soft-commits] [3964] Fix partition numbering on	GPT (mga#3091) +   </TITLE> +   <LINK REL="Index" HREF="index.html" > +   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B3964%5D%20Fix%20partition%20numbering%20on%0A%09GPT%20%28mga%233091%29&In-Reply-To=%3CCA%2BCX%2Bbg51Xiqtx%2BtT_%2BXqy1LMuom_iiTRiZZZ4W7fq2MUm7hSQ%40mail.gmail.com%3E"> +   <META NAME="robots" CONTENT="index,nofollow"> +   <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> +   <LINK REL="Previous"  HREF="013945.html"> +   <LINK REL="Next"  HREF="013953.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> +   <H1>[Mageia-dev] [soft-commits] [3964] Fix partition numbering on	GPT (mga#3091)</H1> +    <B>Pascal Terjan</B>  +    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B3964%5D%20Fix%20partition%20numbering%20on%0A%09GPT%20%28mga%233091%29&In-Reply-To=%3CCA%2BCX%2Bbg51Xiqtx%2BtT_%2BXqy1LMuom_iiTRiZZZ4W7fq2MUm7hSQ%40mail.gmail.com%3E" +       TITLE="[Mageia-dev] [soft-commits] [3964] Fix partition numbering on	GPT (mga#3091)">pterjan at gmail.com +       </A><BR> +    <I>Fri Apr  6 13:07:22 CEST 2012</I> +    <P><UL> +        <LI>Previous message: <A HREF="013945.html">[Mageia-dev] [soft-commits] [3964] Fix partition numbering on GPT (mga#3091) +</A></li> +        <LI>Next message: <A HREF="013953.html">[Mageia-dev] [soft-commits] [3964] Fix partition numbering on	GPT (mga#3091) +</A></li> +         <LI> <B>Messages sorted by:</B>  +              <a href="date.html#13951">[ date ]</a> +              <a href="thread.html#13951">[ thread ]</a> +              <a href="subject.html#13951">[ subject ]</a> +              <a href="author.html#13951">[ author ]</a> +         </LI> +       </UL> +    <HR>   +<!--beginarticle--> +<PRE>On Fri, Apr 6, 2012 at 09:34, Guillaume Rousse <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>>wrote: + +><i> +</I>><i> What about using consistent variable names ? If you have a collection of +</I>><i> 'something' stored in a hash, why should it suddenly became of collection +</I>><i> of 'st' when transfering them into an array ? +</I> + +In this case, the hash contains the existing partitions, hence %parts, +while the array represents the full partition table, hence @pt + +Or using a consistent format for variables storing numbers, rather than +><i> having both nb_foo and bar_number ? +</I>><i> +</I> +nb_primary is the number of primary partitions (count if you prefer), +part_number is the position of a given partition in the table. + + +><i> +</I>><i> And I don't underestand the interest of using an hash for storing content +</I>><i> with numerical indexes only. Especially if you have to convert it to an +</I>><i> array at the end... +</I> + +To easily get the (potential) one with current index when filling the +array. The other solution would be to first create the array with 128 +default structures, then replace some of them. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-dev/attachments/20120406/919bd61d/attachment.html> +</PRE> + + + + + + + + + + + + + +<!--endarticle--> +    <HR> +    <P><UL> +        <!--threads--> +	<LI>Previous message: <A HREF="013945.html">[Mageia-dev] [soft-commits] [3964] Fix partition numbering on GPT (mga#3091) +</A></li> +	<LI>Next message: <A HREF="013953.html">[Mageia-dev] [soft-commits] [3964] Fix partition numbering on	GPT (mga#3091) +</A></li> +         <LI> <B>Messages sorted by:</B>  +              <a href="date.html#13951">[ date ]</a> +              <a href="thread.html#13951">[ thread ]</a> +              <a href="subject.html#13951">[ subject ]</a> +              <a href="author.html#13951">[ author ]</a> +         </LI> +       </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html>  | 
