Thread (3 messages) 3 messages, 2 authors, 2010-03-01

[PATCH] rename pip to pip_stress as pip is too general

From: Uwe Kleine-König <hidden>
Date: 2010-02-25 20:24:25
Subsystem: kernel build + files below scripts/ (unless maintained elsewhere), the rest · Maintainers: Nathan Chancellor, Nicolas Schier, Linus Torvalds

The command name is already taken by a perl script working with CPAN
and a Python package installer.

Addresses: http://bugs.debian.org/551926
Signed-off-by: Uwe Kleine-König <redacted>
---
 .gitignore                           |    2 +-
 Makefile                             |    4 ++--
 src/include/{pip.h => pip_stress.h}  |    7 +++----
 src/pi_tests/{pip.c => pip_stress.c} |    4 ++--
 4 files changed, 8 insertions(+), 9 deletions(-)
 rename src/include/{pip.h => pip_stress.h} (93%)
 rename src/pi_tests/{pip.c => pip_stress.c} (99%)
diff --git a/.gitignore b/.gitignore
index a06031c..0d77a66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,4 +23,4 @@ ptsematest
 sendme
 sigwaittest
 svsematest
-pip
+pip_stress
diff --git a/Makefile b/Makefile
index 5bb8774..52f8d64 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION_STRING = 0.66
 
 sources = cyclictest.c signaltest.c pi_stress.c rt-migrate-test.c	\
-	  ptsematest.c sigwaittest.c svsematest.c sendme.c pip.c
+	  ptsematest.c sigwaittest.c svsematest.c sendme.c pip_stress.c
 
 TARGETS = $(sources:.c=)
 
@@ -79,7 +79,7 @@ svsematest: svsematest.o rt-utils.o rt-get_cpu.o
 sendme: sendme.o rt-utils.o rt-get_cpu.o
 	$(CC) $(CFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS)
 
-pip: pip.o error.o rt-utils.o
+pip_stress: pip_stress.o error.o rt-utils.o
 	$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
 
 CLEANUP  = $(TARGETS) *.o .depend *.*~ *.orig *.rej rt-tests.spec *.d
diff --git a/src/include/pip.h b/src/include/pip_stress.h
similarity index 93%
rename from src/include/pip.h
rename to src/include/pip_stress.h
index b2068be..8ed2452 100644
--- a/src/include/pip.h
+++ b/src/include/pip_stress.h
@@ -1,5 +1,5 @@
-#ifndef __PIP_H
-#define __PIP_H
+#ifndef __PIP_STRESS_H
+#define __PIP_STRESS_H
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -37,5 +37,4 @@ int get_rt_prio(pid_t pid);
 #define PROTRW PROT_READ|PROT_WRITE
 #define MMAP_FLAGS MAP_SHARED|MAP_ANONYMOUS
 
-#endif	/* __PIP_H */
-
+#endif	/* __PIP_STRESS_H */
diff --git a/src/pi_tests/pip.c b/src/pi_tests/pip_stress.c
similarity index 99%
rename from src/pi_tests/pip.c
rename to src/pi_tests/pip_stress.c
index 085908b..f3568f4 100644
--- a/src/pi_tests/pip.c
+++ b/src/pi_tests/pip_stress.c
@@ -1,5 +1,5 @@
 /*
-	Pip - Priority Inheritance with processes
+	Pip stress - Priority Inheritance with processes
     
     Copyright (C) 2009, John Kacur <jkacur@redhat.com>
 
@@ -54,7 +54,7 @@
  * scheduling priorities.
  */
 
-#include "pip.h"
+#include "pip_stress.h"
 
 pthread_mutex_t *resource;
 
-- 
1.7.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help