[-]
[+]
|
Changed |
smstools.changes
|
|
[-]
[+]
|
Changed |
smstools.spec
^
|
|
[-]
[+]
|
Changed |
smstools3-3.1.15.tar.bz2/doc/history3.html
^
|
@@ -86,6 +86,31 @@
<h3>Version history</h3>
+<b>21.10.2012 3.1.15</b>
+
+<p>
+After a long time, some changes and fixes are pending, but in this version only one fix is applied.
+The bug with lockfiles is very critical, and hopefully the creation of new package is easier for
+maintainers, when only one fix is done.
+</p>
+
+<p>
+Bug fixes:
+<ol start="1">
+ <li><p>
+ When creating a lockfile, main process used incorrect offset -1 with the table of names of processes.
+ This caused segmentation fault when smsd was compiled using latest compilers.
+ </p></li>
+
+</ol>
+</p>
+
+<p>
+<a href="http://smstools3.kekekasvi.com/packages/">Download</a>
+</p>
+
+<hr>
+
<b>21.09.2010 3.1.14</b>
<ol>
@@ -192,10 +217,6 @@
</ol>
</p>
-<p>
-<a href="http://smstools3.kekekasvi.com/packages/">Download</a>
-</p>
-
<hr>
<b>02.09.2010 3.1.12</b>
|
[-]
[+]
|
Changed |
smstools3-3.1.15.tar.bz2/src/locking.c
^
|
@@ -42,7 +42,11 @@
lockfile=open(lockfilename,O_CREAT|O_EXCL|O_WRONLY,0644);
if (lockfile>=0)
{
- snprintf(pid, sizeof(pid), "%i %s\n", (int)getpid(), DEVICE.name);
+ // 3.1.15:
+ //snprintf(pid, sizeof(pid), "%i %s\n", (int)getpid(), DEVICE.name);
+ snprintf(pid, sizeof(pid), "%i %s\n", (int)getpid(),
+ (process_id == -1) ? "MAINPROCESS" : DEVICE.name);
+
write(lockfile, pid, strlen(pid));
close(lockfile);
sync();
|
[-]
[+]
|
Changed |
smstools3-3.1.15.tar.bz2/src/version.h
^
|
@@ -1,6 +1,6 @@
#ifndef VERSION_H
#define VERSION_H
-#define smsd_version "3.1.14"
+#define smsd_version "3.1.15"
#endif
|