Paul Eggert
f21950385b
(fd_safer): Remove decl.
...
Include fcntl--.h rather than unistd-safer.h
(fts_safe_changedir): Don't call fd_safer; no longer needed
now that we include fcntl--.h.
2005-07-03 07:14:05 +00:00
Paul Eggert
98088e6a60
Include stdio-safer.h first, to check interface.
...
Don't bother including stdio.h, since stdio-safer.h does.
2005-07-03 07:13:31 +00:00
Paul Eggert
5eab57423e
Initial revision.
2005-07-03 06:52:13 +00:00
Paul Eggert
8b0a2afe9f
Add support for fcntl--.h, stdio--.h, stdlib--.h, unistd--.h, etc.
2005-07-03 06:43:07 +00:00
Paul Eggert
9c17ef9a81
Don't include stdio-safer.h; no longer needed.
...
(writeline): Remove stream arg; we now always output to stdout.
All callers changed.
(check_file): Reuse stdout rather than opening a new stream.
This saves a file descriptor.
2005-07-03 06:26:15 +00:00
Paul Eggert
6af6438b0a
(main): Reuse stdin rather than opening a new stream.
...
This saves a file descriptor.
2005-07-03 06:25:42 +00:00
Jim Meyering
42f845ebc7
.
2005-07-02 14:33:56 +00:00
Jim Meyering
c402746d1c
*** empty log message ***
2005-07-02 12:02:27 +00:00
Jim Meyering
6e0f9634aa
(EXTRA_DIST): Add .x-sc_obsolete_symbols.
2005-07-02 12:02:21 +00:00
Jim Meyering
6f368f2f48
(sc_obsolete_symbols): New rule.
...
(syntax-check-rules): Add it to the list.
2005-07-02 11:58:22 +00:00
Jim Meyering
f6d8b10a1c
*** empty log message ***
2005-07-02 11:57:54 +00:00
Jim Meyering
f0001d7346
*** empty log message ***
2005-07-02 11:56:56 +00:00
Jim Meyering
25ef400404
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
2005-07-02 11:56:49 +00:00
Jim Meyering
06e5948dce
*** empty log message ***
2005-07-02 10:26:00 +00:00
Jim Meyering
dd2b7c95ff
Update from gnulib.
2005-07-02 10:25:58 +00:00
Jim Meyering
2f79e30906
Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
2005-07-02 08:54:13 +00:00
Jim Meyering
16b3553083
*** empty log message ***
2005-07-02 08:53:57 +00:00
Jim Meyering
410f98fc2b
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
2005-07-02 08:41:46 +00:00
Jim Meyering
b5dabfee20
*** empty log message ***
2005-07-01 21:26:27 +00:00
Jim Meyering
e62b441f50
Assume HAVE_UNISTD_H.
2005-07-01 21:26:24 +00:00
Jim Meyering
da1b612d11
.
2005-07-01 21:18:51 +00:00
Jim Meyering
89abeac2b8
Don't check for fcntl.h anymore. Now we assume it exists and is usable.
2005-07-01 21:06:08 +00:00
Jim Meyering
b82f33a06e
*** empty log message ***
2005-07-01 21:05:44 +00:00
Jim Meyering
d0067bb947
*** empty log message ***
2005-07-01 20:57:39 +00:00
Jim Meyering
860691ec41
Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
...
and don't check for fcntl.h).
2005-07-01 20:57:34 +00:00
Jim Meyering
58076430c3
Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
...
and don't include <sys/file.h>).
2005-07-01 20:55:29 +00:00
Jim Meyering
ceaa11b643
*** empty log message ***
2005-07-01 20:53:36 +00:00
Jim Meyering
86cc58850a
*** empty log message ***
2005-07-01 20:31:23 +00:00
Jim Meyering
e0331d4ce0
Assume HAVE_FCNTL_H (i.e., include <fcntl.h>
...
unconditionally, and don't include <sys/file.h>).
2005-07-01 20:31:16 +00:00
Jim Meyering
adeb8b26fb
*** empty log message ***
2005-07-01 19:56:19 +00:00
Jim Meyering
05d541b622
update from gnulib
2005-07-01 19:54:48 +00:00
Paul Eggert
00fdbcc4af
* xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>
...
declares only 'struct timespec;' (!).
2005-07-01 17:25:56 +00:00
Jim Meyering
cfa2bfb98e
*** empty log message ***
2005-06-30 20:33:55 +00:00
Jim Meyering
c44874f722
.
2005-06-30 20:32:46 +00:00
Jim Meyering
e457b0a9c9
Require gl_STDOPEN.
2005-06-30 20:24:45 +00:00
Jim Meyering
9c360d0540
(gl_STDOPEN): New file/macro.
2005-06-30 20:24:02 +00:00
Jim Meyering
d3f25798b9
Add copyright.
...
Include <fcntl.h> and <unistd.h> unconditionally --
it seems to be ok to do this, these days.
2005-06-30 20:23:09 +00:00
Jim Meyering
a3d8cfece3
*** empty log message ***
2005-06-30 20:23:00 +00:00
Jim Meyering
c17ae586bb
*** empty log message ***
2005-06-30 20:16:01 +00:00
Jim Meyering
5754380c82
Rewritten by Paul Eggert.
...
Now, the minimum overhead is just two system calls: dup and close.
2005-06-30 20:13:40 +00:00
Jim Meyering
58000d181c
New file. As yet unused.
2005-06-30 20:10:39 +00:00
Jim Meyering
0f4b63f1ac
*** empty log message ***
2005-06-30 16:48:02 +00:00
Jim Meyering
8665927afc
Add uses of ARGMATCH_VERIFY to ensure that
...
corresponding option string and value arrays are consistent.
2005-06-30 16:47:54 +00:00
Jim Meyering
7078d7a5b8
Add uses of ARGMATCH_VERIFY to ensure that
...
corresponding option string and value arrays are consistent.
Remove a harmless trailing `, 0' from a value list.
2005-06-30 16:47:38 +00:00
Jim Meyering
779a89cdb4
Add uses of ARGMATCH_VERIFY to ensure that
...
corresponding option string and value arrays are consistent.
Remove a harmless trailing `, 0' from a value list.
2005-06-30 16:47:00 +00:00
Jim Meyering
f2daebf810
*** empty log message ***
2005-06-30 16:41:04 +00:00
Jim Meyering
a9129f0786
(VERIFY): Guard definition with #ifndef.
...
(VERIFY_EXPR): Undef before defining.
2005-06-30 16:40:59 +00:00
Jim Meyering
36835110b6
*** empty log message ***
2005-06-30 16:40:08 +00:00
Jim Meyering
c25ccafa30
*** empty log message ***
2005-06-30 16:39:46 +00:00
Jim Meyering
5aa46e285c
[!VERIFY] (VERIFY): Define.
...
(ARGMATCH_VERIFY): Use it, so this macro may be used more than
once in any given scope.
2005-06-30 16:39:41 +00:00