diff options
| author | Karl Heuer | 1998-04-09 17:47:17 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-04-09 17:47:17 +0000 |
| commit | a3833dfef0e8f659ad74f00aab1e8a8bfe2941f9 (patch) | |
| tree | 830362ac211e1b6953460d26daa08ab7869fa1a6 /src/callproc.c | |
| parent | ceafe86b40fd5ad9a91a15b2f12fcaf7f03bd41d (diff) | |
| download | emacs-a3833dfef0e8f659ad74f00aab1e8a8bfe2941f9.tar.gz emacs-a3833dfef0e8f659ad74f00aab1e8a8bfe2941f9.zip | |
(relocate_fd): Avoid `min'/`max' as variable names.
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/callproc.c b/src/callproc.c index 2bb18b3bf4c..bc02c633fec 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1128,13 +1128,13 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir) | |||
| 1128 | #endif /* not MSDOS */ | 1128 | #endif /* not MSDOS */ |
| 1129 | } | 1129 | } |
| 1130 | 1130 | ||
| 1131 | /* Move the file descriptor FD so that its number is not less than MIN. | 1131 | /* Move the file descriptor FD so that its number is not less than MINFD. |
| 1132 | If the file descriptor is moved at all, the original is freed. */ | 1132 | If the file descriptor is moved at all, the original is freed. */ |
| 1133 | int | 1133 | int |
| 1134 | relocate_fd (fd, min) | 1134 | relocate_fd (fd, minfd) |
| 1135 | int fd, min; | 1135 | int fd, minfd; |
| 1136 | { | 1136 | { |
| 1137 | if (fd >= min) | 1137 | if (fd >= minfd) |
| 1138 | return fd; | 1138 | return fd; |
| 1139 | else | 1139 | else |
| 1140 | { | 1140 | { |
| @@ -1151,7 +1151,7 @@ relocate_fd (fd, min) | |||
| 1151 | } | 1151 | } |
| 1152 | /* Note that we hold the original FD open while we recurse, | 1152 | /* Note that we hold the original FD open while we recurse, |
| 1153 | to guarantee we'll get a new FD if we need it. */ | 1153 | to guarantee we'll get a new FD if we need it. */ |
| 1154 | new = relocate_fd (new, min); | 1154 | new = relocate_fd (new, minfd); |
| 1155 | close (fd); | 1155 | close (fd); |
| 1156 | return new; | 1156 | return new; |
| 1157 | } | 1157 | } |