Scott Shambarger's Red Hat 8 rpmbuild fixes
This commit is contained in:
parent
89ccfbf4f8
commit
38f224530b
@ -44,4 +44,5 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%attr(555,root,root) /usr/bin/*
|
||||
|
||||
%attr(0644,root,root) /usr/share/man/man1/*
|
||||
%attr(0644,root,root) /usr/share/man/man5/*
|
||||
%attr(0644,root,root) /usr/share/man/man8/*
|
||||
|
@ -33,8 +33,8 @@ ps/stacktrace.o: ps/stacktrace.c
|
||||
|
||||
|
||||
$(bin)ps: ps/ps
|
||||
install --mode a=rx --strip $< $@
|
||||
$(install) --mode a=rx --strip $< $@
|
||||
|
||||
$(man1)ps.1 : ps/ps.1
|
||||
install --mode a=r $< $@
|
||||
$(install) --mode a=r $< $@
|
||||
-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz
|
||||
|
2
top.c
2
top.c
@ -3237,8 +3237,8 @@ int main (int dont_care_argc, char **argv)
|
||||
if (chin(0, &c, 1) <= 0) {
|
||||
fcntl(STDIN_FILENO, F_SETFL, file_flags);
|
||||
select(1, &fs, NULL, NULL, &tv);
|
||||
fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK|file_flags);
|
||||
}
|
||||
fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK|file_flags);
|
||||
if (chin(0, &c, 1) > 0) {
|
||||
fcntl(STDIN_FILENO, F_SETFL, file_flags);
|
||||
do_key((unsigned)c);
|
||||
|
Loading…
Reference in New Issue
Block a user