[parted-devel] Parted on GNU Hurd based systems

Otavio Salvador otavio at debian.org
Wed Feb 28 00:27:36 CET 2007


"Debarshi 'Rishi' Ray" <debarshi.ray at gmail.com> writes:

> @@ -187,26 +190,26 @@ _add_history_unique (const char* line)
>  static void
>  _dump_history ()
>  {
> -    fputs (_("\nCommand History:\n"), stdout);
> -    int i = 0;
> -    HIST_ENTRY** all_entries = history_list ();
> -    while (all_entries[i]) {
> -        puts(all_entries[i++]->line);
> -    }
> +        fputs (_("\nCommand History:\n"), stdout);
> +        int i = 0;
> +        HIST_ENTRY** all_entries = history_list ();
> +        while (all_entries[i]) {
> +                puts(all_entries[i++]->line);
> +        }

Badly indented...

>  }
>  #endif /* HAVE_LIBREADLINE */
>  
> -#ifndef HAVE_SIGACTION
> +#ifndef SA_SIGINFO
>  static void
>  mask_signal()
>  {
> -    sigset_t curr;
> -    sigset_t prev;
> +        sigset_t curr;
> +        sigset_t prev;
>    
> -    sigfillset(&curr);
> -    sigprocmask(SIG_SETMASK, &curr, &prev);
> +        sigfillset(&curr);
> +        sigprocmask(SIG_SETMASK, &curr, &prev);
>  }
> -#endif /* HAVE_SIGACTION */
> +#endif /* SA_SIGINFO */
>  
>  /* Resets the environment by jumping to the initial state
>   * saved during ui intitialisation.
> @@ -216,7 +219,7 @@ mask_signal()
>  static void
>  reset_env (int quit)
>  {
> -    int	in_readline = readline_state.in_readline;
> +        int	in_readline = readline_state.in_readline;
>  

Indent only changes. I think this should be done in another patch...

There're others doing just indentation changes and I think it should
be done in another change.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list