From 1814aec611a5f9e03eceee81237ad3a3f51c954a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 26 Oct 2011 23:56:54 +0000 Subject: Fix whitespace issues Cleanup trailing whitespaces, indentation that uses spaces before tabs, and blank lines at EOF. Make the project free of warnings reported by git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD --- doc/specs/.cvsignore | 1 - doc/specs/draft-morgan-pam.raw | 6 +++--- doc/specs/parse_y.y | 8 ++++---- doc/specs/rfc86.0.txt | 6 ------ 4 files changed, 7 insertions(+), 14 deletions(-) (limited to 'doc/specs') diff --git a/doc/specs/.cvsignore b/doc/specs/.cvsignore index 0e7cbe2f..efaf18a0 100644 --- a/doc/specs/.cvsignore +++ b/doc/specs/.cvsignore @@ -9,4 +9,3 @@ padout parse_l.c parse_y.c parse_y.h - diff --git a/doc/specs/draft-morgan-pam.raw b/doc/specs/draft-morgan-pam.raw index 45109f45..ec5bba49 100644 --- a/doc/specs/draft-morgan-pam.raw +++ b/doc/specs/draft-morgan-pam.raw @@ -227,7 +227,7 @@ o Anyone can define additional agents by using names in the format your agent has as an identifier, they you are entitled to use this identifier.) It is up to each domain how it manages its local namespace. - + The '/' character is a mandatory delimiter, indicating the end of the agent_id. The trailing data is of a format specific to the agent with the given agent_id. @@ -377,7 +377,7 @@ conversation function with which it encapsulates module-generated requests and exchanges them with the client. Every message sent by a module should be acknowledged. -General conversation functions can support the following five +General conversation functions can support the following five conversation requests: echo text string @@ -617,7 +617,7 @@ Following a call to pamc_end, the pamc_handle_t will be invalid. The return value for this function is one of the following: - PAM_BPC_TRUE - all invoked agents are content with + PAM_BPC_TRUE - all invoked agents are content with authentication (the server is _not_ judged _un_trustworthy by any agent) diff --git a/doc/specs/parse_y.y b/doc/specs/parse_y.y index 87fc54ea..b195f5d3 100644 --- a/doc/specs/parse_y.y +++ b/doc/specs/parse_y.y @@ -7,7 +7,7 @@ #include #include #include - + #define MAXLINE 1000 #define INDENT_STRING " " #define PAPER_WIDTH 74 @@ -86,7 +86,7 @@ doc: printf("%s%s%s", $2, fixed, $4); free($2); free($4); - + l = (len+1)/2; memset(fixed, ' ', l); fixed[l] = '\0'; @@ -113,7 +113,7 @@ doc: printf("%s%s%s", $2, fixed, $4); free($2); free($4); - + l = (len+1)/2; memset(fixed, ' ', l); fixed[l] = '\0'; @@ -281,7 +281,7 @@ char *new_counter(const char *key) sprintf(new+j, "%d", ++i); counter_root = set_key(counter_root, key, new); - + if (last_label) { free(last_label); } diff --git a/doc/specs/rfc86.0.txt b/doc/specs/rfc86.0.txt index 6dd5e6ea..b8c635a6 100644 --- a/doc/specs/rfc86.0.txt +++ b/doc/specs/rfc86.0.txt @@ -1843,9 +1843,3 @@ Samar, Schemers Page 28 - - - - - - -- cgit v1.2.3 From c9c4faaf50c66d5e4d1b9d6c450c206c12f09f8a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 27 Oct 2011 14:55:55 +0000 Subject: Rename all .cvsignore files to .gitignore --- doc/specs/.cvsignore | 11 ----------- doc/specs/.gitignore | 11 +++++++++++ doc/specs/formatter/.cvsignore | 5 ----- doc/specs/formatter/.gitignore | 5 +++++ 4 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 doc/specs/.cvsignore create mode 100644 doc/specs/.gitignore delete mode 100644 doc/specs/formatter/.cvsignore create mode 100644 doc/specs/formatter/.gitignore (limited to 'doc/specs') diff --git a/doc/specs/.cvsignore b/doc/specs/.cvsignore deleted file mode 100644 index efaf18a0..00000000 --- a/doc/specs/.cvsignore +++ /dev/null @@ -1,11 +0,0 @@ -draft-morgan-pam-*.txt -Makefile -Makefile.in -parse.c -lex.yy.c -.deps -.libs -padout -parse_l.c -parse_y.c -parse_y.h diff --git a/doc/specs/.gitignore b/doc/specs/.gitignore new file mode 100644 index 00000000..efaf18a0 --- /dev/null +++ b/doc/specs/.gitignore @@ -0,0 +1,11 @@ +draft-morgan-pam-*.txt +Makefile +Makefile.in +parse.c +lex.yy.c +.deps +.libs +padout +parse_l.c +parse_y.c +parse_y.h diff --git a/doc/specs/formatter/.cvsignore b/doc/specs/formatter/.cvsignore deleted file mode 100644 index ea34fc5f..00000000 --- a/doc/specs/formatter/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -lex.yy.c -parse.tab.c -padout -Makefile -Makefile.in diff --git a/doc/specs/formatter/.gitignore b/doc/specs/formatter/.gitignore new file mode 100644 index 00000000..ea34fc5f --- /dev/null +++ b/doc/specs/formatter/.gitignore @@ -0,0 +1,5 @@ +lex.yy.c +parse.tab.c +padout +Makefile +Makefile.in -- cgit v1.2.3 From 3e7fb3233efe776d867be9d34b4b6e83ec59df86 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 27 Oct 2011 14:55:55 +0000 Subject: Update .gitignore files * .gitignore: Add common ignore patterns. * m4/.gitignore: Unignore local m4 files. * dynamic/.gitignore: Unignore Makefile. * libpamc/test/modules/.gitignore: Likewise. * libpamc/test/regress/.gitignore: Likewise. * po/.gitignore: Add Makevars.template. * conf/.gitignore: Remove common ignore patterns. * conf/pam_conv1/.gitignore: Likewise. * doc/.gitignore: Likewise. * doc/specs/.gitignore: Likewise. * doc/specs/formatter/.gitignore: Likewise. * examples/.gitignore: Likewise. * modules/pam_filter/upperLOWER/.gitignore: Likewise. * modules/pam_mkhomedir/.gitignore: Likewise. * modules/pam_selinux/.gitignore: Likewise. * modules/pam_stress/.gitignore: Likewise. * modules/pam_tally/.gitignore: Likewise. * modules/pam_tally2/.gitignore: Likewise. * modules/pam_timestamp/.gitignore: Likewise. * modules/pam_unix/.gitignore: Likewise. * tests/.gitignore: Likewise. * xtests/.gitignore: Likewise. * doc/adg/.gitignore: Remove. * doc/man/.gitignore: Remove. * doc/mwg/.gitignore: Remove. * doc/sag/.gitignore: Remove. * libpamc/.gitignore: Remove. * libpamc/test/.gitignore: Remove. * libpam/.gitignore: Remove. * libpam_misc/.gitignore: Remove. * modules/.gitignore: Remove. * modules/pam_access/.gitignore: Remove. * modules/pam_cracklib/.gitignore: Remove. * modules/pam_debug/.gitignore: Remove. * modules/pam_deny/.gitignore: Remove. * modules/pam_echo/.gitignore: Remove. * modules/pam_env/.gitignore: Remove. * modules/pam_exec/.gitignore: Remove. * modules/pam_faildelay/.gitignore: Remove. * modules/pam_filter/.gitignore: Remove. * modules/pam_ftp/.gitignore: Remove. * modules/pam_group/.gitignore: Remove. * modules/pam_issue/.gitignore: Remove. * modules/pam_keyinit/.gitignore: Remove. * modules/pam_lastlog/.gitignore: Remove. * modules/pam_limits/.gitignore: Remove. * modules/pam_listfile/.gitignore: Remove. * modules/pam_localuser/.gitignore: Remove. * modules/pam_loginuid/.gitignore: Remove. * modules/pam_mail/.gitignore: Remove. * modules/pam_motd/.gitignore: Remove. * modules/pam_namespace/.gitignore: Remove. * modules/pam_nologin/.gitignore: Remove. * modules/pam_permit/.gitignore: Remove. * modules/pam_pwhistory/.gitignore: Remove. * modules/pam_rhosts/.gitignore: Remove. * modules/pam_rootok/.gitignore: Remove. * modules/pam_securetty/.gitignore: Remove. * modules/pam_sepermit/.gitignore: Remove. * modules/pam_shells/.gitignore: Remove. * modules/pam_succeed_if/.gitignore: Remove. * modules/pam_time/.gitignore: Remove. * modules/pam_tty_audit/.gitignore: Remove. * modules/pam_umask/.gitignore: Remove. * modules/pam_userdb/.gitignore: Remove. * modules/pam_warn/.gitignore: Remove. * modules/pam_wheel/.gitignore: Remove. * modules/pam_xauth/.gitignore: Remove. --- doc/specs/.gitignore | 5 ----- doc/specs/formatter/.gitignore | 3 --- 2 files changed, 8 deletions(-) (limited to 'doc/specs') diff --git a/doc/specs/.gitignore b/doc/specs/.gitignore index efaf18a0..52a7fb44 100644 --- a/doc/specs/.gitignore +++ b/doc/specs/.gitignore @@ -1,10 +1,5 @@ draft-morgan-pam-*.txt -Makefile -Makefile.in parse.c -lex.yy.c -.deps -.libs padout parse_l.c parse_y.c diff --git a/doc/specs/formatter/.gitignore b/doc/specs/formatter/.gitignore index ea34fc5f..fdb57932 100644 --- a/doc/specs/formatter/.gitignore +++ b/doc/specs/formatter/.gitignore @@ -1,5 +1,2 @@ -lex.yy.c parse.tab.c padout -Makefile -Makefile.in -- cgit v1.2.3