Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux    |    Getting to be as bloated as Windows!    |    107,822 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 106,415 of 107,822    |
|    alex to All    |
|    Re: patch command not work    |
|    31 Aug 24 10:24:16    |
      From: 1j9448a02@lnx159sneakemail.com.invalid              Il 31/08/24 10:05, alex ha scritto:       > Il 29/08/24 15:37, alex ha scritto:       >> To fix this, in the file /tmp/tmp.YI0xO6M46g/patched/file.patch I       >> replaced       >>       >> --- /tmp/tmp.YI0xO6M46g/patched/file 2024-08-29 10:03:43.376723286       >> +0200       >>       >> with       >>       >> --- /tmp/tmp.YI0xO6M46g/file 2024-08-29 10:03:43.376723286 +0200       >>       >> Let's try again...       >>       >> + pwd       >> /tmp/tmp.YI0xO6M46g       >> + patch --dry-run       >> checking file file       >> + patch -d / --dry-run -p1       >> checking file tmp/tmp.YI0xO6M46g/file       >> + patch -d / --dry-run -p0       >> checking file /tmp/tmp.YI0xO6M46g/file       >>       >> Perfect!!!       >       > Anyway, in the /tmp/tmp.YI0xO6M46g/patched/file.patch file, the second line       >       > +++ /tmp/tmp.YI0xO6M46g/patched/file 2024-08-28 12:15:27.908571446 +0200       >       > what is it for?       >       > For example, if I tamper with it like this       >       > +++ TAMPERED WITH       >       > the command       >       > $ (cd /tmp/tmp.YI0xO6M46g && patch --dry-run       > checking file file)       >       > works normally.       >       > Strange...                     Small correction (badly positioned parenthesis)              $ (cd /tmp/tmp.YI0xO6M46g && patch --dry-run)       checking file file              Anyway, as already said, with the tampered file       /tmp/tmp.YI0xO6M46g/patched/file.patch (line 2), everything works the same.              Bah...              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca