Title: fix #381 by foryoung365 · Pull Request #382 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: fix #381 by foryoung365 · Pull Request #382 · cppcheck-opensource/simplecpp
X Title: fix #381 by foryoung365 · Pull Request #382 · cppcheck-opensource/simplecpp
Description: std::fstream fs(simplePath, std::ios::app);
File existence check using fstream with ios::app is implemented as a workaround because:
ifstream::good() incorrectly handles directories on Unix-like systems
Open Graph Description: std::fstream fs(simplePath, std::ios::app); File existence check using fstream with ios::app is implemented as a workaround because: ifstream::good() incorrectly handles directories on Unix-like ...
X Description: std::fstream fs(simplePath, std::ios::app); File existence check using fstream with ios::app is implemented as a workaround because: ifstream::good() incorrectly handles directories on Unix-like ...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/pull/382
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4cbb6849-61ee-6d65-1609-d15828003d1b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 96B2:2086C7:6F2CF4A:9CAEDBB:6A4FFEC0 |
| html-safe-nonce | 12014c54156bff7404ef2fdc5f8679538a5fcb7982deb70c8e30512d5e17655e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkIyOjIwODZDNzo2RjJDRjRBOjlDQUVEQkI6NkE0RkZFQzAiLCJ2aXNpdG9yX2lkIjoiODg2NjIxNTEzMzk2NzI4NTk1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba7f05c3b2298be780b62d45fad1fcd8f318f2ac7cf4f80af3a4a3d8afc4074a |
| hovercard-subject-tag | pull_request:2145323608 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cppcheck-opensource/simplecpp/pull/382/files |
| twitter:image | https://avatars.githubusercontent.com/u/1758359?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1758359?s=400&v=4 |
| og:image:alt | std::fstream fs(simplePath, std::ios::app); File existence check using fstream with ios::app is implemented as a workaround because: ifstream::good() incorrectly handles directories on Unix-like ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 33434464 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/simplecpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33434464 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/simplecpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e155b8a71f9284454f73118dfe5e634e74f7afb3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width