Mercurial > hg > cdb
comparison install.c @ 10:3bfef1f22a97
trivial changes to get rid of compile-time warnings
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Fri, 31 Jan 2025 15:26:11 +0000 |
| parents | 2cb46628feec |
| children | 978eaa166609 |
comparison
equal
deleted
inserted
replaced
| 9:79b6f035cd96 | 10:3bfef1f22a97 |
|---|---|
| 135 strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": "); | 135 strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": "); |
| 136 if (chmod(file,mode) == -1) | 136 if (chmod(file,mode) == -1) |
| 137 strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); | 137 strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); |
| 138 } | 138 } |
| 139 | 139 |
| 140 main() | 140 int main() |
| 141 { | 141 { |
| 142 fdsourcedir = open_read("."); | 142 fdsourcedir = open_read("."); |
| 143 if (fdsourcedir == -1) | 143 if (fdsourcedir == -1) |
| 144 strerr_die2sys(111,FATAL,"unable to open current directory: "); | 144 strerr_die2sys(111,FATAL,"unable to open current directory: "); |
| 145 | 145 |
