search for: retcod

Displaying 20 results from an estimated 37 matches for "retcod".

Did you mean: retcode
2014 Sep 15
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
Good tips. Although I have used llvm-link to merge .bc files together, I guess -flto could optimize the resultant .bc file further. As for the assembly, yes it is an issue. Anyway, I'll try to address those sources which are available for being translated into .bc first. Thanks for your advice, Tim. On Mon, Sep 15, 2014 at 2:55 PM, Tim Northover <t.p.northover at gmail.com> wrote:
2016 Aug 03
0
[PATCH] dib: rework run of extra-data.d hooks (RHBZ#1362354)
...a_t; - ) scripts; - if debug >= 1 then ( - print_string (timing_output ~target_name:hook_name scripts timings) + let mount_dir = base_mount_dir // hook_name in + do_mkdir mount_dir; + + let rec fork_and_run () = + let pid = Unix.fork () in + if pid = 0 then ( (* child *) + let retcode = run_scripts () in + flush_all (); + let cmd = [ "guestunmount"; mount_dir ] in + ignore (run_command cmd); + Exit._exit retcode + ); + pid + and run_scripts () = + let timings = Hashtbl.create 13 in + let rec loop = function + | x :: xs -> +...
2016 Jun 22
1
[PATCH] ext: change e2fsck retcode processing during resize
e2fsck returns 1 in case of "file system errors corrected". We treat it as success in normal e2fsck, but fail if e2fsck is run by resize2fs. Change 'manual' execution of e2fsck to dedicated function call. --- daemon/ext2.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/daemon/ext2.c b/daemon/ext2.c index 5dd67c7..95a65ae 100644 ---
2016 Aug 03
3
[PATCH] mllib: move _exit from v2v as Exit module
Move the OCaml binding to C _exit to an own module. Just code motion, adapting v2v in the process. --- docs/C_SOURCE_FILES | 2 +- mllib/Makefile.am | 5 ++++- mllib/exit-c.c | 33 +++++++++++++++++++++++++++++++++ mllib/exit.ml | 19 +++++++++++++++++++ mllib/exit.mli | 20 ++++++++++++++++++++ v2v/Makefile.am | 1 - v2v/changeuid-c.c | 33
2011 Feb 21
2
Basic Bash Script Question
I'm stuck trying to work this one out and my Google skills are apparently lacking today. This is a test bash script; #!/bin/bash do something | tee a.log if [ $? -ne 0]; then echo broken fi The problem with this script is $? contains the exit value of the tee command, but I want to check the exit value of whatever command I put in place of 'do something'. How can I achieve this
2007 Apr 18
1
How to call stored procedure on iodbc
...kes 6 parameters out of which 1 parameter is out parameter and other 5 are input parameters. So it uses 5 IN parameters as values for inserting a row in database and returns its max id as out parameter. Code Snippet is given below :-- SWORD returnCode = 0; SDWORD bindReturnCode = 0; RETCODE returnVal; char sqlString[500]; memset(sqlString,0,sizeof(sqlString)); HSTMT hstmt = ptrDB->GetHSTMT(); returnVal = SQLAllocStmt(ptrDB->GetHDBC(), &hstmt); if (returnVal == SQL_SUCCESS) { returnVal = SQLBindParameter(hstmt, 1, SQL_PARAM_OUTPUT, SQL_C_SLO...
2006 Oct 18
1
newhidups with APC Smart-UPS - workaround!
...ed me yet for 3 months in several installations) patch is below: --- nut-2.0.4/drivers/newhidups.c.orig 2006-08-09 11:35:32.000000000 +0400 +++ nut-2.0.4/drivers/newhidups.c 2006-08-09 11:35:44.000000000 +0400 @@ -452,7 +452,7 @@ hid_info_t *item; char *nutvalue; int retcode, evtCount = 0; - HIDItem *eventsList[10]; + HIDItem *eventsList[30]; upsdebugx(1, "upsdrv_updateinfo...");
2010 Jun 21
1
No output/no source tarball produced by 'R CMD build' on Windows (but ret code is 0)
...ce no output at all (0 byte) and, of course, no source tarball. Even though, the code returned by the command is 0! See an example of this is here: http://bioconductor.org/checkResults/2.7/bioc-LATEST/MotIV/liverpool-buildsrc.html (the content of this page is updated every day) Note the: RetCode: 0 PackageFile: None and the lack of output! This seems to happen randomly for a couple of packages every day. Today it's for MotIV only. Last time I checked, it was charm and genefilter. Before that, they were 2 other packages. Note that the only thing that changed on our Windows build m...
2007 Mar 16
2
re: o2hb_do_disk_heartbeat:963 ERROR: Device "sdb1" another node is heartbeating in our slot!
...crs/ocr.crs is inaccessible. Details in /data/app/crs/oracle/product/10.2.0/crs/log/dbo3/client/css.log. crsd.log ============= 2007-03-16 13:38:11.708: [ OCRCLI][1407371616]proac_set_value: Response message returned with failure keyname = [CRS.CUR.ora!ORACTAH!ORACTAH3!inst.REASON], retcode = 26 2007-03-16 13:38:11.710: [ OCRCLI][1417865568]proac_set_value: Response message returned with failure keyname = [CRS.CUR.ora!dbo3!LISTENER_DBO3!lsnr.REASON], retcode = 26 2007-03-16 13:38:24.159: [ OCRMSG][1407371616]prom_rpc: CLSC recv failure..ret code 7 2007-03-16 13:38:24.159: [ OCRMSG...
2012 Apr 22
1
[PATCH 1/5] drm: add optional per device rwsem for all ioctls
...0644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -464,6 +464,9 @@ long drm_ioctl(struct file *filp, } else memset(kdata, 0, usize); + if (dev->driver->ioctls_need_rwsem) + down_read(&dev->ioctls_rwsem); + if (ioctl->flags & DRM_UNLOCKED) retcode = func(dev, kdata, file_priv); else { @@ -472,6 +475,9 @@ long drm_ioctl(struct file *filp, mutex_unlock(&drm_global_mutex); } + if (dev->driver->ioctls_need_rwsem) + up_read(&dev->ioctls_rwsem); + if (cmd & IOC_OUT) { if (copy_to_user((void __user *)arg,...
2016 Jul 10
3
Panic: file mdbox-save.c: line 337: unreached
.../lib64/libc.so.6(__libc_start_main+0xf5) [0x7f58e6973b15] -> /bin/doveadm [user at domain.com INBOX import:650/674](+0x1a96d) [0x7f58e79e596d] /root/migrate_code/migrate_mailbox_eftel.sh: line 31: 48637 Aborted /bin/doveadm -o mail_fsync=never backup -R -u $USERNAME imapc: + RETCODE=134 Regards Leon -------------- next part -------------- # 2.2.25 (7be1766): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.15 (97b3da0) # OS: Linux 3.10.0-327.4.5.el7.x86_64 x86_64 CentOS Linux release 7.2.1511 (Core) auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW...
2015 Nov 05
3
Opusfile seeking bug
...king discards 80ms so the actual // requested point needs to be 80ms ahead of the failing point. // This is handled by FindBrokenSeekPoint which has already // adjusted the seek point to account for the 80ms. // Adjust the raw GP to pcm pos by subtracting pre-skip amount // of 48K. int retcode = op_pcm_seek(opfile, failingSeekPoint-4800); if(retcode < 0) printf("Seek failed with OP_EBADLINK!\n"); op_free(opfile); } else { printf("No packets split over page boundaries in file."); } return 0; } Simon Jackson Software Developer Sonocent Ltd. Tel: 0...
2014 Sep 20
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
...clude/ -o s_sin.bc -emit-llvm -c' In file included from s_sin.c:18: ./zmath.h:7:9: warning: 'NAN' macro redefined #define NAN 2 ^ ../../libc/include/math.h:57:11: note: previous definition is here # define NAN (__builtin_nanf("")) ^ 1 warning generated. Retcode: 0 I don't know why this warning gets generated since in ../../libc/include/math.h:57 the macro NAN is wrapped by ifndef as shown below, but that's not important. # ifndef NAN # define NAN (__builtin_nanf("")) # endif I llvm-dis this s_sin.bc file and get a s_sin.ll file as f...
2005 Apr 19
0
smbpasswd password via stdin?
...double typed in password, It took me a lot of minutes to figure that difference between earlier version and the 3.0.7 out but now it works. In perl scripts I use this commandline like #...somewhere in a for/while loop... my $cmd = "(echo $pass; echo $pass) | smbpasswd -s -a $user"; my $retcode = `$cmd`; #...next user... HJ
2007 Mar 29
0
[926] branches/wxruby2/wxwidgets_282: Update Dialog wx2.6 -> wx2.8 API, remove deprecations and cruft, update doc
...the dialog. </span><span class="cx"> </span><ins>+ </ins><span class="cx"> h3(#Dialog_endmodal). Dialog#end_modal </span><span class="cx"> </span><span class="cx"> *end_modal*(%(arg-type)Integer% retCode) </span><span class="lines">@@ -200,16 +238,31 @@ </span><span class="cx"> </span><span class="cx"> "Dialog#show_modal":dialog.html#Dialog_showmodal, "Dialog#get_return_code":dialog.html#Dialog_getreturncode, &q...
2008 May 18
3
R 2.70 + ps2pdf14
...1.5); text(1, 0.2, "1 != 2", srt=90, cex=0.5); text(16, 0.2, "1 != 2", srt=90, cex=0.5); text(19, 0.2, "3 != 4, 1 != 2", srt=90, cex=0.5); text(20, 0.2, "(1,2) > (3,4)", srt=90, cex=0.5); #text(20, 0.4, "shrunk on cex=1.5", srt=90); dev.off(); retcode= system( "ps2pdf14 testhere.PDF" ); # now look at testhere.PDF.pdf , which is the ps2pdf14 output ;
2014 Sep 20
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
...; ./zmath.h:7:9: warning: 'NAN' macro redefined > > #define NAN 2 > > ^ > > ../../libc/include/math.h:57:11: note: previous definition is here > > # define NAN (__builtin_nanf("")) > > ^ > > 1 warning generated. > > Retcode: 0 > > > > I don't know why this warning gets generated since in > > ../../libc/include/math.h:57 the macro NAN is wrapped by ifndef as shown > > below, but that's not important. > > # ifndef NAN > > # define NAN (__builtin_nanf("")) > >...
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across something that kinda bothers me... In order to implement validators you have to override the clone method. The directors seems to be set up to specifically handle this situation. However, whenever C++ calls back to the object''s methods the swig_get_up function is returning false. It seems like swig_up
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...it! */ > + item->hiddata = NULL; > + continue; > > case HU_WALKMODE_QUICK_UPDATE: > /* Quick update only deals with status and alarms! */ > @@ -1058,7 +1089,7 @@ > fatalx(EXIT_FAILURE, "hid_ups_walk: unknown update mode!"); > } > > - retcode = HIDGetDataValue(udev, item->hiddata, &value, 2); > + retcode = HIDGetDataValue(udev, item->hiddata, &value, poll_interval); > > switch (retcode) > { > @@ -1069,7 +1100,7 @@ > case -EIO: > case -ENOENT: > /* Uh oh, got to reconnect! */ >...
2004 Aug 06
2
More libshout questions
Okay, I am using libshout to stream to a NullSoft Shoutcast server. I am using libmad and libmp3lame to do re-encoding on the fly. I am streaming to the server (currently) with shout_send_raw(). When I try to use shout_metadata_add(), I get a segfault in strdup(). Anyone have any ideas as to why? Everything else works fine, just not the metadata. Thanks In Advance, Deven --- >8 ----