projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Activated default sequence negation (exclamation mark).
[mmh]
/
sbr
/
closefds.c
diff --git
a/sbr/closefds.c
b/sbr/closefds.c
index
86f91a7
..
8a4da49
100644
(file)
--- a/
sbr/closefds.c
+++ b/
sbr/closefds.c
@@
-1,9
+1,10
@@
-
/*
/*
- * closefds.c -- close-up fd's
- *
- * $Id$
- */
+** closefds.c -- close-up fd's
+**
+** This code is Copyright (c) 2002, by the authors of nmh. See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
#include <h/mh.h>
#include <h/mh.h>
@@
-11,8
+12,8
@@
void
closefds(int i)
{
void
closefds(int i)
{
- int nbits = OPEN_MAX;
+ int nbits = OPEN_MAX;
- for (; i < nbits; i++)
- close (i);
+ for (; i < nbits; i++)
+ close(i);
}
}