svn commit: r253097 - user/pho/stress2/testcases/mkfifo
Peter Holm
pho at FreeBSD.org
Tue Jul 9 13:52:34 UTC 2013
Author: pho
Date: Tue Jul 9 13:52:34 2013
New Revision: 253097
URL: http://svnweb.freebsd.org/changeset/base/253097
Log:
The name "handler" is already used. Rename to "handler2".
Sponsored by: EMC / Isilon storage division
Modified:
user/pho/stress2/testcases/mkfifo/mkfifo.c
Modified: user/pho/stress2/testcases/mkfifo/mkfifo.c
==============================================================================
--- user/pho/stress2/testcases/mkfifo/mkfifo.c Tue Jul 9 13:26:17 2013 (r253096)
+++ user/pho/stress2/testcases/mkfifo/mkfifo.c Tue Jul 9 13:52:34 2013 (r253097)
@@ -49,7 +49,7 @@ int bufsize;
int freespace;
void
-handler(int i __unused)
+handler2(int i __unused)
{
_exit(0);
}
@@ -60,7 +60,7 @@ reader(void) {
int i, n, *buf;
setproctitle("reader");
- signal(SIGALRM, handler);
+ signal(SIGALRM, handler2);
alarm(2);
if ((fd = open(path, O_RDWR, 0600)) < 0) {
unlink(path);
@@ -83,7 +83,7 @@ writer(void) {
int i, *buf;
int fd;
- signal(SIGALRM, handler);
+ signal(SIGALRM, handler2);
alarm(2);
setproctitle("writer");
More information about the svn-src-user
mailing list