From 70300fdb1c4f0834f83441fcd3fa029e110a7c2e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 15 Feb 2008 17:53:11 +0000 Subject: Perform whitespace cleanup throughout. * dcrt0.cc (signal_shift_subtract): Eliminate ancient backwards compatibility. (check_sanity_and_sync): Ditto. * winsup.h (SIGTOMASK): Ditto. Just use constant in signal calculation. * include/cygwin/version: Remove backwards signal mask compatibility define. * path.cc (symlink_info::check_sysfile): Cosmetic change. * registry.cc (get_registry_hive_path): Remove unneeded variable. * exceptions.cc (handle_sigsuspend): Eliminate thread signal mask and use either main sigmask or current thread sigmask. (set_process_mask): Ditto. (sighold): Ditto. (sigrelse): Ditto. (sigset): Ditto. (set_process_mask_delta): Ditto. (_cygtls::call_signal_handler): Ditto. * fhandler_process.cc (format_process_status): Ditto. * fhandler_termios.cc (fhandler_termios::bg_check): Ditto. * pinfo.h (class pinfo): Ditto. * select.cc (pselect): Ditto. * signal.cc (sigprocmask): Ditto. (abort): Ditto. (sigpause): Ditto. (sigsend): Ditto. (wait_sig): Ditto. * thread.h (pthread::parent_tls): New member. * thread.cc (pthread::pthread): Record parent_tls here. (pthread::thread_init_wrapper): Initialize sigmask from parent thread. --- winsup/cygwin/devices.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'winsup/cygwin/devices.in') diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in index e72d82138..9c44fbc1e 100644 --- a/winsup/cygwin/devices.in +++ b/winsup/cygwin/devices.in @@ -159,39 +159,39 @@ device::parsedisk (int drive, int part) int base; if (drive < ('q' - 'a')) /* /dev/sda -to- /dev/sdp */ base = DEV_SD_MAJOR; - else if (drive < 32) /* /dev/sdq -to- /dev/sdaf */ + else if (drive < 32) /* /dev/sdq -to- /dev/sdaf */ { base = DEV_SD1_MAJOR; drive -= 'q' - 'a'; } - else if (drive < 48) /* /dev/sdag -to- /dev/sdav */ + else if (drive < 48) /* /dev/sdag -to- /dev/sdav */ { base = DEV_SD2_MAJOR; drive -= 32; } - else if (drive < 64) /* /dev/sdaw -to- /dev/sdbl */ + else if (drive < 64) /* /dev/sdaw -to- /dev/sdbl */ { base = DEV_SD3_MAJOR; drive -= 48; } - else if (drive < 80) /* /dev/sdbm -to- /dev/sdcb */ + else if (drive < 80) /* /dev/sdbm -to- /dev/sdcb */ { base = DEV_SD4_MAJOR; drive -= 64; } - else if (drive < 96) /* /dev/sdcc -to- /dev/sdcr */ + else if (drive < 96) /* /dev/sdcc -to- /dev/sdcr */ { base = DEV_SD5_MAJOR; drive -= 80; } - else if (drive < 112) /* /dev/sdcs -to- /dev/sddh */ + else if (drive < 112) /* /dev/sdcs -to- /dev/sddh */ { base = DEV_SD6_MAJOR; drive -= 96; } /* NOTE: This will cause multiple /dev/sddx entries in - /proc/partitions if there are more than 128 devices */ - else /* /dev/sddi -to- /dev/sddx */ + /proc/partitions if there are more than 128 devices */ + else /* /dev/sddi -to- /dev/sddx */ { base = DEV_SD7_MAJOR; drive -= 112; -- cgit v1.2.3