diff options
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/check_fds.c | 4 | ||||
-rw-r--r-- | sysdeps/mach/hurd/getsockname.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/net/if_ppp.h | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/recvfrom.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/check_fds.c b/sysdeps/mach/hurd/check_fds.c index 9b335c214e..979fcb7de4 100644 --- a/sysdeps/mach/hurd/check_fds.c +++ b/sysdeps/mach/hurd/check_fds.c @@ -61,7 +61,7 @@ check_one_fd (int fd, int mode) return; } } - + /* We cannot even give an error message here since it would run into the same problems. */ while (1) @@ -100,7 +100,7 @@ __libc_check_standard_fds (void) /* We don't check the standard file descriptors here. They will be checked when we initialize the file descriptor table, as part of the _hurd_fd_subinit hook. - + This function is only present to make sure that this module gets linked in when part of the static libc. */ } diff --git a/sysdeps/mach/hurd/getsockname.c b/sysdeps/mach/hurd/getsockname.c index f99bb52905..4e6c517931 100644 --- a/sysdeps/mach/hurd/getsockname.c +++ b/sysdeps/mach/hurd/getsockname.c @@ -47,7 +47,7 @@ __getsockname (fd, addrarg, len) if (*len > buflen) *len = buflen; - + if (buf != (char *) addr) { memcpy (addr, buf, *len); diff --git a/sysdeps/mach/hurd/net/if_ppp.h b/sysdeps/mach/hurd/net/if_ppp.h index bf5ec83875..1b1c3ea6eb 100644 --- a/sysdeps/mach/hurd/net/if_ppp.h +++ b/sysdeps/mach/hurd/net/if_ppp.h @@ -3,7 +3,7 @@ /* * if_ppp.h - Point-to-Point Protocol definitions. * - * Copyright (c) 1989 Carnegie Mellon University. + * Copyright (c) 1989 Carnegie Mellon University. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/sysdeps/mach/hurd/recvfrom.c b/sysdeps/mach/hurd/recvfrom.c index 4830adceda..ea85db99f0 100644 --- a/sysdeps/mach/hurd/recvfrom.c +++ b/sysdeps/mach/hurd/recvfrom.c @@ -75,7 +75,7 @@ __recvfrom (fd, buf, n, flags, addrarg, addr_len) __mach_port_deallocate (__mach_task_self (), addrport); return __hurd_sockfail (fd, flags, err); } - + if (*addr_len > buflen) *addr_len = buflen; |