home bbs files messages ]

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,413 of 107,822   
   alex to All   
   Re: patch command not work   
   31 Aug 24 10:05:44   
   
   From: 1j9448a02@lnx159sneakemail.com.invalid   
      
   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...   
      
   --- 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