similar to: [PATCH] nut crashes when port= is omitted

Displaying 20 results from an estimated 90 matches similar to: "[PATCH] nut crashes when port= is omitted"

2011 Aug 27
1
[PATCH 1/3] Fix file descriptor leak
Credit goes to "cppcheck" Signed-off-by: Thomas Jarosch <thomas.jarosch at intra2net.com> --- common/common.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/common/common.c b/common/common.c index f443cb7..e8004d7 100644 --- a/common/common.c +++ b/common/common.c @@ -244,6 +244,7 @@ int sendsignalfn(const char *pidfn, int sig) if (fgets(buf,
2010 Jul 22
1
problem with restarting nut
Hi, one user found problem with restarting nut. upsdrvctl does not wait for drivers being really terminated. In init scripts we have following: killproc upsmon killproc upsd upsdrvctl stop and then upsdrvctl start upsd upsmon problem is upsdrvctl stop only sends terminating signals but does not wait for driver termination. This makes driver fail to start sometimes when old driver is still
2007 May 18
1
i'm confused
Hi all, New to NUT dev, i was hoping someone can clear up an issue i have with the unix socket naming for me (FYI my C is not that great). I'm using 2.0.5 and this stems from a problem with the general admin of Nut but looking at the code led me to think maybe it's a bigger issue (thus i joined this list). Right to start with if i have the following in ups.conf: [apc]
2011 Jun 28
0
[nut-commits] svn commit r3081 - branches/apcsmart-dev/drivers
Citeren Michal Soltys <msoltyspl-guest at alioth.debian.org>: > @@ -251,14 +251,14 @@ > if (do_lock_port) { > errno = 0; > ret = 0; > -#ifdef HAVE_UU_LOCK > + #ifdef HAVE_UU_LOCK > ret = uu_lock(xbasename(device_path)); > -#elif defined(HAVE_FLOCK) > + #elif defined(HAVE_FLOCK) > ret = flock(fd, LOCK_EX | LOCK_NB); > -#elif
2007 Jan 06
1
Re: [nut-commits] svn commit r710 - in trunk: . clients server
Great, thanks Arjen! Now we need an autoconf test to set HAVE_IPV6 automatically. I will look into what functionality needs to be tested; the test can be refined as problems arise later. -- Peter Arjen de Korte wrote: > > Author: adkorte-guest > Date: Sat Jan 6 19:39:08 2007 > New Revision: 710 > > Modified: > trunk/ChangeLog > trunk/clients/upsc.c >
2007 May 25
0
Patch -- SVN revision in the version string
This is the patch to include SVN revision level in version number displays. There should be two enclosures; the patch itself and a new source file. common/upsversion.c. upversion.c defines a single function. upsversion(), that returns a version string for display. Some Makefile trickery ensures that this file will be recompiled whenever the project's SVN revision level has changed since it
2016 Jul 11
0
Proposal for technique to stop a timer at any moment
Here is patch 1 of 2. Roger diff -rup nut-2.7.4.orig/clients/upsmon.c nut-2.7.4.dev/clients/upsmon.c --- nut-2.7.4.orig/clients/upsmon.c 2015-12-29 13:08:34.000000000 +0100 +++ nut-2.7.4.dev/clients/upsmon.c 2016-07-01 09:46:21.567766415 +0200 @@ -525,6 +525,18 @@ static int get_var(utype_t *ups, const c numq = 2; } + /* Subcommands for polling SIGUSR1, SIGUSR2 RP */ + if (strcmp(var,
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
With the Ipv6 patch (r708), I get: upsclient.c: In function `upscli_connect': upsclient.c:469: `AI_ADDRCONFIG' undeclared (first use in this function) upsclient.c:469: (Each undeclared identifier is reported only once upsclient.c:469: for each function it appears in.) Even if it doesn't break IPv4 support, it may break portability, as IPv6 seems to require specific functions that are
2007 Jan 23
2
Re: [nut-commits] svn commit r731
Hi Arjen, in server/upsd.c r731, you moved the call conf_load() from after check_perms() (~ l.1020) to before setupsignals() (~ l.989). The problem is that conf_load() needs to open the ups driver socket, and it assumes that STATEPATH is the current working directory. The directory is only set in l.1016. Therefore, the first attempt to open a socket will always fail. From the user's point of
2011 Nov 09
1
[ reached getOption("max.print") -- omitted 8178 rows ]]
Hi, I have a weird thing I don¹t understand. Here¹s what I did: I read some data: data=read.table("fileName²) then I printed the data to the screen: data But it didn¹t finish: lot¹s of data was written out, but not all of it... Then it interrupted and said: [ reached getOption("max.print") -- omitted 8178 rows ]] Is there a setting somewhere that I can change to get to see all of my
2007 Apr 02
1
controling omitted category in factor()
Hi All How can I specify which category R should omit when running a linear model with categorical predictors? I saw it omits the first category by default, but I like to have the 3rd category omitted. Thanks for your hints. Toby
2012 Sep 24
1
[ reached getOption("max.print") -- omitted 138 rows]
Dear useRs, does anyonw now how to avoid [ reached getOption("max.print") -- omitted 138 rows]. i read from the R forum that it can be avoided by increasing the 'max.print' option as much as i like, but i dnt know, how?? need your help on it. regards eliza [[alternative HTML version deleted]]
2010 Jan 23
3
Wine Registry : winebrowser "%1" : the quotes were omitted
Hello, here is what I found : I made a fresh install of Ubuntu 9.10 in November, and in the Wine registry, some file types were pre-associated with winebrowser %1 (without the quotes around %1) thus preventing them to work. I found only yesterday that I needed to add the quotes. Now I can launch any file from any Wine application, and that call my linux-associated application. I don't know
2009 May 20
1
maildir filename with eg. ,S=1000, omitted
Hello. I encountered the wiki entry on maildirs not long ago. In it, it is suggested that the use of ,S= and ,W= may improve performance as dovecot does not need to calculate size itself. While my maildir filenames have ,W=, they lack ,S=. I've grepped dovecot.conf, but I can find no option to
1999 Nov 20
1
seg.fault: 'print(aggregate(),n)' (digits= omitted) (PR#330)
Dear Sirs, I had the following (reproducible) problem: g1 <- gl(3,4) g2 <- gl(2,2,12) y <- rnorm(12) AA <- aggregate(y,list(g1,g2),mean) print(AA,2) # I should've said 'digits=2' but ... Segmentation fault (core dumped) # print(AA) and print(AA,digits=2) work as expected Many thanks, -Rashid Nassar --please do not edit the information below--
2006 May 01
0
wishlist: summary for regression models to report number of omitted cases because of NAs (PR#8824)
Full_Name: Ulrike Gr?mping Version: 2.3.0 OS: Windows Submission from: (NULL) (84.190.150.205) Whenever any observations are excluded from a regression analysis (lm, glm, and other similar procedures) because of missing values, I would find it very useful if this fact is directly visible from the output. I think that the information should not only be available (I can e.g. look at length of the
2006 Sep 29
2
Warning: a final empty element has been omitted
How can I suppress this warning? > options(warn = -10) > list(1,2,3,) Warning: a final empty element has been omitted the part of the args list of 'list' being evaluated was: (1, 2, 3, ) [[1]] [1] 1 [[2]] [1] 2 [[3]] [1] 3 > suppressWarnings(list(1,)) Warning: a final empty element has been omitted the part of the args list of 'list' being evaluated was: (1, )
2015 Apr 21
1
Bug 15899 - Omitted 'extern' on 'R_running_as_main_program' after refactor can cause linker errors for applications embedding R
Is there any plans for addressing the regression... https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15899 in the 3.2.1 release? In the fink project, I had to resort to creating a fixincludes subdirectory containg a local copy of the offending Rinterface.h header with the missing extern on the declaration of R_running_as_main_program restored in order to suppress duplicate symbols during the
2004 Mar 24
0
LM omitted variables test
Dear all, Does anybody know whether the (general) Lagrange Multiplier testing framework for restrictions on linear models has been implemented in some package? My goal is to test for omitted variables, i.e. restrictions of the kind beta_i=0, in the specification of an econometric model. There are some particular implementations in this fashion in the lmtest package (e,g, the bgtest() function,
2007 Jan 03
0
RODBC : first line of data from query omitted
Dear List, when reading MS Excel files in R using package RODBC I encountered the problem of having the first line of data getting omitted. I read the data as : > library(RODBC) > channel1 <- odbcConnectExcel("myFile.xls") > sheet1 <- sqlQuery(channel1, "SELECT * FROM [Cell measures (1)$]") # I use sqlQuery() instead of sqlFetch() since the sheet I