VirtualBox

儲存庫 kBuild 的更動 1699


忽略:
時間撮記:
2008-9-2 上午01:45:50 (16 年 以前)
作者:
bird
訊息:

kmk / $(commands* ): Check for empty name to prevent lookup_file from asserting, print error and return. Print error message when detecting recursion.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/kmk/function.c

    r1698 r1699  
    36523652
    36533653  if (recursive)
    3654     return variable_buffer_output (o, "recursive", sizeof ("recursive") - 1);
     3654    {
     3655      error (reading_file, _("$(%s ) was invoked recursivly"), funcname);
     3656      return variable_buffer_output (o, "recursive", sizeof ("recursive") - 1);
     3657    }
     3658  if (*argv[0] == '\0')
     3659    {
     3660      error (reading_file, _("$(%s ) was invoked with an empty target name"), funcname);
     3661      return o;
     3662    }
    36553663  recursive = 1;
    3656 
     3664 
    36573665  file = lookup_file (argv[0]);
    36583666  if (file && file->cmds)
     
    38143822          else
    38153823            o = p;
    3816         }
     3824        } /* for each command line */
    38173825    }
    38183826  /* else FIXME: bitch about it? */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette