* strace.c (main): Fix -F option backwards compatibility.
+2008-07-24 Dmitry V. Levin <ldv@altlinux.org>
+
+ * strace.c (main): Fix -F option backwards compatibility.
+
2008-07-22 Roland McGrath <roland@redhat.com>
* Makefile.am (EXTRA_DIST): Add new debian/ files.
extern char *optarg;
struct tcb *tcp;
int c, pid = 0;
+ int optF = 0;
struct sigaction sa;
static char buf[BUFSIZ];
debug++;
break;
case 'F':
- /* Obsoleted, acts as `-f'. */
+ optF = 1;
+ break;
case 'f':
followfork++;
break;
if ((optind == argc) == !pflag_seen)
usage(stderr, 1);
+ if (!followfork)
+ followfork = optF;
+
if (followfork > 1 && cflag) {
fprintf(stderr,
"%s: -c and -ff are mutually exclusive options\n",