diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-April/013953.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-1be510f9529cb082f802408b472a77d074b394c0.tar archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2 archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz archives-1be510f9529cb082f802408b472a77d074b394c0.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/013953.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-April/013953.html | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/013953.html b/zarb-ml/mageia-dev/2012-April/013953.html new file mode 100644 index 000000000..68c83d75d --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/013953.html @@ -0,0 +1,104 @@ +<!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%2BbjO%2BAFDQ8Ut0-_DHFkCQ48%2B%2BJC2tKhakwUwWx%3DvMxrVOQ%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="013951.html"> + <LINK REL="Next" HREF="013941.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%2BbjO%2BAFDQ8Ut0-_DHFkCQ48%2B%2BJC2tKhakwUwWx%3DvMxrVOQ%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:17:44 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="013951.html">[Mageia-dev] [soft-commits] [3964] Fix partition numbering on GPT (mga#3091) +</A></li> + <LI>Next message: <A HREF="013941.html">[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-36.mga2 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#13953">[ date ]</a> + <a href="thread.html#13953">[ thread ]</a> + <a href="subject.html#13953">[ subject ]</a> + <a href="author.html#13953">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Fri, Apr 6, 2012 at 12:07, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>> wrote: + +><i> +</I>><i> +</I>><i> 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>>><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>><i> +</I>><i> +</I>><i> In this case, the hash contains the existing partitions, hence %parts, +</I>><i> while the array represents the full partition table, hence @pt +</I>><i> +</I>><i> Or using a consistent format for variables storing numbers, rather than +</I>>><i> having both nb_foo and bar_number ? +</I>>><i> +</I>><i> +</I>><i> nb_primary is the number of primary partitions (count if you prefer), +</I>><i> part_number is the position of a given partition in the table. +</I>><i> +</I>><i> +</I>>><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>><i> +</I>><i> +</I>><i> To easily get the (potential) one with current index when filling the +</I>><i> array. The other solution would be to first create the array with 128 +</I>><i> default structures, then replace some of them. +</I>><i> +</I> +Hmm or actually just put them in the array and then fill the holes +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-dev/attachments/20120406/bc00b39d/attachment.html> +</PRE> + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="013951.html">[Mageia-dev] [soft-commits] [3964] Fix partition numbering on GPT (mga#3091) +</A></li> + <LI>Next message: <A HREF="013941.html">[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-36.mga2 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#13953">[ date ]</a> + <a href="thread.html#13953">[ thread ]</a> + <a href="subject.html#13953">[ subject ]</a> + <a href="author.html#13953">[ 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> |