Changeset 3276 for vendor/bash/3.1-p17


Ignore:
Timestamp:
May 1, 2007, 7:22:36 PM (18 years ago)
Author:
bird
Message:

Backed out bash-3.1-gentoo.patch, bash-3.1-fix-dash-login-shell.patch and bash-3.1-bash-logger.patch (gentoo patches).

Location:
vendor/bash/3.1-p17
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • vendor/bash/3.1-p17/Makefile.in

    • Property svn:eol-style deleted
    r3235 r3276  
    659659config.h:       stamp-h
    660660
    661 stamp-h:        version.h config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
     661stamp-h:        config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
    662662        CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
    663663
     
    667667# comment out for distribution
    668668$(srcdir)/configure:    $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
    669         cd $(srcdir)
     669        cd $(srcdir) && autoconf
    670670
    671671# for chet
  • vendor/bash/3.1-p17/bashhist.c

    r3233 r3276  
    706706  hist_last_line_added = 1;
    707707  hist_last_line_pushed = 0;
    708   add_history (line, 1);
     708  add_history (line);
    709709  history_lines_this_session++;
    710710}
  • vendor/bash/3.1-p17/doc/builtins.1

    • Property svn:eol-style deleted
    r3235 r3276  
    99shift, shopt, source, suspend, test, times, trap, type, typeset,
    1010ulimit, umask, unalias, unset, wait \- bash built-in commands, see \fBbash\fR(1)
     11.SH BASH BUILTIN COMMANDS
     12.nr zZ 1
     13.so bash.1
    1114.SH SEE ALSO
    1215bash(1), sh(1)
  • vendor/bash/3.1-p17/lib/readline/complete.c

    r3235 r3276  
    15451545    {
    15461546      filename = tilde_expand (text);
    1547       s = stat (filename, &finfo);
     1547      s = (nontrivial_match && rl_completion_mark_symlink_dirs == 0)
     1548                ? LSTAT (filename, &finfo)
     1549                : stat (filename, &finfo);
    15481550      if (s == 0 && S_ISDIR (finfo.st_mode))
    15491551        {
  • vendor/bash/3.1-p17/lib/readline/histexpand.c

    r3233 r3276  
    12231223  if (only_printing)
    12241224    {
    1225       add_history (result, 1);
     1225#if 0
     1226      add_history (result);
     1227#endif
    12261228      return (2);
    12271229    }
  • vendor/bash/3.1-p17/lib/readline/histfile.c

    r3233 r3276  
    263263            if (HIST_TIMESTAMP_START(line_start) == 0)
    264264              {
    265                 add_history (line_start,0);
     265                add_history (line_start);
    266266                if (last_ts)
    267267                  {
  • vendor/bash/3.1-p17/lib/readline/history.c

    r3233 r3276  
    3131
    3232#include <stdio.h>
    33 
    34 #include <syslog.h>
    3533
    3634#if defined (HAVE_STDLIB_H)
     
    249247   is  set to NULL. */
    250248void
    251 add_history (string, logme)
     249add_history (string)
    252250     const char *string;
    253      int logme; /* 0 means no sending history to syslog */
    254251{
    255252  HIST_ENTRY *temp;
    256   if (logme) {
    257     if (strlen(string)<600) {
    258       syslog(LOG_LOCAL5 | LOG_INFO, "HISTORY: PID=%d UID=%d %s",
    259         getpid(), getuid(), string);
    260     }
    261     else {
    262       char trunc[600];
    263       strncpy(trunc,string,sizeof(trunc));
    264       trunc[sizeof(trunc)-1]='\0';
    265       syslog(LOG_LOCAL5 | LOG_INFO, "HISTORY: PID=%d UID=%d %s(++TRUNC)",
    266           getpid(), getuid(), trunc);
    267     }
    268   }
    269253
    270254  if (history_stifled && (history_length == history_max_entries))
  • vendor/bash/3.1-p17/lib/readline/history.h

    r3233 r3276  
    8181/* Place STRING at the end of the history list.
    8282   The associated data field (if any) is set to NULL. */
    83 extern void add_history PARAMS((const char *, int ));
     83extern void add_history PARAMS((const char *));
    8484
    8585/* Change the timestamp associated with the most recent history entry to
  • vendor/bash/3.1-p17/parse.y

    • Property svn:eol-style deleted
    r3247 r3276  
    390390        ;
    391391
    392 word_list:
    393                         { $$ = (WORD_LIST *)NULL; }
    394         |       WORD
     392word_list:      WORD
    395393                        { $$ = make_word_list ($1, (WORD_LIST *)NULL); }
    396394        |       word_list WORD
     
    11891187#if defined (READLINE)
    11901188char *current_readline_prompt = (char *)NULL;
    1191 unsigned char *current_readline_line = (unsigned char *)NULL;
     1189char *current_readline_line = (char *)NULL;
    11921190int current_readline_line_index = 0;
    11931191
  • vendor/bash/3.1-p17/shell.c

    r3234 r3276  
    15341534  shell_name = argv0 ? base_pathname (argv0) : PROGRAM;
    15351535
    1536   if (argv0 && *argv0 == '-')
    1537     {
    1538       if (*shell_name == '-')
    1539         shell_name++;
     1536  if (*shell_name == '-')
     1537    {
     1538      shell_name++;
    15401539      login_shell++;
    15411540    }
Note: See TracChangeset for help on using the changeset viewer.