Marcus Meissner
a6b729bdf1
- Cleanup spec file, remove %clean section - Updated to 2.5.2 - Removed linux-atm-2.5.0.diff (in mainline) - Removed linux-atm-2.5.0-include.patch (in mainline) - Rebased linux-atm-2.5.0-fdleak.patch as linux-atm-2.5.2_fdleak.patch - Added linux-atm-2.5.2_implicit-fortify-decl.patch to fix implicit declarations OBS-URL: https://build.opensuse.org/request/show/214990 OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-atm?expand=0&rev=15
30 lines
890 B
Diff
30 lines
890 B
Diff
diff -Ppru linux-atm-2.5.2.orig/.directory linux-atm-2.5.2/.directory
|
|
--- linux-atm-2.5.2.orig/.directory 1970-01-01 01:00:00.000000000 +0100
|
|
+++ linux-atm-2.5.2/.directory 2014-01-23 23:39:47.120089077 +0100
|
|
@@ -0,0 +1,4 @@
|
|
+[Dolphin]
|
|
+Timestamp=2014,1,23,23,39,47
|
|
+Version=3
|
|
+ViewMode=1
|
|
diff -Ppru linux-atm-2.5.2.orig/src/arpd/atmarp.c linux-atm-2.5.2/src/arpd/atmarp.c
|
|
--- linux-atm-2.5.2.orig/src/arpd/atmarp.c 2009-11-30 17:56:52.000000000 +0100
|
|
+++ linux-atm-2.5.2/src/arpd/atmarp.c 2014-01-23 23:44:31.170128564 +0100
|
|
@@ -89,14 +89,17 @@ static int print_table(void)
|
|
}
|
|
while ((size = read(fd,buffer,BUF_SIZE))) {
|
|
if (size < 0) {
|
|
+ close(fd);
|
|
perror("read " ATMARP_DUMP_DIR "/" ATMARP_DUMP_FILE);
|
|
return 1;
|
|
}
|
|
if (write(1,buffer,size) < 0) {
|
|
+ close(fd);
|
|
perror("write stdout");
|
|
return 1;
|
|
}
|
|
}
|
|
+ close(fd);
|
|
return 0;
|
|
}
|
|
|