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/lib/readline
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.