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

Re: Why does dpkg-source produce this message...



On Thu, 19 Sep 1996, llucius wrote:

> When attempting to extract the source for eject_1.4-1, I received the 
> following message:
> 
> dpkg-source: error: diff contains unknown line `\ No newline at end of file'
> 
> Is there a problem with the package or is there a critter in dpkg-source?

You have a file in the diff without a newline.  For example:
femto[~]$ echo -n "a" > f1
femto[~]$ echo "a" > f2
femto[~]$ diff -u f1 f2
--- f1  Fri Sep 20 11:35:02 1996
+++ f2  Fri Sep 20 11:35:07 1996
@@ -1 +1 @@
-a
\ No newline at end of file
+a

dpkg-source could deal with this I suppose.


Guy



Reply to: