Break further lines before not after operators

System Internals / glibc - Joseph Myers [codesourcery.com] - 26 February 2019 15:01 EST

This patch continues the process of fixing coding style to break lines before not after operators in accordance with the GNU Coding Standards, fixing such issues in a non-exhaustive selection of sysdeps files that had them.

Tested for x86_64, and with build-many-glibcs.py.

- sysdeps/arm/sysdep.h (#if condition): Break lines before rather than after operators.
- sysdeps/mach/hurd/fork.c (__fork): Likewise.
- sysdeps/mach/hurd/getcwd.c (__hurd_canonicalize_directory_name_internal): Likewise.
- sysdeps/mach/hurd/htl/pt-mutex-consistent.c (pthread_mutex_consistent): Likewise.
- sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init): Likewise.
- sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c (__pthread_mutex_transfer_np): Likewise.
- sysdeps/mach/hurd/htl/pt-mutex-unlock.c (__pthread_mutex_unlock): Likewise.
- sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise. (mtx_owned_p): Likewise.
- sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c (pthread_mutexattr_getrobust): Likewise.
- sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
- sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Likewise.
- sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
- sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
- sysdeps/mach/hurd/kill.c (__kill): Likewise.
- sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
- sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
- sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
- sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition): Likewise.
- sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo): Likewise.
- sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
- sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
- sysdeps/unix/sysv/linux/generic/____longjmp_chk.c (____longjmp_chk): Likewise.
- sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat): Likewise.
- sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL): Likewise.
- sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL): Likewise.
- sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (__get_clockfreq_via_cpuinfo): Likewise.

aa0e46636a Break further lines before not after operators.
ChangeLog | 43 +++++++++++++
sysdeps/arm/sysdep.h | 4 +-
sysdeps/mach/hurd/fork.c | 72 +++++++++++-----------
sysdeps/mach/hurd/getcwd.c | 10 +--
sysdeps/mach/hurd/htl/pt-mutex-consistent.c | 10 +--
sysdeps/mach/hurd/htl/pt-mutex-init.c | 12 ++--
sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c | 4 +-
sysdeps/mach/hurd/htl/pt-mutex-unlock.c | 8 +--
sysdeps/mach/hurd/htl/pt-mutex.h | 10 +--
sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c | 4 +-
sysdeps/mach/hurd/i386/init-first.c | 4 +-
sysdeps/mach/hurd/i386/trampoline.c | 8 +--
sysdeps/mach/hurd/ioctl.c | 32 +++++-----
sysdeps/mach/hurd/jmp-unwind.c | 4 +-
sysdeps/mach/hurd/kill.c | 8 +--
sysdeps/mach/hurd/mig-reply.c | 6 +-
sysdeps/mach/hurd/ptrace.c | 4 +-
sysdeps/sparc/sparc64/dl-machine.h | 44 ++++++-------
sysdeps/unix/sysv/linux/aarch64/sysdep.h | 6 +-
sysdeps/unix/sysv/linux/alpha/ioperm.c | 13 ++--
sysdeps/unix/sysv/linux/bits/timex.h | 4 +-
sysdeps/unix/sysv/linux/csky/sysdep.h | 4 +-
sysdeps/unix/sysv/linux/generic/____longjmp_chk.c | 4 +-
sysdeps/unix/sysv/linux/generic/futimesat.c | 4 +-
sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h | 6 +-
sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h | 6 +-
.../unix/sysv/linux/sparc/sparc64/get_clockfreq.c | 4 +-
27 files changed, 192 insertions(+), 146 deletions(-)

Upstream: sourceware.org


  • Share