HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ceafe86
)
(relocate_fd): Avoid `min'/`max' as variable names.
author
Karl Heuer
<kwzh@gnu.org>
Thu, 9 Apr 1998 17:47:17 +0000
(17:47 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 9 Apr 1998 17:47:17 +0000
(17:47 +0000)
src/callproc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index
2bb18b3
..
bc02c63
100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-1128,13
+1128,13
@@
child_setup (in, out, err, new_argv, set_pgrp, current_dir)
#endif /* not MSDOS */
}
#endif /* not MSDOS */
}
-/* Move the file descriptor FD so that its number is not less than MIN.
+/* Move the file descriptor FD so that its number is not less than MIN
FD
.
If the file descriptor is moved at all, the original is freed. */
int
If the file descriptor is moved at all, the original is freed. */
int
-relocate_fd (fd, min)
- int fd, min;
+relocate_fd (fd, min
fd
)
+ int fd, min
fd
;
{
{
- if (fd >= min)
+ if (fd >= min
fd
)
return fd;
else
{
return fd;
else
{
@@
-1151,7
+1151,7
@@
relocate_fd (fd, min)
}
/* Note that we hold the original FD open while we recurse,
to guarantee we'll get a new FD if we need it. */
}
/* Note that we hold the original FD open while we recurse,
to guarantee we'll get a new FD if we need it. */
- new = relocate_fd (new, min);
+ new = relocate_fd (new, min
fd
);
close (fd);
return new;
}
close (fd);
return new;
}