Re: binfmts ...

Matthias Urlichs (smurf@smurf.noris.de)
Tue, 22 Oct 1996 20:53:50 -0200


In linux.dev.kernel, article <96102216521794@lsi.supelec.fr>,
nivoit_jea@lsi.supelec.fr writes:
>
> I'm new to this mailing list, and I was not sure whether to send patches
> for the kernel here or not...
>
Hmm, yours is small enough to do that.

BUT: _PLEASE_ use diff -u to generate a useable diff with context!

Stuff like

> diff -r linux/fs/binfmt_aout.c /mnt/linux-2.0.22/fs/binfmt_aout.c
> 35a36,39
> > #ifdef BINFMT_NAMES
> > #define AOUT_BINFMT_NAME "aout"
> > #endif
> >

is _nonsense_ because if I added two lines in the beginning of that file in
my personal kernel, the patch will be misapplied. Not good.

Oh yes, and say ":%g/^Only/d <Return>" (assuming you're using vi), which
deletes the superfluous "Only in foo: bar" lines.

-- 
Weed's Axiom:
       Never ask two questions in a business letter.
       The reply will discuss the one in which you are
       least interested and say nothing about the other.
-- 
Matthias Urlichs         \  noris network GmbH  /  Xlink-POP Nürnberg 
Schleiermacherstraße 12   \   Linux+Internet   /   EMail: urlichs@noris.de
90491 Nürnberg (Germany)   \    Consulting+Programming+Networking+etc'ing
   PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE
       Click <A HREF="http://info.noris.de/~smurf/finger">here</A>.    42