1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-04 23:17:46 +00:00

docs/polish ~ polish/update commentary and copyrights

This commit is contained in:
Roy Ivy III 2020-05-27 13:22:52 -05:00
parent 70871edac9
commit 88e5631fa4
7 changed files with 30 additions and 34 deletions

View file

@ -1,11 +1,9 @@
/* // This file is part of the uutils coreutils package.
* This file is part of the uutils coreutils package. //
* // (c) Alex Lyon <arcterus@mail.com>
* (c) Alex Lyon <arcterus@mail.com> //
* // For the full copyright and license information, please view the LICENSE
* For the full copyright and license information, please view the LICENSE // file that was distributed with this source code.
* file that was distributed with this source code.
*/
use std::time::Duration; use std::time::Duration;

View file

@ -41,7 +41,7 @@ pub enum ExitStatus {
impl ExitStatus { impl ExitStatus {
fn from_status(status: c_int) -> ExitStatus { fn from_status(status: c_int) -> ExitStatus {
if status & 0x7F != 0 { if status & 0x7F != 0 {
// WIFSIGNALED(status) // WIFSIGNALED(status) == terminating by/with unhandled signal
ExitStatus::Signal(status & 0x7F) ExitStatus::Signal(status & 0x7F)
} else { } else {
ExitStatus::Code(status & 0xFF00 >> 8) ExitStatus::Code(status & 0xFF00 >> 8)

View file

@ -1,11 +1,9 @@
/* // This file is part of the uutils coreutils package.
* This file is part of the uutils coreutils package. //
* // (c) Maciej Dziardziel <fiedzia@gmail.com>
* (c) Maciej Dziardziel <fiedzia@gmail.com> //
* // For the full copyright and license information, please view the LICENSE file
* For the full copyright and license information, please view the LICENSE file // that was distributed with this source code.
* that was distributed with this source code.
*/
pub static DEFAULT_SIGNAL: usize = 15; pub static DEFAULT_SIGNAL: usize = 15;

View file

@ -1,11 +1,10 @@
/* // This file is part of the uutils coreutils package.
* This file is part of the uutils coreutils package. //
* // (c) Peter Atashian <retep998@gmail.com>
* (c) Peter Atashian <retep998@gmail.com> //
* // For the full copyright and license information, please view the LICENSE
* For the full copyright and license information, please view the LICENSE // file that was distributed with this source code.
* file that was distributed with this source code.
*/
use std::ffi::{OsStr, OsString}; use std::ffi::{OsStr, OsString};
use std::os::windows::ffi::{OsStrExt, OsStringExt}; use std::os::windows::ffi::{OsStrExt, OsStringExt};
pub trait ToWide { pub trait ToWide {

View file

@ -1,6 +1,7 @@
// library ~ (core/bundler file) // library ~ (core/bundler file)
// spell-checker:ignore (uucore/uutils) coreopts libc musl utmpx uucore uutils winapi // Copyright (C) ~ Alex Lyon <arcterus@mail.com>
// Copyright (C) ~ Roy Ivy III <rivy.dev@gmail.com>; MIT license
//## external crates //## external crates

View file

@ -1,11 +1,9 @@
/* // This file is part of the uutils coreutils package.
* This file is part of the uutils coreutils package. //
* // (c) Alex Lyon <arcterus@mail.com>
* (c) Alex Lyon <arcterus@mail.com> //
* // For the full copyright and license information, please view the LICENSE
* For the full copyright and license information, please view the LICENSE // file that was distributed with this source code.
* file that was distributed with this source code.
*/
#[macro_export] #[macro_export]
macro_rules! executable( macro_rules! executable(

View file

@ -1,6 +1,8 @@
#![allow(dead_code)] // work-around for GH:rust-lang/rust#62127; maint: can be removed when MinSRV >= v1.38.0 #![allow(dead_code)] // work-around for GH:rust-lang/rust#62127; maint: can be removed when MinSRV >= v1.38.0
#![allow(unused_macros)] // work-around for GH:rust-lang/rust#62127; maint: can be removed when MinSRV >= v1.38.0 #![allow(unused_macros)] // work-around for GH:rust-lang/rust#62127; maint: can be removed when MinSRV >= v1.38.0
// Copyright (C) ~ Roy Ivy III <rivy.dev@gmail.com>; MIT license
extern crate proc_macro; extern crate proc_macro;
// spell-checker:ignore () SIGPIPE maint uucore uumain uutils // spell-checker:ignore () SIGPIPE maint uucore uumain uutils