| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 120298
|
|
|
|
|
|
|
|
| |
Windows variant, strerror_s, but I couldn't test that.
I'll update configure and config.h.in in a subsequent patch.
llvm-svn: 74621
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
specific one. The GNU one is chosen when _GNU_SOURCE is defined. g++ always
defines _GNU_SOURCE on linux platforms because glibc's headers won't compile
in C++ mode without it. The GNU strerror_r doesn't always modify the buffer
which causes empty error messages on linux.
This patch changes MakeErrMsg to use the return value of strerror_r to get
the string instead of assuming the buffer will be modified, on GLIBC.
Patch by Benjamin Kramer!
llvm-svn: 73396
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang: error: unable to make temporary file: /etc/cc: can't make
unique filename: Permission denied
instead of
clang: error: unable to make temporary file: /etc/cc: can't make
unique filenamePermission denied
for example.
Also, audited the uses of MakeErrMsg to make the prefix strings
consistent (not end with newline/punctuation/space/": ").
llvm-svn: 69626
|
|
|
|
|
|
|
| |
several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
|
| |
Make the Win32 code exception free (untested/uncompiled) which forced some
interface changes which had ripple effect. This should be the last of 797.
llvm-svn: 29884
|
|
|
|
|
|
|
| |
Final removal of exceptions from lib/System and adjustment of users to
accommodate.
llvm-svn: 29846
|
|
|
|
|
|
|
| |
Eliminate exception throwing from Path::renamePathOnDisk and adjust its
users correspondingly.
llvm-svn: 29843
|
|
|
|
|
|
|
| |
Remove all exception code from Program.inc and implement its new interface
with an ErrMsg string argument.
llvm-svn: 29790
|
|
|
|
| |
llvm-svn: 29058
|
|
|
|
| |
llvm-svn: 21422
|
|
|
|
|
|
|
| |
Allow the ThrowErrno function to optionally accept an error number
parameter so that callers can specify the error number to be used.
llvm-svn: 21384
|
|
|
|
| |
llvm-svn: 20184
|
|
|
|
|
|
| |
This causes garbage to be printed out after error messages.
llvm-svn: 20165
|
|
|
|
|
|
|
|
|
|
| |
* Ensure #includes are wrapped with appropriate HAVE_ guards
* Account for variations in time.h and sys/time.h inclusion.
* Add macros for getting wait(2) exit status correctly (per autoconf sugg.)
* Implement ThrowErrno in terms of strerror_r, strerror or none based on
what is available on the platform.
llvm-svn: 19161
|
|
|
|
| |
llvm-svn: 18626
|
|
|
|
| |
llvm-svn: 17783
|
|
|
|
| |
llvm-svn: 16686
|
|
|
|
| |
llvm-svn: 16685
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
|
|
|
| |
configuration calls. Right now this just contains PreventCoreFiles so that
bugpoint can by platform independent.
llvm-svn: 16124
|
|
|
|
| |
llvm-svn: 16118
|
|
|
|
|
|
| |
Fix the banner length.
llvm-svn: 16086
|
|
llvm-svn: 16048
|