Displaying 20 results from an estimated 400 matches similar to: "nanosleep"
2003 Mar 17
3
nanosleep() replacement
I put together a nanosleep() for systems without it.
Please review/test before I commit.
It sems to make UnixWare and Open Server 5 happy.
My SCO Open Server 3 box broke so I can't test it there.
-------------< cut here >----------------
--- openssh/configure.ac.old 2003-03-09 17:16:43.000000000 -0800
+++ openssh/configure.ac 2003-03-16 15:38:28.520560008 -0800
@@ -1483,6 +1483,8 @@
2004 Aug 06
2
[PATCH] Solais has nanosleep, too.
This is a patch to configure.in which makes autoconf aware of the
availability of nanosleep() on Solaris.
In Solaris it's in librt, or in libposix4 if you're running an ancient
version (<2.6 I think)
/dale
-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/icecast/configure.in,v
2003 Feb 01
1
Build errors on AIX 4.2.1: nanosleep
Hi All.
There are still build errors for scp on AIX 4.2.1 due to lack of
nanosleep (which you can see them live and in colour at [1]). The
attached patch fixes this by using the equivalent nsleep function on AIX
if it exists and nanosleep doesn't.
The patch is mostly the same as the AIX portion of the previous patch
for the nanosleep issue, the major difference being that the #define is
in
2005 Apr 12
0
xen-2.0.4+ nanosleep and maybe other errors
Hello!
I''am experiencing some problems and noticed i''m not the first one.
There seems to be no clue about the problem anywhere on the net
so i''m reporintg it here.
(Should this have been directed to the users list instead?)
The main symptom is tail -f <file> failing in nanosleep in domain 0 every
now and then. Sometimes is just gets stuck. Some other long-running
2020 Mar 27
2
[Bug 14328] New: usleep() is obsolete, use nanosleep()
https://bugzilla.samba.org/show_bug.cgi?id=14328
Bug ID: 14328
Summary: usleep() is obsolete, use nanosleep()
Product: rsync
Version: 3.1.3
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayne at opencoder.net
Reporter:
2009 Apr 08
2
configure.ac libedit problem solved
Turns out that Suse 11.1 needs a soft link:
ln -s /lib64/libncurses.so.5.6 /lib64/libcurses.so
This is pretty poor error reporting....
I wonder how many carps are due to building not properly reporting errors...
Thanks
tedc
2019 Aug 28
0
Re: [PATCH nbdkit] freebsd: In nbdkit_nanosleep, fallback to calling nanosleep(2).
On 8/28/19 11:14 AM, Richard W.M. Jones wrote:
> Rather than failing to compile on platforms which lack POLLRDHUP such
> as FreeBSD, simply fallback to the old method of sleeping.
>
> This leaves the porting suggestions as a comment in case someone wants
> to implement a better solution for particular platforms.
> ---
> server/public.c | 38
2003 Jan 25
1
Build failures: nanosleep on Solaris and AIX 4.2.x
Hi All.
The recent changes to scp caused build failures on Solaris and AIX 4.2
which showed up on the tinderbox[1]. I mentioned the first to djm in
email yesterday but I'm posting after finding the second, in case anyone
else has seen similar problems.
Solaris' nanosleep is in librt (or libposix4 in older versions) which
is not linked. Adding them to configure works fine, however ldd
2009 Jun 10
0
[PATCH] Use nanosleep instead of usleep when waiting the hardware.
usleep() was being used without checking its return value. When the
server receives SIGALRM or SIGIO the waits are shortened and random
modesetting failures happen: Use nanosleep and loop around it until
the requested time has elapsed.
---
src/nouveau_hw.c | 2 +-
src/nouveau_local.h | 6 ++++++
src/nv_bios.c | 2 +-
src/nv_crtc.c | 2 +-
src/nv_include.h | 1 +
2003 Jun 26
6
[Bug 605] make install don't create piddir
http://bugzilla.mindrot.org/show_bug.cgi?id=605
Summary: make install don't create piddir
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Build system
AssignedTo: openssh-bugs at mindrot.org
ReportedBy:
2019 Aug 28
2
[PATCH nbdkit] freebsd: In nbdkit_nanosleep, fallback to calling nanosleep(2).
Rather than failing to compile on platforms which lack POLLRDHUP such
as FreeBSD, simply fallback to the old method of sleeping.
This leaves the porting suggestions as a comment in case someone wants
to implement a better solution for particular platforms.
---
server/public.c | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
diff --git
2014 Feb 03
1
Compiling openssh v6.5 with --with-ssl-dir not working
Hello,
I am trying to compile openssh v6.5p1 with openssl-1.0.1f and it doesn't seem to find
my custom openssl libraries and defaults to the system version. This has been working on all
previous openssh version until v6.5. Is this a bug ? More details below:
[root at test openssh-6.5p1]# ./configure --prefix=/usr/local/openssh-6.5p1 --with-tcp-wrappers --with-selinux --with-kerberos5
2003 Sep 26
2
OpenSSH 3.7.1p1
Hi,
RE: OPenSSH Problems
I created a package for OpenSSH 3.7.1p1 (by using
openssl-0.9.7b and zlib-1.1.4). We are trying to
deploy the created package in all of our servers,
which is already installed different versions of
OpenSSH and SSH. I was successful for few servers. In
one of our server after doing pkgadd and when i am
trying to generate keys i am getting the following
errors.
2002 Jun 15
4
[Bug 276] openssh-3.2.3p1 does not compile on IRIX - SCM_RIGHTS undefined
http://bugzilla.mindrot.org/show_bug.cgi?id=276
------- Additional Comments From stevesk at pobox.com 2002-06-15 14:26 -------
this is what i asked in a message a while back; can an IRIX
expert help here?
"should we be using a UNIX95 (or whatever) namespace for IRIX?
what happens with D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
------- You are receiving this
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
Description: Replace many usleep and some sleep calls with nanosleep.
usleep is stated in its manual page as removed by POSIX.
Contrary to its predecessors, nanosleep semantics is well
defined. The replacement, which is mostly in drivers, is
untested. Supplements http://bugs.debian.org/633791.
Last-Update: Sat, 13 Aug 2011 14:04:48 +0300
Index:
2007 May 09
3
flash CSS styling
I realize this is a CSS question, and not a rails question, so forgive
the off-topicness, but I thought rails users might have some
experience with this...
In my app I typically set one of two flash messages to inform users on
the sucess/failure of their actions. Ethier flash[:message] or
flash[:error] will be set. I want this to appear in the same place as
part of my site layout every time, so
2003 Mar 04
0
hashing known_hosts
Scenario:
I have access to a semi-public (about 30 users) server where I keep my
webpage. Occasionally, especially if I'm on the road. I use this as a
bounce point to get to "secured" systems which only allow ssh from
certian IP's. (Ignoring the discussion on spoofing, since we have host
keys)
But host keys are the problem. If anyone gets root on this hypothetical
2012 Dec 30
3
Odds Ratio and Logistic Regression
Dear All,
I am learning the ropes about logistic regression in R.
I found some interesting examples
http://bit.ly/Vq4GgX
http://bit.ly/W9fUTg
http://bit.ly/UfK73e
but I am a bit lost.
I have several questions.
1) For instance, what is the difference between
glm.out = glm(response ~ poverty + gender, family=binomial(logit),
data=mydata)
and
glm.out = glm(response ~ poverty * gender,
2009 Feb 26
1
error message and convergence issues in fitting glmer in package lme4
I'm resending this message because I did not include a subject line in my first posting.
Apologies for the inconvenience!
Tanja
> Hello,
>
> I'm trying to fit a generalized linear mixed model to estimate diabetes prevalence at US county level. To do this I'm using the glmer() function in package lme4. I can fit relatively simple models (i.e. few covariates) but when
2009 Apr 19
2
Including a vector element in an if statement
Hi all,
I've searched high and low on this and found nothing of help. I'm using
v2.6.2 and trying to write a function that will count how many people from a
dataset fall under a poverty line of 50% of the mean income.
a9 is my 100-element vector of incomes. I want pa9 to be my vector that
counts how many of these are classed as in poverty.
My problem is that my command if(a9[i] <