Displaying 20 results from an estimated 800 matches similar to: "[PATCH] Solais has nanosleep, too."
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
2004 Aug 06
2
[PATCH] Solaris needs sys/types.h for uint32_t
Otherwise, well, things tend not to pan out as they should when compiling
anything that #includes md5.h
Patch against cvs HEAD attached
/dale
-------------- next part --------------
Index: src/md5.h
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/md5.h,v
retrieving revision 1.2
diff -u -r1.2 md5.h
--- src/md5.h 29 Jan 2004 01:02:06
2004 Aug 06
2
[PATCH] main.c: use pid_t and cleanup command line opts parsing.
Use pid_t instead of int for variable processID
Add error message if fork() fails.
Do not immediately return() after encountering the -c flag - we may still
have additional argv members to find and take care of.
/dale
-------------- next part --------------
Index: main.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/main.c,v
2004 Aug 06
0
ices2: ice-url header patch
After reading this posting in the icecast archives (http://www.xiph.org/archives/icecast/3483.html) about setting the stream url in the metadata with ices2, I couldn't see that it actually was possible to set the ice-url anywhere.
Please let me know if the attached patch is any use, and if I'm sending it to the right place! (Unix linefeeds). I use it with Peercast. It means you can add
2004 Aug 06
2
icecast 2 compatibility with older clients
I've attached a small patch against icecast 2 which converts ice-
headers to icy- headers for clients that include icy- headers in their
request. This allows a few clients (notably xmms) to pick up stream
info they otherwise miss.
-b
-------------- next part --------------
Index: src/format.c
===================================================================
RCS file:
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
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:
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:
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 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 @@
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 +
2012 Jun 15
0
Opus and WebM support have landed
On 14/06/2012 11:35, R?cker Thomas wrote:
> Hi,
>
> quick info. Yesterday Rillian landed Oneman's patches adding ogg/opus
> and WebM support on Icecast trunk.
> Big thanks for all the work that has gone into this!
>
> Please use trunk for your testing and development in this area from now.
> If you run into problems please send
2004 Aug 06
1
icecast-1.3.12 on SunOS
Thomas,
unfortunately it does slow down the machine. I am working in a chroot
enviroment and there are other users on the same box. Therefore it's of
special importance that I don't consume the cpu by myself.
Titus
Am Sonntag den, 15. September 2002, um 23:37, schrieb Thomas Vander
Stichele:
> Apart from what probably is a bad assumption in the code, does it
> actually
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
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 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
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
Commit-ID: 8b44cc180f664532821211e8261534b0c9e6c01c
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8b44cc180f664532821211e8261534b0c9e6c01c
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 14 Jan 2023 02:15:10 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sun, 15 Jan 2023 21:28:18 +0100
[klibc] time: Use clock_* system
2002 Jun 14
1
[PATCH]: auth-passwd.c: Eliminate a Cygwin special case
Hi,
as it turned out on the Cygwin mailing list, the special handling
of empty password in auth-passwd.c when running under Windows NT
results in problems.
Cause: The authentication methode "none" calls auth_password()
with an empty password. A piece of HAVE_CYGWIN code allows empty
passwords even if PermitEmptyPasswords is set to "no". This in
turn results in calling
2002 Mar 28
1
[PATCH] Feature addition: user access control per auth method
I added a few features to openssh for my local use that I think would
be more broadly useful. I basically added access control lists to
control who would be allowed public key authentication. I added four
config file entries for the server:
PubkeyAllowUsers
PubkeyDenyUsers
PubkeyAllowGroups
PubkeyDenyGroups
These follow the same sematics as the already existing entries for