> > 
> >         2) There are a few small items in the current deb archive
> >         packages that
> >         we could put into svn ie small fixes and man pages. I've done
> >         some, eg
> >         with liborange I think, but if anyone else has the time,
> >         inclination and 
> >         unserstanding to have a quick look this could be useful.
> > 
> > Agreed, although we maybe lacking on volunteers. We can't even muster
> > a documentation effort at the moment..
> >  
> 
> I think I might have a look at this now, hopefully shouldn't take too
> long.
> 

Ok, so I've been going through this stuff, and I've come across
something I hope someone can help with. The deb diff for liborange
contains this snippet

@@ -190,7 +190,7 @@
 #endif
 } TSetupFileEntry;
 
-P typedef struct
+typedef struct
 {
   uint32_t FirstDisk;
   uint32_t LastDisk;
@@ -201,7 +201,7 @@
   uint32_t Date;
   uint32_t FileVersionMS;
   uint32_t FileVersionLS;
-} TSetupFileLocationEntry;
+} P TSetupFileLocationEntry;
 

where P has been defined as
#define P __attribute__((packed))

Now I have no idea about attributes, so does anyone know which of these
options are correct and/or superior ?

Ta
Mark




-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to