]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/linux-fork.c
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gdb / linux-fork.c
index 284f1985d0dcb9ee9f98412bdc920cbcf27a5610..357188685d071f41642abc4e82cda0f12b717187 100644 (file)
@@ -110,8 +110,7 @@ find_last_fork (void)
 static bool
 one_fork_p ()
 {
-  return (!fork_list.empty ()
-         && &fork_list.front () == &fork_list.back ());
+  return fork_list.size () == 1;
 }
 
 /* Add a new fork to the internal fork list.  */