[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mingw cleanups
From: |
Eric Blake |
Subject: |
mingw cleanups |
Date: |
Sat, 21 Jun 2008 13:08:36 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
While working on signal code and testing on mingw, I noticed the following
warnings.
warning: module sigprocmask depends on a module with an incompatible
license: raise
...
../../gllib/nanosleep.c: In function `my_usleep':
../../gllib/nanosleep.c:140: warning: implicit declaration of function
`select'
Fixed as follows.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhdUbMACgkQ84KuGfSFAYC4SgCgtoIuItIk0ijtbDKojeSADHXi
BzwAoKKa5oMVYULhnRyZBN3KsyqTDICd
=+KSZ
-----END PGP SIGNATURE-----
>From b68bcb3de467d0d74ef961d20deaeb624e844775 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Sat, 21 Jun 2008 12:57:35 -0600
Subject: [PATCH] Fix licensing of sigprocmask.
* modules/raise (License): Relicense as LGPL.
Signed-off-by: Eric Blake <address@hidden>
---
ChangeLog | 5 +++++
modules/raise | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 81c0893..6d6375c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-21 Eric Blake <address@hidden>
+
+ Fix licensing of sigprocmask.
+ * modules/raise (License): Relicense as LGPL.
+
2008-06-21 Bruno Haible <address@hidden>
* lib/propername.c (proper_name_utf8): Don't use the transliterated
diff --git a/modules/raise b/modules/raise
index a303e29..8ff76c9 100644
--- a/modules/raise
+++ b/modules/raise
@@ -14,7 +14,7 @@ Makefile.am:
Include:
License:
-GPL
+LGPL
Maintainer:
Jim Meyering
--
1.5.6
>From fb90809748e4a351e5747ddd5a3cf3372495c0b8 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Sat, 21 Jun 2008 13:04:16 -0600
Subject: [PATCH] Fix nanosleep module on mingw.
* modules/nanosleep (Depends-on): Add sys_select.
* lib/nanosleep.c (HAVE_SYS_SELECT_H): Rely on gnulib module.
Signed-off-by: Eric Blake <address@hidden>
---
ChangeLog | 4 ++++
lib/nanosleep.c | 6 ++----
modules/nanosleep | 1 +
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6d6375c..9f4d999 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-06-21 Eric Blake <address@hidden>
+ Fix nanosleep module on mingw.
+ * modules/nanosleep (Depends-on): Add sys_select.
+ * lib/nanosleep.c (HAVE_SYS_SELECT_H): Rely on gnulib module.
+
Fix licensing of sigprocmask.
* modules/raise (License): Relicense as LGPL.
diff --git a/lib/nanosleep.c b/lib/nanosleep.c
index 456e745..1239cb0 100644
--- a/lib/nanosleep.c
+++ b/lib/nanosleep.c
@@ -1,6 +1,6 @@
/* Provide a replacement for the POSIX nanosleep function.
- Copyright (C) 1999, 2000, 2002, 2004, 2005, 2006, 2007 Free
+ Copyright (C) 1999, 2000, 2002, 2004, 2005, 2006, 2007, 2008 Free
Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
@@ -27,9 +27,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <sys/types.h>
-#if HAVE_SYS_SELECT_H
-# include <sys/select.h>
-#endif
+#include <sys/select.h>
#include <signal.h>
#include <sys/time.h>
diff --git a/modules/nanosleep b/modules/nanosleep
index 3035a13..3ff486e 100644
--- a/modules/nanosleep
+++ b/modules/nanosleep
@@ -10,6 +10,7 @@ clock-time
extensions
gettime
stdbool
+sys_select
sys_time
time
--
1.5.6
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mingw cleanups,
Eric Blake <=