Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
procps.4784
procps-v3.3.4-w-simply-work.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procps-v3.3.4-w-simply-work.diff of Package procps.4784
--- w.c +++ w.c 2012-10-30 11:05:00.182344798 +0000 @@ -569,8 +569,19 @@ int main(int argc, char **argv) maxcmd = atoi(p); else maxcmd = MAX_CMD_WIDTH; +#if 0 + /* + * I have no idea why it shouldn't be allowed to see the result + * with a line wrap. The other solution would be to create a + * wcat alias, which does w|cat to work around this, but this + * would be stupid in my opinion. + */ if (maxcmd < 71) xerrx(EXIT_FAILURE, _("%d column window is too narrow"), maxcmd); +#else + if (maxcmd < 71) + xwarnx(_("%d column window could be to too narrow"), maxcmd); +#endif if (MAX_CMD_WIDTH < maxcmd) { xwarnx(_("%d column width exceeds command buffer size, truncating to %d"), maxcmd, MAX_CMD_WIDTH);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor