Re: *** buffer overflow detected *** error

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

 



ying lcs wrote:

> $ patch -p0 < adf33dbb59d0.patch
> ...
> |--- a/browser/components/migration/src/nsDogbertProfileMigrator.cpp    Tue
> Oct 21 16:36:29 2008 +1300
> |+++ b/browser/components/migration/src/nsDogbertProfileMigrator.cpp    Mon
> Oct 20 22:55:57 2008 -0500

The purpose of the argument to -p is to match up the filenames in the
patch relative to your working dir.  For example if browser/ is a subdir
of your current working directory then you would need -p1 to strip one
level from the filenames in the patch.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux