Path: utzoo!attcan!uunet!husc6!bbn!rochester!ur-tut!sunybcs!canisius!sigmast!dgy From: dgy@sigmast.UUCP (Dave Yearke) Newsgroups: comp.emacs Subject: Re: Problems with emacs-18.51 Summary: Creating new files isn't a problem with patch, NULLS are. Message-ID: <465@sigmast.UUCP> Date: 17 May 88 11:19:59 GMT References: <31852@linus.UUCP> <9035.579791273@pebbles> Sender: nobody@sunybcs.UUCP Reply-To: dgy@sigmast.UUCP (Dave Yearke) Organization: Sigma Systems Technology, Inc., Buffalo NY Lines: 26 In article <9035.579791273@pebbles> jr@bbn.com writes: >> I pulled over the emacs 51 patches, but have been unable to install them. >> Patch runs correctly for the first 15 or so files until it gets to >> spook.lines, at which point I get an error... > >patch can't handle the diffs because the file spook.lines didn't >exist. It may work to create an empty file spook.lines, or else just >edit it out of the diff file before running patch. I have not had any problems with patch creating new files, and in fact it creates several other new files from this same patchfile. I believe the problem is that each line of spook.lines contains a NULL character. To verify this, run split on the patchfile and "vi" the file that contains spook.lines. The status line will display "xxx characters (49 null)" (or something like that). In any event, removing spook.lines from the patchfile and rerunning it should solve the problem. On another topic, I have upgraded Emacs from 18.47 to 18.51 using patch. The sizes of some files are significantly different from those shown in the file dir.list, and cl.el wouldn't byte-compile. Has anyone else had this problem? -- Dave Yearke, Sigma Systems Technology, Inc. ...!sunybcs!cald80!sigmast!dgy ...!ames >!canisius!sigmast!dgy