Displaying 20 results from an estimated 1000 matches similar to: "Build failures: nanosleep on Solaris and AIX 4.2.x"
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
2003 Mar 31
2
basename() in libgen
IRIX 6.5 has the basename() function in libgen.
SYNOPSIS
cc [flag ...] file ... -lgen [library ...]
#include <libgen.h>
char *basename (char *path);
-- ayamura
2003 Apr 08
1
IRIX compilation and openbsd-compat/basename.h
I was trying to compile openssh-3.6.1p1 on IRIX and ran across this
error while compiling progressmeter.c:
"/usr/include/libgen.h", line 35: error(1143): declaration is incompatible
with "char *basename(const char *)" (declared at line 9 of
"openbsd-compat/basename.h")
extern char *basename(char *);
^
1 error detected in the
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
2005 Feb 24
1
[PATCH] Drop SETGROUPS_NOOP
Hi,
the SETGROUPS_NOOP define is used only for Cygwin. But it's also
combined with the HAVE_SETGROUPS test in bsd-misc.c. So, since
setgroups() exists and is functional in Cygwin, this is actually a
noop in the more general sense. The below patch drops that entirely.
Corinna
Index: acconfig.h
===================================================================
RCS file:
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 @@
2003 Jul 03
0
AIX cleanups: includes and arguments
Hi All.
First the questions:
Is there anything objectionable in this patch?
Is AUDIT_FAIL_AUTH appropriate for the "Reason" field?
Now the details: attached is a patch that changes some of the #includes
for AIX. It moves the AIX-specific includes to port-aix.h and adds
includes that contain the prototypes for many of the authentication
functions. The idea isto fix some warnings.
2003 Jul 09
3
OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes
Greetings,
I have compiled OpenSSH-3.6.1p2 on SCO 3.2v4.2 and
the following problem occurs:
I am unable to login as root using when strictmode is set to yes.
output of debug:
Failed none for root from 192.168.1.1 port 1199 ssh2
debug1: userauth-request for user root service ssh-connection method
publickey
debug1: attempt 1 failures 1
debug2: input_userauth_request: try method publickey
debug1:
2003 May 09
1
[Bug 558] configure broken_dirname checks not run on Solaris 2.5.1
http://bugzilla.mindrot.org/show_bug.cgi?id=558
Summary: configure broken_dirname checks not run on Solaris 2.5.1
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
2003 Sep 17
5
problems with 3.7.1p1 on IRIX (again)
Hi,
I've seen a few messages re. problems with 3.7.1p1 on IRIX 6.5...
I'm using 6.5.19 and having no trouble compiling, installing and
starting, but sshd just closes the connection with no explanation.
debug/verbose modes don't seem to give any clues.
Darren Tucker suggested defining BROKEN_GETADDRINFO in config.h,
but I find that compilation then fails (assuming I've implemented
2003 Sep 06
20
[Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes (broken dirname in libgen)
http://bugzilla.mindrot.org/show_bug.cgi?id=615
------- Additional Comments From dtucker at zip.com.au 2003-09-06 12:51 -------
Created an attachment (id=387)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=387&action=view)
Move libgen test after dirname test
Looked at this again, I think the reason it's not working is libgen has already
been detected before the dirname test,
2002 Jul 04
1
[PATCH]: Remove HAVE_CYGWIN in favor of NO_IPPORT_RESERVED_CONCEPT
Hi,
I've sent that patch once already but it seems more or less forgotten
in the tumultuous days of the latest vulnerability.
It adds a new define NO_IPPORT_RESERVED_CONCEPT which can be defined
on platforms not supporting the concept of "privileged" ports only
accessible by privileged users but which allow everyone to use these
ports.
This patch removes some Cygwin dependencies
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:
2003 Sep 08
1
please test (HEADER.ad)
Could someone with HEADER.ad in arpa/nameser.h please test the
attached patch (against current) to see it it's detected.
None of my platforms have the ad member.
config.h will end up with "#define HAVE_HEADER_AD".
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
-------------- next part --------------
--- openssh/configure.ac.old 2003-09-08 06:33:33.000000000
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:
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
2003 Feb 26
1
nanosleep
Could someone familear with the OpenBSD tree please point me to nanoslep.
scp.c now uses it and it's not in all plattorms so we'll ethier have to add
one to openbsd-compat or ifdef that chunk.
Thanks.
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
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
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 +
2019 Jul 26
1
[nbdkit PATCH] delay: Avoid numeric overflow
Attempting delay-read=1000 results in no delay whatsoever: 1000
seconds, scaled to milliseconds, stored in int, then subjected to
.tv_nsec = (ms * 1000000) % 1000000000
results in .tv_nsec being set to 567587328 thanks to 32-bit overflow,
but that in turn results in instant EINVAL failure of nanosleep().
Fix it by diagnosing failure to fit in an int during config, and avoid
math that