search for: myfile

Displaying 20 results from an estimated 306 matches for "myfile".

2007 Apr 14
3
HiddenStore option may be useful
I'm missing a HiddenStore option in OpenSSH, known from some ftp-server implementations like ProFTPd. Consider the following scenario: - A process PROCA is frequently polling the directory for a file called myfile.txt - Someone transfers this file via sftp or scp to the directory - While transfer is going on and the file is not completely written, PROCA reads in the file and removes is -> Corrupt data is seen by PROCA Knowing this problem you have to solutions: 1. PROCA must check if myfile.txt is chang...
2011 Feb 16
2
[LLVMdev] verbosity while invoking clang
I am working on implementing a new target for llvm. So far (to make debugging easier), I was compiling a C code into 2 steps: 1) generate the llvm file: clang -ccc-host-triple mytarget -emit-llvm -S myfile.c -o myfile.ll 2) generate the assembly file using llc -march=mytarget myfile.ll Sometimes, I add some verbosity for the 2nd command like "-print-after-all". Now, I'd like to compile a C code in 1 step using clang (clang -ccc-host-triple mytarge -S myfile.c -o myfile.s) Is there a wa...
2003 Nov 10
3
Reading an upper triangular matrix
...rt, with diagonal. The matrix is 21x21, and the file have row and col names, and some other information. I am trying to read with the following code (I tried many variations on it, but all give the same error). The items in the data file is delimited by white space. (Part of) script to read: myfile <- file("Paises.dat", open="r") # opens a connection which stays open until closed by close(myfile) name <- readLines(con=myfile, n=1) varnames <- scan( myfile, what=character(0), nlines=1 ) stopifnot( length(varnames) == 21 ) Paises <- matrix(0, 21...
2008 Oct 03
1
Problems with Share Modes "fill_share_mode_lock failed"
...d/process.c:switch_message(1361) switch message SMBtrans2 (pid 22032) conn 0xb846b478 ...:49, 3] smbd/trans2.c:call_trans2qfilepathinfo(3932) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 ...:49, 3] smbd/vfs.c:check_reduced_name(854) reduce_name [web/xml/myfile.xml] [/web_virtual/domain] ...:49, 3] smbd/vfs.c:check_reduced_name(963) reduce_name: web/xml/myfile.xml reduced to /web_virtual/domain/web/xml/myfile.xml ...:49, 3] locking/locking.c:fetch_share_mode_unlocked(857) fill_share_mode_lock failed ...:...
2008 Jun 25
3
5.2 upgrade mostly good (so far)
...shutting down via the GUI shutdown dialog. I can offer up machine details should anyone want them. 2. Trying to recompile the official Cisco VPN client after the reboot and it fails with this info: # make make -C /lib/modules/2.6.18-92.1.1.el5/build SUBDIRS=/home/fredex/myfiles/programs/cisco-vpn-client/vpnclient modules make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.1.el5-i686' CC [M] /home/fredex/myfiles/programs/cisco-vpn-client/vpnclient/linuxcniapi.o CC [M] /home/fredex/myfiles&...
2006 Jan 11
3
Just update 1 field
Hi All, I wonder how I can get rails to update just one field when I do Myfile.save. Right now this happens when I do a Myfile.save: UPDATE myfiles SET `folder_id` = 0, `filesize` = 1, `data` = ''2f7573722f6c6f63616c2f6d ... f7061636b65743d33324d'', `user_id` = 0, `date_modified` = ''2006-01-11T23:33:57+0100'', `filename` = ''mysql...
2011 Feb 16
0
[LLVMdev] verbosity while invoking clang
On Feb 16, 2011, at 11:08 AM, Damien Vincent wrote: > I am working on implementing a new target for llvm. > So far (to make debugging easier), I was compiling a C code into 2 steps: > 1) generate the llvm file: > clang -ccc-host-triple mytarget -emit-llvm -S myfile.c -o myfile.ll > 2) generate the assembly file using > llc -march=mytarget myfile.ll > > Sometimes, I add some verbosity for the 2nd command like "-print-after-all". > Now, I'd like to compile a C code in 1 step using clang (clang -ccc-host-triple mytarge -S myfile.c -...
2008 Nov 13
4
Moving a file with Puppet
...didn''t like where it was being put by puppet. I went into puppet and changed the name parameter of the the file directive. I then created a new file directive to delete the old file, but I was wondering if there was a better way to do this. So, just to clarify, I went from: file {"myfile": name => "/root/myfile", ... } to: file {"myfile": name => "/newdirectory/myfile", ... } file {"deleteoldlocationofmyfile": name => "/root/myfile", ensure => absent, } I just feel like moving...
2015 Oct 26
2
How to pass march flag to GCC Assembler arch64-linux-gnu-as
I am trying to cross compile an assembly file using clang but with " -fno-integrated-as" so that clang does not use its own assembler. Clangs calls the command: /usr/bin/aarch64-linux-gnu-as -o Myfile.o Myfile.s but it fails because of missing *-march=armv8-a+crypto *which is required to build build my source file Myfile.s I am passing "-march=armv8-a+crypto" to clang command but how do i promote the same flag to assembler arch64-linux-gnu-as through clang? -- *-*Sri --------------...
2007 Nov 29
2
Overriding resources in a define in a module - can''t get syntax right
...: path => "/etc/directfile", owner => root, group => root, mode => 0644, content => "A B C D\n" } testfile { testing: content => "1 2 3 4\n" } define testfile($content) { file { myfile: # file { "ztest::myfile": path => "/etc/testfile", owner => root, group => root, mode => 0644, content => $content } } } This is my test class: include ztest::setup include ztest::override # notice...
2015 Oct 26
2
How to pass march flag to GCC Assembler arch64-linux-gnu-as
...some issues with internal one so recommended to use the flag -fno-integrated-as. Here is my exact build command (with -v and --save-temps): $ clang -Igen -I../../include -target aarch64-linux-gnu -march=armv8-a+crypto -fno-integrated-as --sysroot=./debian_jessie_arm64-sysroot -O2 -c MyFile.S -o MyFile.o -v --save-temps clang version 3.8.0 (trunk 247874) Target: aarch64--linux-gnu Thread model: posix Found candidate GCC installation: ./src/build/linux/debian_jessie_arm64-sysroot/usr/lib/gcc/aarch64-linux-gnu/4.8 Selected GCC installation: ./src...
2011 Jan 21
1
Reading gz compressed csv file - 'incomplete line found'
Hi all, I am trying to download, decompress and read a csv file. My code: myurl <- "ftp://ftp.ncbi.nih.gov/pub/geo/DATA/supplementary/series/GSE24729/GSE24729_MitoNuclear_suppl_male_stats.csv.gz" # myfile <- "GSE24729_MitoNuclear_suppl_male_stats.csv.gz" # download.file(myurl, destfile=myfile, mode="w") # mycon <- gzcon(gzfile(myfile, open="r")) # mydata <- read.csv(textConnection(readLines(mycon))) # close(mycon) works under my linux distribution, but under w...
2006 Aug 17
1
newbie tries to call windows dll function
...s (actually do not know which windows version) dll file, in which are functions I want to call in my Linux program. That is why I installed wine, to see whether I could make this work :) I know exactly what functions are in the dll, what their prototypes are, but I do not have the source, only the myfile.dll. Now, what I don't understand is that they are not listed below. Only those four Dll... functions. I could convert myfile.dll to myfile.dll.so using winemaker;make, great :) But it only seems to have those four functions as well. I guess this means the functions are not exported, but the...
2012 Sep 03
1
[LLVMdev] Selection DAG output as bare DAG, code review
...TRY NUMBERING THE NODES int in=0; for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(),E = CurDAG->allnodes_end(); I != E; ++I) { I->setNodeId(in++); } //END NUMBERING THE NODES. //LET'S TRY WRITING A FILE std::ofstream myfile; std::string filename="DDGBLOCK"+convertInt(numberOfBlocks)+".txt"; myfile.open (filename.c_str()); myfile << "{\n"; for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(),E = CurDAG->allnodes_end(); I != E; ++I) { std...
2006 Sep 04
9
RMagick Image.read doesn't... read!
I''ve a controller with an action that should read an image file from a specified path and do some operations on it (mainly, resize it). I try to read the image through this line of code (the image is placed in applicationname\public\images. img = Magick::Image.read("world.jpg") The fact is that whenever I open that page, the browser freezes and I have to restart my
2011 Jan 17
4
DO NOT REPLY [Bug 7922] New: rsync not using delta blocking when the source file different to partial file.
...case - delete the partial file and start again. ---------- REPRODUCE: This can be recreated by following these steps, using -no-whole-file to force rsync to use delta algorithm. mkdir /root/dir1 /root/dir2 /root/partial dd if=/dev/zero of=/root/dir2/myfile.out bs=1M count=10 cp /root/dir2/myfile.out /root/dir1/myfile.out Put a 1 byte file in the partial directory to simulate, the partial file that was created by rsync last time it ran - but was disconnected. echo hello > /root/partial/myfile.out [root@]# rsyn...
2017 Jul 19
3
Problem in shiny writing a .txt file
...e0( wd, "/OUT/" ) dir.create( res.path ) Just before calling the function that fails, I remove, if exist, the old files of the directory: file.remove( paste0( res.path, dir( res.path ) ) ) Then, I call f.texto, whose code is as follows: f.texto <- function( l, res, a ){ myfile <- res write( paste( "SAIC50. ", a, ", ", date(), sep = "" ), file = paste( res.path, myfile, sep = "" ) ) write( "----------------------------------", file = paste (res.path, myfile, sep = ""), append = T ) write( "\r\n...
2007 Dec 06
2
R2HTML how to pair graphic.png and table
Dear list, i have this problem: how to pair a graphic.png and a table in R2HTML ? The better showing of a mutiple analysis is sometimes to mate graphic and table Can anyone help me in this task ?? In the example below graphisc and table are subsequent and not pair.. directory=getwd() myfile<-file.path(directory,"testHTML.html") HTMLoutput=file.path(directory,"testHTML.html") graf="graf.png" png(file.path(directory,graf)) plot(c(1:12)) dev.off() tab<-as.matrix(c(1:12)) HTMLInsertGraph(graf,tab,file=HTMLoutput,caption="Esempio di grafico&quot...
2004 Jan 08
2
Sweave & xtable
...o whether a # or % was the appropriate comment character). I have successfully incorporated simple graphics and outputs, but am having trouble getting a latex (xtable) table to function properly. Latex is seemingly treating the xtable code as input or verbatim text. That is, if I run Sweave('myfile.Snw', echo=T) I get the latex syntax xtable code handed to me twice in the myfile.dvi. Turning echo off, I get the xtable code (not the nicely formated latex table) back in the dvi. There seems nothing wrong with the myfile.tex file itself. (I attach a snip below). Everything run fine if I...
2010 Jul 02
2
Files with Missing Data
I'm a new R user so this is possibly a naive question. I'm trying to load an external CSV file into a dataframe using: df_name<-read.table("myfile.csv") myfile.csv should have 5 elements per row, though a percentage are missing the last two elements (the commas are present as placemarkers). However, R does not create the dataset but returns the message: line 1 did not have 2 elements but examining the file shows that it does....