Patch 9.0.0589
Problem:    On AmigaOS4 the pid is available but the task address is used.
Solution:   Use getpid().  (Ola Söder, closes #11224)
Files:      src/os_amiga.c


*** ../vim-9.0.0588/src/os_amiga.c      2022-05-09 19:12:32.000000000 +0100
--- src/os_amiga.c      2022-09-25 20:10:23.140625694 +0100
***************
*** 704,710 ****
      long
  mch_get_pid(void)
  {
! #if defined(__amigaos4__) || defined(__AROS__) || defined(__MORPHOS__)
      // This is as close to a pid as we can come. We could use CLI numbers 
also,
      // but then we would have two different types of process identifiers.
      return((long)FindTask(0));
--- 704,712 ----
      long
  mch_get_pid(void)
  {
! #if defined(__amigaos4__)
!     return (long) getpid();
! #elif defined(__AROS__) || defined(__MORPHOS__)
      // This is as close to a pid as we can come. We could use CLI numbers 
also,
      // but then we would have two different types of process identifiers.
      return((long)FindTask(0));
*** ../vim-9.0.0588/src/version.c       2022-09-25 19:36:33.963576247 +0100
--- src/version.c       2022-09-25 20:10:29.264610609 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     589,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
175. You send yourself e-mail before you go to bed to remind you
     what to do when you wake up.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220925191537.EAF771C03EB%40moolenaar.net.

Raspunde prin e-mail lui