search for: isexecut

Displaying 5 results from an estimated 5 matches for "isexecut".

Did you mean: execut
2003 May 20
1
Calling R in BATCH mode from C programm
Hello R-people, I have the following problem : In order to run R script from DOS prompt in BATCH mode and pass it some parameters I do the following : Rterm --slave --no-save --no-restore <args.R> args.out ARG1=1 ARG2=2 It works fine : the result is that the script args.R is isexecuted. Sys.getenv() sees the arguments ARG1 and ARG2, and the R creates output file args.out Now I want to be able to call the same command from C application : #include <conio.h> #include <process.h> #include <string.h> void main() { char *args[10], prog[80]; int ch;...
2005 Apr 20
3
[LLVMdev] misc CVS patches
...... Have you considered using bugpoint for your codegen debugging needs? http://llvm.cs.uiuc.edu/docs/Bugpoint.html#codegendebug > I've collected some small patches you might find useful. Sweet! > Please review and apply as you see fit. I've applied your gccld patch. For the isExecutable patch, you check to see if it's a file first before calling access(), but that precludes that function being used on a directory (which is a valid sys::Path object and could be queried for being executable), so I think it's unnecessary. I also applied your patch to ignore dangling syml...
2005 Apr 20
8
[LLVMdev] misc CVS patches
...tutorial ? http://llvm.cs.uiuc.edu/docs/HowToSubmitABug.html About the only thing we haven't gotten to `bugpoint' is front-end miscompilations -- those test cases need to be narrowed down by hand, but once your code is in LLVM bytecode, bugpoint can rip it into shreds. > >For the isExecutable patch, you check to see if it's a file first before > >calling access(), but that precludes that function being used on a > >directory (which is a valid sys::Path object and could be queried for > >being executable), so I think it's unnecessary. > > I'm pret...
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...er::F_executable)); > + // Start buffer with special header. > + memcpy(Buffer->getBufferStart(), "AABBCCDDEEFFGGHHIIJJ", 20); > + // Commit buffer. > + ASSERT_NO_ERROR(Buffer->commit()); > + } > + // Verify file exists and is executable. > + bool IsExecutable; > + ASSERT_NO_ERROR(fs::is_executable_file(Twine(File4), IsExecutable)); > + EXPECT_TRUE(IsExecutable); > + > + > + // Clean up. > + uint32_t RemovedCount; > + ASSERT_NO_ERROR(fs::remove_all(TestDirectory.str(), RemovedCount)); > +} > + > + > +} // anonymo...
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld. -------------- next part -------------- A non-text attachment was scrubbed... Name: FileOutputBuffer.patch Type: application/octet-stream Size: 25308 bytes Desc: not available URL: