bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New FS driver (and support for a new OS).


From: Kurt Skauen
Subject: Re: New FS driver (and support for a new OS).
Date: 31 Oct 2000 15:00:03 +0100

Johan Rydberg <address@hidden> writes:

> 
> Kurt Skauen wrote:
> 
> > > > I'm also wondering if the filesystem driver must follow the GNU coding
> > > > style?
> > >
> > >   It should.
> > 
> > So I have to rewrite it?
> > Anybody who know about a portable code-obfuscator? :)
> 
> Well, Why not use Emacs c-mode and indent the whole file(s) ? 

I don't think the the indentation is the main problem (I do use Emacs
c-mode autoindent, but I have done some reconfiguration of it so it
might not match the GNU standard). The main difference is the variable
naming style. I use mixed case and type prefixes (almost like in
hungarian notation, but more consistent).

You can see the driver source at:

http://www.atheos.cx/cgi-bin/cvsweb.cgi/src/grub/stage2/fsys_afs.c?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=AtheOS_ports


I might should have read through the GNU coding standard, but after
seeing how the sources end up looking (and spending endless hours
trying to "decrypt" GNU sources) I find it very hard to find
motivation to do so.

-- 
Kurt Skauen. ( http://www.atheos.cx/ )

"There are two kinds of people, those who do the work and those who take
credit. Try to be in the first group, there is less competition there." __
Indira Gandhi 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]