Re: Duh! How do I apply memleak patch to 2.1P2?

From: Juan Carlos Castro y Castro <jcastro@dont-contact.us>
Date: Mon, 14 Dec 1998 18:52:25 -0200

Henrik Nordstrom wrote:

> Juan Carlos Castro y Castro wrote:
>
> > Which directory has to be the current before I run
>
> The top level source directory. squid-2.1.PATCH2
>
> > And do I need a modifier like -p0 or -p1 or anything like that?
>
> Always. You should never run patch without it.
>
> Exactly which -pN option to use is a bit tricky as it depends on how the
> patch was built. In this case you should use -p0, but my copy of
> gnupatch 2.5 gets confused by this patch (can't automatically find
> src/client_side.c no matter what option is used) unless the environment
> variable POSIXLY_CORRECT is set.

THAT is it! I ended up having to type "src/client_side.c" manually. It seems
in the ---/+++ lines, the src/ portion of the relative path isn't specified.
It patches ChangeLog okay, and when going on to client_side.c, patch assumes
it's in the same directory.

Thanks for the tips!

--
ROTINJAILPINOCHET*APODREÇANACADEIAPINO
*          Valeu, LORDES!            C
T         That's it LORDS!           H
E        Enhorabuena LORDES!         E  OGY IS POLICY @ THE END
HCONIPLECRACALNESARDUPETEUQ*LIAJNITORT  L     *****************
                                        O     *     FIGHT     *
UST NO ONE @ DE  E @ BELIEVE THE LIE @ AP     *      THE      *
R             N  T                            *   FUTURE!!!   *
T  ___THE___  Y  A                            *****************
   \  \ /  /     CSUFBO @ EVRES RO TSISER @ ELGIEVNI @ EVIECED @ ET E @
    \  V  /   E  _______________________________________________  O L
     \   /    V |Juan Carlos Castro y Castro                    | H   S
     /   \    E |jcastro@pcshop.com.br                          |   A E
    /  ^  \   R |Linuxeiro, alvinegro, X-Phile e Carioca Folgado| O A I
   /  / \  \  Y |Diretor de Informática e Eventos Sobrenaturais | GIN D
   ~~~   ~~~  T |da E-RACE CORPORATION                          |
     RACER    H  -----------------------------------------------      G
              ING @ E PUR SI MUOVE @ THE TRUTH IS OUT THERE @ EVERYTHIN
Did you know that clones never use mirrors?
                            -- Ambrose Bierce, "The Devil's Dictionary"
Received on Mon Dec 14 1998 - 13:48:36 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:39 MST