Imported Upstream version 1.6 upstream/1.6
authorgregor herrmann <gregoa@debian.org>
Wed, 2 May 2012 16:30:46 +0000 (18:30 +0200)
committergregor herrmann <gregoa@debian.org>
Wed, 2 May 2012 16:30:46 +0000 (18:30 +0200)
CHANGELOG
README
TODO [deleted file]
cpulimit.c

index 8b23d623d00a87438670d755bcc6a8244117d6e9..04f7077370f51166e290a2aba36f98441bd9e14b 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,12 @@
+======== Changes in 1.6 ============
+
+* Updated copyright notice in README file.
+
+* Made sure we define a reasonable buffer size
+  if PATH_MAX is not already defined. Fixes
+  building on Hurd.
+
+
 ======== Changes in 1.5 ============
 
 * Updated man page and cpulimit's "--help" page to
diff --git a/README b/README
index 6f5f1032209405245c23a71c7b099e401e6dc193..9c512eb9616d7105a402613e6386e5fd08327083 100644 (file)
--- a/README
+++ b/README
@@ -22,7 +22,7 @@ A copy of the license should be included with this program in a
 file named LICENSE.
 
 Copyright 2005, Angelo Marletta <marlonx80@hotmail.com>
-Copyright 2011, Jesse Smith <jessefrgsmith@yahoo.ca>
+Copyright 2011-2012, Jesse Smith <jessefrgsmith@yahoo.ca>
 
 
 
diff --git a/TODO b/TODO
deleted file mode 100644 (file)
index 8b13789..0000000
--- a/TODO
+++ /dev/null
@@ -1 +0,0 @@
-
index 709bda17755fdd91868349757c56396e5fa8b41e..a72ed0fa114446ae293191c321cf4f2c53af8425 100644 (file)
 #define min(a,b) (a<b?a:b)
 #define max(a,b) (a>b?a:b)
 
+// For platforms without PATH_MAX
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 //pid of the controlled process
 int pid=0;
 //executable file name