Applied, thanks!
This fixes several linking problems I had in my recent cross-compilation
of the Hurd. I added missing static libraries and also organized some of
the targets for more concise rules.
* console-client/Makefile: Add libiohelp.a and libihash.a.
* daemons/Makefile: Add libihash.a and libshouldbeinlibc.
On Tue, Dec 29, 2015 at 11:17:12PM +0100, Samuel Thibault wrote:
> Flavio Cruz, on Tue 29 Dec 2015 23:10:44 +0100, wrote:
> > ---
>
> Oops, no: I meant the *comment* after the ---, the changelog has to go
> before the ---, that's where git am picks it up.
>
> > @@ -72,7 +72,7 @@ init_filesystems
Flavio Cruz, on Tue 29 Dec 2015 23:15:01 +0100, wrote:
> @@ -414,7 +414,7 @@ cmd_umask (pid_t pid, mach_port_t msgport, int argc, char
> *argv[])
> }
>else
> {
> - err = msg_get_init_int (msgport, task, INIT_UMASK, &umask);
> + err = msg_get_init_int (msgport, task, INIT_UM
Applied, thanks!
Applied, thanks!
Applied, thanks!
Applied, thanks!
Applied, thanks!
Flavio Cruz, on Tue 29 Dec 2015 23:10:44 +0100, wrote:
> ---
Oops, no: I meant the *comment* after the ---, the changelog has to go
before the ---, that's where git am picks it up.
> @@ -72,7 +72,7 @@ init_filesystems (void)
>
>for (line = 1; ; line++)
> {
> - nitems = fscanf (ind
---
utils: Fix compiler warnings.
* utils/msgport.c (cmd_umask): Cast umask to int *.
* utils/rpcscan.c (setup_extract_target): Remove name variable.
* utils/rpcscan.c (setup_extract_target): Fix bad initializer.
* utils/rpctrace.c (new_send_wrapper, wrap_all_threads, wrap_new_thread,
wrap_new_ta
---
trans: Fix compiler warnings.
* trans/mtab.c (mtab_mark_as_seen): Cast idport to hurd_ihash_value_t.
* trans/streamio.c (dev_open): Cast name to char *.
diff --git a/trans/mtab.c b/trans/mtab.c
index a9928b3..6d580cd 100644
--- a/trans/mtab.c
+++ b/trans/mtab.c
@@ -330,7 +330,7 @@ mtab_mark_
Applied, thanks!
---
startup: Fix compiler warning.
* startup/startup.c (do_mach_notify_dead_name): Fix format string.
diff --git a/startup/startup.c b/startup/startup.c
index e916768..9c45f4b 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -1329,7 +1329,7 @@ do_mach_notify_dead_name (mach_port_t notif
---
random: Fix compiler warnings.
* random/gnupg-random.c: Use byte instead of char.
* random/gnupg-rmd.h (rmd160_mixblock): Use byte instead of char.
* random/gnupg-rmd.c (rmd160_mixblock): Likewise.
* random/gnupg-rmd.c: Place #ifdef __HURD__ earlier to avoid warnings.
diff --git a/random/gnu
Applied, thanks!
---
proc: Add missing header file.
* proc/mgt: Include missing header file mach/task_notify.h.
diff --git a/proc/mgt.c b/proc/mgt.c
index ff1ca48..dacce46 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -21,6 +21,7 @@
/* Written by Michael I. Bushnell. */
#include
+#include
#include
#inclu
---
nfs: Fix compiler warnings.
* nfs/ops.c (netfs_get_dirents): Initialize buf.
* nfsd/nfsd.h: Define cache_handle_array union.
* nfsd/cache.c: Use new cache_handle_array union.
* nfds/ops.c: Likewise.
diff --git a/nfs/ops.c b/nfs/ops.c
index a4d6ac7..79cd3a6 100644
--- a/nfs/ops.c
+++ b/nfs/op
---
procfs: Fix compiler warnings.
* include/sys/procfs.h: Change uintptr_t to vm_address_t.
* procfs/process.c: Fix format strings.
* procfs/rootdir.c: Add missing casts.
diff --git a/include/sys/procfs.h b/include/sys/procfs.h
index ec82308..09d2030 100644
--- a/include/sys/procfs.h
+++ b/incl
---
mach-defpager: Drop the deprecated malloc/free hooks.
* mach-defpager/kalloc.c: Define malloc and free directly since those are weak
symbols.
diff --git a/mach-defpager/kalloc.c b/mach-defpager/kalloc.c
index ef844ac..35ddf9a 100644
--- a/mach-defpager/kalloc.c
+++ b/mach-defpager/kalloc.c
@
---
libstore: Fix compiler warnings.
* libstore/decode.c (store_std_leaf_decode): Drop the type variable.
* libstore/zero.c (zero_decode): Likewise.
* libstore/file.c: Add missing casts.
diff --git a/libstore/decode.c b/libstore/decode.c
index 64405ec..4bb23c1 100644
--- a/libstore/decode.c
+++
Applied, thanks!
Applied, thanks!
Applied, thanks!
Applied, thanks!
---
libshouldbeinlibc: Fix compiler warnings.
* libshouldbeinlibc/portinfo.c: Fix format strings.
* libshouldbeinlibc/xportinfo.c: Likewise.
* libshouldbeinlibc/ugids-verify-auth.c (server_verify_make_auth): Drop the
const qualifier.
diff --git a/libshouldbeinlibc/portinfo.c b/libshouldbeinlibc/
---
libnetfs: Fix compiler warning.
* libnetfs/dir-lookup.c (netfs_S_dir_lookup): Initialize newpi.
diff --git a/libnetfs/dir-lookup.c b/libnetfs/dir-lookup.c
index 7ca526b..8b8cd6e 100644
--- a/libnetfs/dir-lookup.c
+++ b/libnetfs/dir-lookup.c
@@ -49,7 +49,7 @@ netfs_S_dir_lookup (struct protid
---
libihash: Fix compiler warning.
* libihash/ihash.c (find_index): Cast item to struct _hurd_ihash_item.
diff --git a/libihash/ihash.c b/libihash/ihash.c
index 596f6ff..4bc54fd 100644
--- a/libihash/ihash.c
+++ b/libihash/ihash.c
@@ -114,7 +114,7 @@ find_index (hurd_ihash_t ht, hurd_ihash_key_
---
libftpconn: Fix compiler warnings.
* libftpconn/cmd.c (ftp_conn_abort): Remove err variable.
* libftpconn/reply.c (ftp_conn_get_raw_reply): Initialize l and len.
diff --git a/libftpconn/cmd.c b/libftpconn/cmd.c
index 803dda7..9916d03 100644
--- a/libftpconn/cmd.c
+++ b/libftpconn/cmd.c
@@ -1
Applied, thanks!
Applied, thanks!
Applied, thanks!
---
libdiskfs: Fix compiler warnings.
* libdiskfs/boot-start.c (diskfs_start_bootstrap): Cast to char * to make mig
happy.
* libdiskfs/dir-chg.c (diskfs_notice_dirchange): Likewise.
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 731d8c6..60bf33d 100644
--- a/libdiskfs/boot-st
* isofs/rr.c (rrip_work): Use unsigned char.
* isofs/rr.h: Use unsigned char instead of char.
diff --git a/isofs/rr.c b/isofs/rr.c
index adc95c3..59205da 100644
--- a/isofs/rr.c
+++ b/isofs/rr.c
@@ -84,7 +84,7 @@ rrip_work (struct dirrect *dr, struct rrip_lookup *rr,
{
struct dirrect *
* fatfs/dir.c: Use casts to avoid warnings.
* fatfs/fat.c: Use unsigned char in fat_{from,to}_epoch.
* fatfs/fat.h: Change arguments accordingly.
* fatfs/fat.c (fat_read_sblock): Use size_t instead.
* fatfs/inode.c (diskfs_cached_lookup_in_dirbuf): Remove err variable.
* fatfs/inode.c (diskfs_user_
Hello,
Flavio Cruz, on Tue 29 Dec 2015 21:17:25 +0100, wrote:
> console-client: Fix compiler warning.
>
> * console-client/pc-kbd.c (update_leds): Replace mach_msg_type_number_t with
> int.
Applied, thanks. Unfortunately, I pushed it before realizing that
git-am has put the whole mail instead o
On Tue, Dec 29, 2015 at 08:43:24PM +0100, Samuel Thibault wrote:
> Flavio Cruz, on Tue 29 Dec 2015 17:35:00 +0100, wrote:
> > @@ -663,10 +663,11 @@ update_leds (void)
> > | (led_state.num_lock ? 2 : 0)
> > | (led_state.caps_lock ? 4 : 0);
> >
> > - err = device_write_inband (kb
Samuel Thibault, on Tue 29 Dec 2015 20:43:24 +0100, wrote:
> Flavio Cruz, on Tue 29 Dec 2015 17:35:00 +0100, wrote:
> > @@ -663,10 +663,11 @@ update_leds (void)
> > | (led_state.num_lock ? 2 : 0)
> > | (led_state.caps_lock ? 4 : 0);
> >
> > - err = device_write_inband (kbd_dev,
Applied, thanks!
Applied, thanks!
Applied, thanks!
Applied, thanks!
Flavio Cruz, on Tue 29 Dec 2015 17:35:00 +0100, wrote:
> @@ -663,10 +663,11 @@ update_leds (void)
> | (led_state.num_lock ? 2 : 0)
> | (led_state.caps_lock ? 4 : 0);
>
> - err = device_write_inband (kbd_dev, 0, -1, (void *) leds, 2,
> &data_cnt);
> + err = device_writ
ext2fs: Fix compiler warnings.
* ext2fs/balloc.c: Use unsigned char instead of char.
* ext2fs/bitmap.c Use unsigned char for bitmaps.
* ext2fs/dir.c: Fix format.
* ext2fs/ext2fs.h: Use unsigned char for bitmaps.
* ext2fs/ialloc.c: Use unsigned char for bitmaps. Fix format string in
ext2_warning.
exec: Fix compiler warnings.
* exec/elfcore.c: Cast arguments to vm_address_t.
* exec/main.c: Use %lu in asprintf.
diff --git a/exec/elfcore.c b/exec/elfcore.c
index 3e4551e..4840217 100644
--- a/exec/elfcore.c
+++ b/exec/elfcore.c
@@ -408,8 +408,8 @@ dump_core (task_t task, file_t file, off_t c
daemons: Fix compiler warnings.
* daemons/lmail.c: Initialize cached to 0.
diff --git a/daemons/lmail.c b/daemons/lmail.c
index 963f5dc..33ccf66 100644
--- a/daemons/lmail.c
+++ b/daemons/lmail.c
@@ -510,7 +510,7 @@ main (int argc, char **argv)
else
/* Multiple recipients. */
{
-
console-client: Fix several compiler warnings.
* console-client/bdf.c: Use size_t instead of int.
* console-client/driver.c: Remove unused variable errstring.
* console-client/pc-kbd.c: Cast arguments to device_write_inband. Cast sc to
scancode_x1 before comparing with enum values.
* console-clie
Lately, I've had the chance to cross-compile the hurd using gcc 5.3 and
I've decided to fix some compiler warnings I've noticed. I'll send the
patches for each sub-directory in separate emails.
boot: Fix boot.c compiler warning.
* boot/boot.c: Compare header without using pointer dereferencing.
48 matches
Mail list logo