* kill.c (main): Avoid skipping next argument when a signal number is

specified.
* Makefile.in: Always clean dumper.exe.
This commit is contained in:
Christopher Faylor 2000-08-29 01:58:00 +00:00
parent 6beeb24016
commit 1b38471e5e
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Mon Aug 28 21:55:56 2000 Christopher Faylor <cgf@cygnus.com>
* kill.c (main): Avoid skipping next argument when a signal number is
specified.
* Makefile.in: Always clean dumper.exe.
Fri Aug 25 12:41:53 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in: Only build dumper.exe when all of its library and

View File

@ -72,10 +72,12 @@ PROGS:=mount$(EXEEXT) umount$(EXEEXT) ps$(EXEEXT) kill$(EXEEXT) \
passwd$(EXEEXT) getfacl$(EXEEXT) setfacl$(EXEEXT) strace$(EXEEXT) \
regtool$(EXEEXT)
CLEAN_PROGS:=$(PROGS)
ifdef build_dumper
PROGS+=dumper$(EXEEXT)
else
PROGS:=warn_dumper $(PROGS)
CLEAN_PROGS+=dumper.exe
endif
.SUFFIXES:
@ -106,7 +108,7 @@ mingw_getopt.o: $(cygwin_source)/lib/getopt.c
$(CC) -c -o $@ $(MINGW_CFLAGS) $^
clean:
rm -f *.o $(PROGS)
rm -f *.o $(CLEAN_PROGS)
realclean: clean
rm -f Makefile config.cache

View File

@ -37,7 +37,7 @@ main (int argc, char **argv)
break;
else if (strcmp(*argv + 1, "0") != 0)
{
sig = getsig (*argv++ + 1);
sig = getsig (*argv + 1);
gotsig = 1;
}
else