Commit Graph

  • 2a75bb4ae0 (extract_regexp): Set re_syntax_options to a value that is compatible with what POSIX requires. Paul Eggert 2006-04-12 07:14:53 +00:00
  • f666da6f32 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h. Paul Eggert 2006-04-12 07:11:52 +00:00
  • 1ff52c6a54 Do not assume that 'sed' can handle long, newline-free input. Evaluate expr once, not $n times. Paul Eggert 2006-04-12 07:07:55 +00:00
  • 0dfc08bf3a Solaris 8 sh doesn't understand "if !". Do not assume that 'sed' can handle long, newline-free input. Paul Eggert 2006-04-12 07:07:32 +00:00
  • 9066275509 Adjust to new regex.h API (with new fastmap type), and clean up the regex storage allocation a bit. Paul Eggert 2006-04-11 00:52:16 +00:00
  • 1f1ff10b0c (compiled_separator_fastmap): New ver. (main): Use it. Don't bother allocating a buffer. Paul Eggert 2006-04-11 00:52:01 +00:00
  • 8745735aaf (context_regex_string, word_regex_string): Remove. (context_regex, word_regex): New vars, replacing the above. All uses changed. (struct regex_data): New type. (compile_regex): Renamed from alloc_and_compile_regex, since we no longer allocate storage. Arg is now a struct regex_data *, not a const char *. All uses changed. Don't allocate the fastmap; instead, take it from the caller. Don't convert size_t to int, to avoid arithmetic overflow problems. Don't bother freeing storage afterwards; it's not worth the aggravation. Paul Eggert 2006-04-11 00:51:42 +00:00
  • fad52643e0 (body_fastmap, header_fastmap, footer_fastmap): New vars. (build_type_arg): New fastmap arg. All uses changed. Don't bother allocating a buffer, but set a fastmap. Paul Eggert 2006-04-11 00:51:23 +00:00
  • 2a124564c7 (docolon): Allocate and use a fastmap. Don't bother allocating a buffer. Paul Eggert 2006-04-11 00:50:56 +00:00
  • 87bd526828 Update copyright year. Paul Eggert 2006-04-11 00:50:33 +00:00
  • ff652937b0 (struct control): Put re_compiled member at the end, since it's large. Change regexpr member from char * to bool; all uses changed. Add new member fastmap. (extract_regexp): regexp arg is now char const *, not char *. Don't bother duplicating the regular expression; it's not needed. Set fastmap from new fastmap member. Don't bother allocating a buffer, as the regexp code does a better job than we do. Paul Eggert 2006-04-11 00:49:59 +00:00
  • ba75c95164 remove useless spaces before TABs Jim Meyering 2006-04-10 19:15:08 +00:00
  • 72021730a8 Import latest regex module from gnulib. Paul Eggert 2006-04-10 06:46:07 +00:00
  • 1fe38016fa Add 'hostid' to System context menu line. Paul Eggert 2006-04-09 07:55:05 +00:00
  • dd175a9f41 (Top): Fix typo in System context menu entry: hostid wasn't mentioned. Paul Eggert 2006-04-09 07:52:33 +00:00
  • 38433b219d (iwrite): Remove assignment without effect. Reported by Felix Rauch Valenti. Jim Meyering 2006-03-30 13:47:57 +00:00
  • 568eec4a9d *** empty log message *** Jim Meyering 2006-03-30 13:26:59 +00:00
  • 6809ff6910 *** empty log message *** Jim Meyering 2006-03-28 09:48:26 +00:00
  • b1aecc319f (General options in ptx): Undocument --copyright. Jim Meyering 2006-03-28 09:48:15 +00:00
  • 2fdcdc90f0 *** empty log message *** Jim Meyering 2006-03-28 09:47:56 +00:00
  • 1ae249fba2 (usage): Remove mention of --copyright/-C. (main): Alias --copyright to --version plus a deprecation warning. Jim Meyering 2006-03-28 09:47:28 +00:00
  • 5378e090da deprecate ptx's --copyright (-C) option Jim Meyering 2006-03-28 09:46:38 +00:00
  • 4e5755ff74 *** empty log message *** Jim Meyering 2006-03-27 14:08:04 +00:00
  • ce88154fd8 (dirname invocation): Macro in previous patch was too broad. Jim Meyering 2006-03-27 14:08:00 +00:00
  • 120d34efe1 version: 5.94 Jim Meyering 2006-03-27 10:30:34 +00:00
  • c5e8364536 . Jim Meyering 2006-03-27 07:35:23 +00:00
  • 20e2d352c0 (uptime_LDADD): Add $(POW_LIB), for uptime's use of strtod. Tiny patch from Nickolai Zeldovich. Jim Meyering 2006-03-27 07:34:48 +00:00
  • 1c952c4d7d *** empty log message *** Jim Meyering 2006-03-27 07:32:44 +00:00
  • a35fc49153 . Jim Meyering 2006-03-26 12:33:28 +00:00
  • fa9be79b41 *** empty log message *** Jim Meyering 2006-03-26 12:30:45 +00:00
  • 3c7ab9f144 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT. Jim Meyering 2006-03-26 12:30:37 +00:00
  • d5a462a196 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h. (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define. Jim Meyering 2006-03-26 12:30:07 +00:00
  • 665ede556d new file from Eric Blake Jim Meyering 2006-03-26 12:22:44 +00:00
  • 864c4c28af *** empty log message *** Jim Meyering 2006-03-26 12:20:59 +00:00
  • 8773d59d55 (base_name): New semantics - malloc the result. Preserve // when it is special. Preserve relative files that look like drive letters. (base_len): Preserve // when it is special. (last_component): New method, similar to old base_name semantics. Jim Meyering 2006-03-26 12:20:46 +00:00
  • 8132c6e76e (dir_len): Determine when drive letters need a subsequent slash. Preserve // when it is special. (dir_name): Don't append dot when drive letter is absolute. [TEST_DIRNAME]: Move into a full-blown gnulib test. Jim Meyering 2006-03-26 12:20:24 +00:00
  • ba0f1e7d7f (FILE_SYSTEM_PREFIX_LEN): Move here from dos.m4. [FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: Don't treat 1: as a drive prefix. (IS_ABSOLUTE_FILE_NAME): Treat all drive letters as absolute on platforms like cygwin with FILE_SYSTEM_DRIVE_PREFIX_IS_ABSOLUTE. (last_component): New method. Jim Meyering 2006-03-26 12:20:06 +00:00
  • 7029f979e5 (strip_trailing_slashes): Use last_component, not base_name. Strip redundant slashes from ///. Jim Meyering 2006-03-26 12:18:51 +00:00
  • cb916337dc (file_name_concat): s/base_name/last_component/ Jim Meyering 2006-03-26 12:16:11 +00:00
  • bfbe80d004 (check_extension, numbered_backup): s/base_name/last_component/ Jim Meyering 2006-03-26 12:15:59 +00:00
  • 4ecf233b95 (same_name): s/base_name/last_component/ Jim Meyering 2006-03-26 12:14:16 +00:00
  • ee660c455a (basename invocation, dirname invocation): Improve documentation to match recent // patches. Jim Meyering 2006-03-26 12:11:40 +00:00
  • bbee8a57b0 *** empty log message *** Jim Meyering 2006-03-26 12:09:09 +00:00
  • 0ad9592c12 *** empty log message *** Jim Meyering 2006-03-26 12:08:27 +00:00
  • 1225a53068 (log_su, run_shell): Use new last_component, in place of base_name. Jim Meyering 2006-03-26 12:08:20 +00:00
  • b828255717 (next_file_name): Use new last_component, in place of base_name. Jim Meyering 2006-03-26 12:08:10 +00:00
  • d4d9a40b82 (wipename): Use new last_component, in place of base_name. Jim Meyering 2006-03-26 12:07:59 +00:00
  • 0cabfe4b6d (rm_1): Use new last_component, in place of base_name. Jim Meyering 2006-03-26 12:07:47 +00:00
  • 00f103b6d1 (target_directory_operand, movefile): Use new last_component, in place of base_name. Jim Meyering 2006-03-26 12:07:34 +00:00
  • 811ecf9284 (basename_is_dot_or_dotdot): Use new last_component, in place of base_name. Jim Meyering 2006-03-26 12:07:20 +00:00
  • 02b8c9a452 (target_directory_operand, main): Use new last_component, in place of base_name. Jim Meyering 2006-03-26 12:07:04 +00:00
  • 9c3afb4a64 (target_directory_operand, install_file_in_dir): Use new last_component, in place of base_name. Jim Meyering 2006-03-26 12:06:45 +00:00
  • a1935760e5 (guess_shell_syntax): Use new last_component. Jim Meyering 2006-03-26 12:06:05 +00:00
  • c3965052fe (target_directory_operand): Use new last_component. (ASSIGN_BASENAME_STRDUPA): Likewise. Reduce time spent traversing the string. Jim Meyering 2006-03-26 12:05:51 +00:00
  • a9e9c226da (main): Don't strip suffix from file system roots. Jim Meyering 2006-03-26 11:59:58 +00:00
  • ba3419a626 Improvements to dirname/basename handling on platforms like cygwin with distinct // and with drive letters. Jim Meyering 2006-03-26 11:59:31 +00:00
  • a538c18d7a (AC_CONFIG_FILES): Remove tests/basename. Jim Meyering 2006-03-26 11:58:57 +00:00
  • fdecd2cfcd . Jim Meyering 2006-03-26 11:56:09 +00:00
  • 82142e155d remove this entire directory Jim Meyering 2006-03-26 11:55:38 +00:00
  • 06ada66861 remove this entire directory Jim Meyering 2006-03-26 11:54:50 +00:00
  • 1f16c42214 (SUBDIRS): Remove basename. Jim Meyering 2006-03-26 11:52:47 +00:00
  • 8ebb9e3154 (TESTS): Sort. Add basename, dirname. Jim Meyering 2006-03-26 11:48:19 +00:00
  • 1a032f1114 new file -- from Eric Blake Jim Meyering 2006-03-26 11:47:51 +00:00
  • c170f9ca79 Move to ../misc/basename Jim Meyering 2006-03-26 11:47:24 +00:00
  • c794482058 Moved from ../basename/basic. Add some tests, including fixed behavior for //. Jim Meyering 2006-03-26 11:46:46 +00:00
  • 14c720faab (gl_REGEX): Fix a longstanding typo in the implementation of Spencer ERE test #75 from grep 2.3. Problem reported by Emanuele Giaquinta. Also, change sense of cached variable, so that the message makes sense. Paul Eggert 2006-03-25 09:49:24 +00:00
  • cd70d37ee3 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP, REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional glibc names. Paul Eggert 2006-03-25 09:10:28 +00:00
  • f6d592cbb2 version: 5.94 Jim Meyering 2006-03-25 08:43:48 +00:00
  • 195689e7c7 (main): Ignore fd_reopen return value when ignoring input, since we've closed input at that point so we are ignoring input. Paul Eggert 2006-03-23 23:56:34 +00:00
  • 7a88cb696f nohup diagnostics are now more precise, and nohup now redirects stderr to nohup.out if stdout is closed and stderr is a tty. Paul Eggert 2006-03-23 23:47:37 +00:00
  • 6fe4cc7f91 Test the new nohup behavior. Paul Eggert 2006-03-23 23:35:32 +00:00
  • 9b109290de (main): nohup diagnostics are now more precise, and nohup now redirects stderr to nohup.out if stdout is closed and stderr is a tty. Paul Eggert 2006-03-23 23:35:13 +00:00
  • 29360166ff (nohup invocation): nohup now redirects stderr to nohup.out if stdout is closed and stderr is a tty. Paul Eggert 2006-03-23 23:34:42 +00:00
  • 9f6b2d2548 nohup diagnostics are now more precise, and nohup now redirects stderr to nohup.out if stdout is closed and stderr is a tty. Paul Eggert 2006-03-23 23:34:22 +00:00
  • 4de8dde339 update from gnulib Jim Meyering 2006-03-22 15:59:58 +00:00
  • 7cf97ab1ff *** empty log message *** Jim Meyering 2006-03-19 18:27:55 +00:00
  • 164d936ac2 Work even in a chroot where d_ino values for entries in "/" don't match the stat.st_ino values for the same names. Jim Meyering 2006-03-19 18:27:51 +00:00
  • e233777dbe (__getcwd): Clarify a comment. Use memcpy in place of a call to strcpy. Jim Meyering 2006-03-19 17:18:32 +00:00
  • 57a06e9966 . Jim Meyering 2006-03-17 16:41:30 +00:00
  • ca29b9b803 *** empty log message *** Jim Meyering 2006-03-17 10:12:37 +00:00
  • 9589cc5c57 (gl_REGEX): Fix typo in last change: s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/. Jim Meyering 2006-03-17 10:07:28 +00:00
  • 97530a0a35 remove trailing space Jim Meyering 2006-03-17 08:35:50 +00:00
  • 7202bc0610 regex fixes for future POSIX and --without-included-regex. Paul Eggert 2006-03-17 07:35:25 +00:00
  • d01c74cabd (regoff_t) [defined _REGEX_LARGE_OFFSETS]: Typedef to long int, not to off_t, as POSIX will likely change in that direction. Paul Eggert 2006-03-17 07:33:40 +00:00
  • f7bc3c2bfc (gl_REGEX): Don't check for off_t, since the code no longer needs it. Instead, check that regoff_t is as least as wide as ptrdiff_t. Paul Eggert 2006-03-17 07:33:06 +00:00
  • 2379e76856 version: 5.94 Jim Meyering 2006-03-16 10:33:28 +00:00
  • bfae88c97b update from gnulib Jim Meyering 2006-03-15 06:53:11 +00:00
  • 09674e1952 update from gnulib Jim Meyering 2006-03-15 06:52:39 +00:00
  • e22fdec364 *** empty log message *** Jim Meyering 2006-03-12 22:52:51 +00:00
  • fd1628cb1c (set_author): Rename function, from preserve_author. Jim Meyering 2006-03-12 22:52:46 +00:00
  • de33c6c49d . Jim Meyering 2006-03-12 22:47:35 +00:00
  • c079c60598 *** empty log message *** Jim Meyering 2006-03-12 22:21:12 +00:00
  • d0c89246d0 (AD_pop_and_chdir): Use new macro, CYCLE_CHECK_REFLECT_CHDIR_UP, rather than open-coding it. Jim Meyering 2006-03-12 22:21:05 +00:00
  • 4798c23152 *** empty log message *** Jim Meyering 2006-03-12 22:05:59 +00:00
  • b1bb68d5b1 *** empty log message *** Jim Meyering 2006-03-12 22:05:18 +00:00
  • 435f331bee (gl_ROOT_DEV_INO): Add same-inode.h to the list. Jim Meyering 2006-03-12 22:05:12 +00:00
  • f497e71465 *** empty log message *** Jim Meyering 2006-03-12 22:03:37 +00:00
  • 5ff988ec22 (leave_dir): If cycle-check's saved dev-ino pair matches that of the current directory (which we're about to chdir ".." out of), then save the dev-ino of the parent, instead. Jim Meyering 2006-03-12 22:03:17 +00:00
  • ac1e215dc2 *** empty log message *** Jim Meyering 2006-03-12 22:02:12 +00:00
  • 275d9242ff (SAME_INODE): Remove definition. Jim Meyering 2006-03-12 22:02:03 +00:00