summaryrefslogtreecommitdiffstats
path: root/package/ser/patches/120-main.patch
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-31 20:54:00 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-31 20:54:00 +0000
commit70e2ef068536639b9e8c429795860c8c8fa7a027 (patch)
tree39c84a76d27cae2d0cb5278ae3fe1b9bd55aae5f /package/ser/patches/120-main.patch
parentf0aedfb2945f9fabb3efde3df0a790509f91f157 (diff)
remove ser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3100 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ser/patches/120-main.patch')
-rw-r--r--package/ser/patches/120-main.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/package/ser/patches/120-main.patch b/package/ser/patches/120-main.patch
deleted file mode 100644
index eacd0cc23..000000000
--- a/package/ser/patches/120-main.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- ser-0.8.14.orig/main.c 2004-06-28 17:41:21.000000000 +0200
-+++ ser-0.8.14/main.c 2005-01-07 23:24:27.000000000 +0100
-@@ -1447,18 +1447,20 @@
- /* seed the prng */
- /* try to use /dev/random if possible */
- seed=0;
-+/* this read call is blocking on OpenWRT, further investigations are necessary
- if ((rfd=open("/dev/random", O_RDONLY))!=-1){
- try_again:
- if (read(rfd, (void*)&seed, sizeof(seed))==-1){
-- if (errno==EINTR) goto try_again; /* interrupted by signal */
-+ if (errno==EINTR) goto try_again;
- LOG(L_WARN, "WARNING: could not read from /dev/random (%d)\n",
- errno);
- }
- DBG("read %u from /dev/random\n", seed);
- close(rfd);
- }else{
-- LOG(L_WARN, "WARNING: could not open /dev/random (%d)\n", errno);
-- }
-+*/
-+ LOG(L_WARN, "WARNING: could not read from /dev/random (%d)\n", errno);
-+// }
- seed+=getpid()+time(0);
- DBG("seeding PRNG with %u\n", seed);
- srand(seed);