Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import progress(1) from NetBSD as of 202501031 #1587

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ricardobranco777
Copy link
Contributor

@ricardobranco777 ricardobranco777 commented Jan 31, 2025

Fixes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=146774

What I did:

  • Remove one __dead and add one __unused
  • Add declaration for strsuftoll
  • Change TIOCGSIZE for TIOCGWINSZ
  • Change struct ttysize for struct winsize
  • Change the above struct member ts_cols for ws_col
  • Minor style(9) fixes
  • Adapt manpage to mention FreeBSD

@ricardobranco777 ricardobranco777 force-pushed the progress branch 2 times, most recently from 413a241 to ed924ec Compare February 2, 2025 15:08
long long strsuftoll(const char *, const char *, long long, long long);

static void broken_pipe(int);
static void usage(void);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants