Changeset 3276 for vendor/bash/3.1-p17
- Timestamp:
- May 1, 2007, 7:22:36 PM (18 years ago)
- 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 659 659 config.h: stamp-h 660 660 661 stamp-h: version.hconfig.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h661 stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h 662 662 CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status 663 663 … … 667 667 # comment out for distribution 668 668 $(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in 669 cd $(srcdir) 669 cd $(srcdir) && autoconf 670 670 671 671 # for chet -
vendor/bash/3.1-p17/bashhist.c
r3233 r3276 706 706 hist_last_line_added = 1; 707 707 hist_last_line_pushed = 0; 708 add_history (line , 1);708 add_history (line); 709 709 history_lines_this_session++; 710 710 } -
vendor/bash/3.1-p17/doc/builtins.1
- Property svn:eol-style deleted
r3235 r3276 9 9 shift, shopt, source, suspend, test, times, trap, type, typeset, 10 10 ulimit, 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 11 14 .SH SEE ALSO 12 15 bash(1), sh(1) -
vendor/bash/3.1-p17/lib/readline/complete.c
r3235 r3276 1545 1545 { 1546 1546 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); 1548 1550 if (s == 0 && S_ISDIR (finfo.st_mode)) 1549 1551 { -
vendor/bash/3.1-p17/lib/readline/histexpand.c
r3233 r3276 1223 1223 if (only_printing) 1224 1224 { 1225 add_history (result, 1); 1225 #if 0 1226 add_history (result); 1227 #endif 1226 1228 return (2); 1227 1229 } -
vendor/bash/3.1-p17/lib/readline/histfile.c
r3233 r3276 263 263 if (HIST_TIMESTAMP_START(line_start) == 0) 264 264 { 265 add_history (line_start ,0);265 add_history (line_start); 266 266 if (last_ts) 267 267 { -
vendor/bash/3.1-p17/lib/readline/history.c
r3233 r3276 31 31 32 32 #include <stdio.h> 33 34 #include <syslog.h>35 33 36 34 #if defined (HAVE_STDLIB_H) … … 249 247 is set to NULL. */ 250 248 void 251 add_history (string , logme)249 add_history (string) 252 250 const char *string; 253 int logme; /* 0 means no sending history to syslog */254 251 { 255 252 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 }269 253 270 254 if (history_stifled && (history_length == history_max_entries)) -
vendor/bash/3.1-p17/lib/readline/history.h
r3233 r3276 81 81 /* Place STRING at the end of the history list. 82 82 The associated data field (if any) is set to NULL. */ 83 extern void add_history PARAMS((const char * , int));83 extern void add_history PARAMS((const char *)); 84 84 85 85 /* 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 390 390 ; 391 391 392 word_list: 393 { $$ = (WORD_LIST *)NULL; } 394 | WORD 392 word_list: WORD 395 393 { $$ = make_word_list ($1, (WORD_LIST *)NULL); } 396 394 | word_list WORD … … 1189 1187 #if defined (READLINE) 1190 1188 char *current_readline_prompt = (char *)NULL; 1191 unsigned char *current_readline_line = (unsignedchar *)NULL;1189 char *current_readline_line = (char *)NULL; 1192 1190 int current_readline_line_index = 0; 1193 1191 -
vendor/bash/3.1-p17/shell.c
r3234 r3276 1534 1534 shell_name = argv0 ? base_pathname (argv0) : PROGRAM; 1535 1535 1536 if (argv0 && *argv0 == '-') 1537 { 1538 if (*shell_name == '-') 1539 shell_name++; 1536 if (*shell_name == '-') 1537 { 1538 shell_name++; 1540 1539 login_shell++; 1541 1540 }
Note:
See TracChangeset
for help on using the changeset viewer.