diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /net/qadsl/files/patch-src__lock.c | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Notes
Notes:
svn path=/head/; revision=363362
Diffstat (limited to 'net/qadsl/files/patch-src__lock.c')
-rw-r--r-- | net/qadsl/files/patch-src__lock.c | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net/qadsl/files/patch-src__lock.c b/net/qadsl/files/patch-src__lock.c new file mode 100644 index 000000000000..bf00326fbb4e --- /dev/null +++ b/net/qadsl/files/patch-src__lock.c @@ -0,0 +1,44 @@ +*** src/lock.c.orig Sat Mar 13 23:39:41 2004 +--- src/lock.c Sat Sep 11 22:05:09 2004 +*************** +*** 153,159 **** + */ + + pid_t +! lock_read (char **file) + { + int fd, fallback; + FILE *fp; +--- 153,159 ---- + */ + + pid_t +! lock_read (char *file) + { + int fd, fallback; + FILE *fp; +*************** +*** 165,175 **** + fallback = 0; + do + { +! fd = open(*file, O_RDONLY); + if (-1 == fd) + { +! *file = fallback_pid_files [fallback++]; +! if (NULL == *file) + { + /* This makes us depend on procps and coreutils in GNU/Linux + * but only coreutils in GNU/Hurd. +--- 165,175 ---- + fallback = 0; + do + { +! fd = open(file, O_RDONLY); + if (-1 == fd) + { +! file = fallback_pid_files [fallback++]; +! if (NULL == file) + { + /* This makes us depend on procps and coreutils in GNU/Linux + * but only coreutils in GNU/Hurd. |