> a. libparted/filesys.c, ped_file_system_type_unregister: Handle
> instances where fs_types == NULL and the given fs_type is not in the
> list of registered file-system types. Some code clean-up.
>
> b. libparted/disk.c, ped_register_disk_type, ped_unregister_disk_type:
> Some code clean-up.

At least two lines spill 80 chars, please correct that.

The attached 'diff -urNp' against the current SVN trunk should fix it.

Good job! :)

Thank you. :-)

I suppose it should wait until post-1.8-final.

Yes. I think so too.

Happy hacking,
Debarshi
diff -urNp trunk/libparted/disk.c trunk-modified/libparted/disk.c
--- trunk/libparted/disk.c	2006-11-11 17:19:54.000000000 +0000
+++ trunk-modified/libparted/disk.c	2006-11-11 17:28:53.000000000 +0000
@@ -84,7 +84,8 @@ void ped_unregister_disk_type (PedDiskTy
 	PED_ASSERT (disk_types != NULL, return);
 	PED_ASSERT (disk_type != NULL, return);
 
-	for (walk = disk_types; walk && walk != disk_type; last = walk, walk = walk->next);
+	for (walk = disk_types; walk && walk != disk_type;
+                last = walk, walk = walk->next);
 
 	PED_ASSERT (walk != NULL, return);
 	if (last)
diff -urNp trunk/libparted/filesys.c trunk-modified/libparted/filesys.c
--- trunk/libparted/filesys.c	2006-11-11 17:19:45.000000000 +0000
+++ trunk-modified/libparted/filesys.c	2006-11-11 17:28:58.000000000 +0000
@@ -65,7 +65,8 @@ ped_file_system_type_unregister (PedFile
 	PED_ASSERT (fs_types != NULL, return);
 	PED_ASSERT (fs_type != NULL, return);
 
-	for (walk = fs_types; walk && walk != fs_type; last = walk, walk = walk->next);
+	for (walk = fs_types; walk && walk != fs_type;
+                last = walk, walk = walk->next);
 
 	PED_ASSERT (walk != NULL, return);
 	if (last)
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to