is sending patches ok?

View: New views
2 Messages — Rating Filter:   Alert me  

is sending patches ok?

by Mike Eggleston-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[mikee@zurich src]$ diff -c runagent.c.orig runagent.c
*** runagent.c.orig     Sat Aug  8 14:02:20 2009
--- runagent.c  Sat Aug  8 14:04:17 2009
***************
*** 45,51 ****
  /* Command line options                                            */
  /*******************************************************************/

!  char *ID = "The run agent connects to a list of running instances of"
              "the cf-serverd service. The agent allows a user to\n"
              "forego the usual scheduling interval for the agent and\n"
              "activate cf-agent on a remote host. Additionally, a user\n"
--- 45,51 ----
  /* Command line options                                            */
  /*******************************************************************/

!  char *ID = "The run agent connects to a list of running instances of\n"
              "the cf-serverd service. The agent allows a user to\n"
              "forego the usual scheduling interval for the agent and\n"
              "activate cf-agent on a remote host. Additionally, a user\n"
***************
*** 53,59 ****
              "host. Two kinds of classes may be sent: classes to decide\n"
              "on which hosts the agent will be started, and classes that\n"
              "the user requests the agent should define on execution.\n"
!             "The latter type is regulated by cfserverd's role based\n"
              "access control.";

   struct option OPTIONS[13] =
--- 53,59 ----
              "host. Two kinds of classes may be sent: classes to decide\n"
              "on which hosts the agent will be started, and classes that\n"
              "the user requests the agent should define on execution.\n"
!             "The latter type is regulated by cf-serverd's role based\n"
              "access control.";

   struct option OPTIONS[13] =
***************
*** 142,148 ****
  DEFINECLASSES[0] = '\0';
  SENDCLASSES[0] = '\0';

! while ((c=getopt_long(argc,argv,"d:vnIf:D:VSxo:s:M",OPTIONS,&optindex)) != EOF)
    {
    switch ((char) c)
        {
--- 142,148 ----
  DEFINECLASSES[0] = '\0';
  SENDCLASSES[0] = '\0';

! while ((c=getopt_long(argc,argv,"d:vnKIf:D:VSxo:s:M",OPTIONS,&optindex)) != EOF)
    {
    switch ((char) c)
        {

_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@...
https://cfengine.org/mailman/listinfo/bug-cfengine

Re: is sending patches ok?

by Mark Burgess :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


thanks

Mike Eggleston wrote:

> [mikee@zurich src]$ diff -c runagent.c.orig runagent.c
> *** runagent.c.orig     Sat Aug  8 14:02:20 2009
> --- runagent.c  Sat Aug  8 14:04:17 2009
> ***************
> *** 45,51 ****
>   /* Command line options                                            */
>   /*******************************************************************/
>
> !  char *ID = "The run agent connects to a list of running instances of"
>               "the cf-serverd service. The agent allows a user to\n"
>               "forego the usual scheduling interval for the agent and\n"
>               "activate cf-agent on a remote host. Additionally, a user\n"
> --- 45,51 ----
>   /* Command line options                                            */
>   /*******************************************************************/
>
> !  char *ID = "The run agent connects to a list of running instances of\n"
>               "the cf-serverd service. The agent allows a user to\n"
>               "forego the usual scheduling interval for the agent and\n"
>               "activate cf-agent on a remote host. Additionally, a user\n"
> ***************
> *** 53,59 ****
>               "host. Two kinds of classes may be sent: classes to decide\n"
>               "on which hosts the agent will be started, and classes that\n"
>               "the user requests the agent should define on execution.\n"
> !             "The latter type is regulated by cfserverd's role based\n"
>               "access control.";
>
>    struct option OPTIONS[13] =
> --- 53,59 ----
>               "host. Two kinds of classes may be sent: classes to decide\n"
>               "on which hosts the agent will be started, and classes that\n"
>               "the user requests the agent should define on execution.\n"
> !             "The latter type is regulated by cf-serverd's role based\n"
>               "access control.";
>
>    struct option OPTIONS[13] =
> ***************
> *** 142,148 ****
>   DEFINECLASSES[0] = '\0';
>   SENDCLASSES[0] = '\0';
>
> ! while ((c=getopt_long(argc,argv,"d:vnIf:D:VSxo:s:M",OPTIONS,&optindex)) != EOF)
>     {
>     switch ((char) c)
>         {
> --- 142,148 ----
>   DEFINECLASSES[0] = '\0';
>   SENDCLASSES[0] = '\0';
>
> ! while ((c=getopt_long(argc,argv,"d:vnKIf:D:VSxo:s:M",OPTIONS,&optindex)) != EOF)
>     {
>     switch ((char) c)
>         {
>
> _______________________________________________
> Bug-cfengine mailing list
> Bug-cfengine@...
> https://cfengine.org/mailman/listinfo/bug-cfengine

--
Mark Burgess

-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway

Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@...
https://cfengine.org/mailman/listinfo/bug-cfengine