Linux-kernel mailing list archive 1998-31,: Re: pre-2.1.115-2 fails compile pgtable_cache_water

# Re: pre-2.1.115-2 fails compile pgtable_cache_water

Zlatko Calusic (Zlatko.Calusic@CARNet.hr)
06 Aug 1998 21:11:16 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Alan Cox: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Previous message: Jeff Garzik: "devfs"
- In reply to: David S. Miller: "Re: pre-2.1.115-2 fails compile pgtable_cache_water"

"David S. Miller" <davem@dm.cobaltmicro.com> writes:

> sed 's/pgtable_cache_water/pgt_cache_water/' <mm/memory.c >mm/memory.c.new
> mv mm/memory.c.new mm/memory.c
> make
>

Hm,

perl -pi -e 's/pgtable_cache_water/pgt_cache_water/' mm/memory.c

This works even in cases like perl -pi -e 's%old%new%g' *.[ch]

:)

    --
    Posted by Zlatko Calusic           E-mail: <Zlatko.Calusic@CARNet.hr>
    ---------------------------------------------------------------------
    	 "The faster you go, the shorter you are" - Einstein

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

- Next message: Alan Cox: "Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds"
- Previous message: Jeff Garzik: "devfs"
- In reply to: David S. Miller: "Re: pre-2.1.115-2 fails compile pgtable_cache_water"