Re: a pair of things I found when debugging..

2007-06-04 Thread Jeroen Dekkers
At Mon, 4 Jun 2007 21:03:11 +0200, Robert Millan wrote: > > On Mon, Jun 04, 2007 at 09:00:21PM +0200, Robert Millan wrote: > > - struct grub_pc_partition *pcdata = 0; > > + struct grub_pc_partition *pcdata = NULL; > > > >[...] > > > > - char *drive_name = 0; > > + char *drive_name = NULL;

Re: a pair of things I found when debugging..

2007-06-04 Thread Robert Millan
On Mon, Jun 04, 2007 at 09:00:21PM +0200, Robert Millan wrote: > - struct grub_pc_partition *pcdata = 0; > + struct grub_pc_partition *pcdata = NULL; > >[...] > > - char *drive_name = 0; > + char *drive_name = NULL; I generaly find that NULL makes it clearer for pointers, do you have a

a pair of things I found when debugging..

2007-06-04 Thread Robert Millan
A pair of things I found when debugging powerpc issues. Let me know what you think (context comment follows). -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list. diff -ur grub2-1.95