Jim Meyering
321136f30b
*** empty log message ***
2003-10-02 17:56:00 +00:00
Jim Meyering
c7707f643c
*** empty log message ***
2003-10-02 17:47:22 +00:00
Jim Meyering
7e25757f8b
Don't require that the maximum length of a file name
...
encountered in a traversal fit in an `unsigned short',
and fix some portability bugs (don't depend on gcc).
Include "fts_.h", not <fts.h>.
(ALIGNBYTES) [!(__GNUC__ >= 2)]: Add a definition that works with
compilers that don't have __alignof__.
(MAX): Use a definition that doesn't depend on gcc.
(fts_build): Make `len' and `maxlen' be of type size_t, not int.
Test for overflow in a less type-dependent manner.
Test HAVE_STRUCT_DIRENT_D_TYPE, rather than
defined DT_DIR && defined _DIRENT_HAVE_D_TYPE.
(fts_palloc): Test for overflow in a less type-dependent manner.
(fts_safe_changedir): Use stat, not stat64.
Use fstat, not __fxstat64(_STAT_VER.
2003-10-02 17:33:54 +00:00
Jim Meyering
caf4f07912
Don't require that the maximum length of a file name
...
encountered in a traversal fit in an `unsigned short',
and fix some portability bugs (don't depend on gcc).
[FTS] (fts_pathlen): Change type from int to size_t.
[FTSENT] (fts_pathlen): Change type from u_short to size_t.
(fts_level): Change type from u_short to int.
2003-10-02 17:33:42 +00:00
Jim Meyering
2d854fdf1b
*** empty log message ***
2003-10-02 17:21:05 +00:00
Jim Meyering
aeccc1752d
*** empty log message ***
2003-10-02 17:20:04 +00:00
Jim Meyering
55ad6cc692
*** empty log message ***
2003-10-02 17:15:35 +00:00
Jim Meyering
77043f0f21
*** empty log message ***
2003-10-02 17:14:39 +00:00
Jim Meyering
858d2b2f73
*** empty log message ***
2003-10-02 17:13:50 +00:00
Jim Meyering
36337bfd18
Ensure that du can process a hierarchy
...
of depth 400 while using no more than 50KB of stack space.
2003-10-02 17:05:34 +00:00
Jim Meyering
c57d0486d0
*** empty log message ***
2003-10-01 08:11:45 +00:00
Jim Meyering
2b730915f8
(print_news_deltas): New function, extracted from main.
...
(main): Make `news_file' an array.
Use '...=s' => \@var for --news and --url-directory specs.
Before there were a couple of problems.
2003-10-01 08:09:02 +00:00
Jim Meyering
2ec43c609b
*** empty log message ***
2003-09-30 06:44:35 +00:00
Jim Meyering
49061e6bde
(tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch.
2003-09-30 06:44:32 +00:00
Jim Meyering
a981c15fd2
.
2003-09-28 12:38:38 +00:00
Jim Meyering
cc0d217786
.
2003-09-28 12:36:51 +00:00
Jim Meyering
b127b8e824
*** empty log message ***
2003-09-28 08:39:37 +00:00
Jim Meyering
7f7abaa447
(sc_cast_of_alloca_return_value): New rule.
...
(syntax-check-rules): Add it.
2003-09-28 08:39:31 +00:00
Jim Meyering
969e23d12a
*** empty log message ***
2003-09-28 08:25:40 +00:00
Jim Meyering
c0db07f7f9
(sc_cast_of_x_alloc_return_value): Also check for alloca casts.
2003-09-28 08:25:24 +00:00
Jim Meyering
3d56cf5c1d
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
2003-09-28 08:23:28 +00:00
Jim Meyering
b19d106cdb
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
2003-09-28 08:22:35 +00:00
Jim Meyering
9d35e5e049
(ASSIGN_STRDUPA):
...
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
2003-09-28 08:22:15 +00:00
Jim Meyering
8f98e0e4dd
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
2003-09-28 08:21:35 +00:00
Jim Meyering
793eadf8a9
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
2003-09-28 08:21:14 +00:00
Jim Meyering
9691f1611e
Remove unnecessary cast of alloca, since now it's guaranteed to be (void *).
2003-09-28 08:20:52 +00:00
Jim Meyering
819f39dc9b
Remove unnecessary cast of alloca, since now it's guaranteed to be (void *).
2003-09-28 08:17:39 +00:00
Jim Meyering
401673f8dd
Minor efficiency tweak.
...
(PATH_BASENAME_CONCAT): Use memcpy rather than strcpy.
(do_link): Likewise.
2003-09-28 08:14:34 +00:00
Jim Meyering
156549eb5d
*** empty log message ***
2003-09-28 08:09:46 +00:00
Jim Meyering
4f58c187da
Update from gnulib.
2003-09-28 08:09:28 +00:00
Jim Meyering
5fba963d34
(Translating): Correct typo in menu description.
2003-09-28 08:00:50 +00:00
Jim Meyering
fc1f8d7354
*** empty log message ***
2003-09-28 08:00:35 +00:00
Jim Meyering
47b9de17a1
sync from gnulib -- just changes comments
2003-09-27 17:26:26 +00:00
Jim Meyering
6135224e97
*** empty log message ***
2003-09-27 06:57:20 +00:00
Jim Meyering
a204154711
*** empty log message ***
2003-09-27 06:57:15 +00:00
Jim Meyering
6ab7d9e425
Don't exhaust virtual memory when processing large inputs.
...
Fix this by removing csplit's internal free-list management;
instead rely on malloc for that.
(free_list): Remove global.
(clear_all_line_control): Remove function.
(get_new_buffer): Always use create_new_buffer to obtain a
new buffer, rather than searching free_list.
(free_buffer): Just call free.
2003-09-27 06:57:07 +00:00
Jim Meyering
de5bdb6fd0
*** empty log message ***
2003-09-27 06:52:38 +00:00
Jim Meyering
6e7f3fae30
.
2003-09-26 20:11:15 +00:00
Jim Meyering
841d9837dc
*** empty log message ***
2003-09-26 13:47:26 +00:00
Jim Meyering
5eb4f2ce17
Also list `chattr' in SEE ALSO section.
2003-09-26 13:47:19 +00:00
Jim Meyering
4f77354540
*** empty log message ***
2003-09-26 13:47:05 +00:00
Jim Meyering
1906c91498
*** empty log message ***
2003-09-25 18:01:32 +00:00
Jim Meyering
a4e040da21
Don't invoke AC_AIX or AC_MINIX explicitly, now
...
that we use gl_USE_SYSTEM_EXTENSIONS, since it AC_REQUIREs them.
2003-09-25 18:01:25 +00:00
Jim Meyering
0874e07909
*** empty log message ***
2003-09-25 17:50:05 +00:00
Jim Meyering
8e9cd6e1c0
.
2003-09-24 17:57:03 +00:00
Jim Meyering
e7bebd6729
(check_and_close, dump, dump_strings): Don't report bogus errno value
...
after ferror discovers an output error. We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".
(skip): If a read fails, don't retry it later, so
that we report the proper errno.
2003-09-24 08:21:30 +00:00
Jim Meyering
1790ed9cb8
.
2003-09-23 22:02:44 +00:00
Jim Meyering
a8c942e915
(TESTS): Add deref-args.
2003-09-23 22:02:26 +00:00
Jim Meyering
c50b02c852
*** empty log message ***
2003-09-23 22:00:51 +00:00
Jim Meyering
0af594adb4
(get_line): Report error right away if I/O fails,
...
so that the proper errno value is used.
2003-09-23 21:57:52 +00:00