lua-users home
lua-l archive

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


Yes, that may be the problem. Later version of patch have unified mode.
Unidiff is a very popular mode
in the FreeBSD community, that is the only reason I know about it :)

Your version of patch probably doesn't recognize the unidiff mode, and is
trying to patch as either context
or normal. May want to see about getting a later version of patch slapped on
that box :)

Matt

----- Original Message -----
From: "Roberto Ierusalimschy" <rieru@delirius.cs.uiuc.edu>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Wednesday, December 12, 2001 4:02 PM
Subject: Re: help with patch


> On Wed, 12 Dec 2001, Matt Holmes wrote:
>
> > It looks like the patch was diffed in unified mode (-u switch).
> >
> > try:
> >
> > patch -u -p0 < sleep.patch
> >
> > SunOS may force you to specify the unidiff format for a patch.
>
> My patch does not have a -u option ;-) (Its options are "normal",
"context"
> and "the style of ed(1)".)  Maybe that is the problem...
>
> -- Roberto
>
>