search for: ret_cod

Displaying 6 results from an estimated 6 matches for "ret_cod".

Did you mean: ret_code
2003 Apr 18
0
[Fwd: Xinetd 2.3.10 Memory Leaks]
...> > Using objdump -S /usr/sbin/xinetd, the block of code in question comes > > from service.c: > > > > void svc_request( struct service *sp ) > > { > > connection_s *cp ; > > status_e ret_code; > > > > > > cp = conn_new( sp ) ; > > if ( cp == CONN_NULL ) > > return ; > > if (sp->svc_not_generic) > > ret_code = spec_service_handle...
2003 Sep 05
1
new option suggestion '--backup-only'
.../* external filesystem */ case EXDEV: @@ -225,7 +231,8 @@ } } kept = 1; - do_unlink(fname); + if (!backup_only) + do_unlink(fname); } #endif @@ -233,11 +240,11 @@ /* make an empty directory */ make_bak_dir(fname, backup_dir); do_mkdir(keep_name, file->mode); - ret_code = do_rmdir(fname); - if(verbose>2) { - rprintf(FINFO, "make_backup : RMDIR %s returns %i\n", - fname, ret_code); + if (!backup_only) { + ret_code=do_rmdir(fname); + if(verbose>2) + rprintf(FINFO,"make_backup : RMDIR %s returns %i\n",fname,ret_code);...
2007 Apr 03
0
Modifications to NOT recursively make_backup
...&& (errno != ENOENT || make_bak_dir(buf) < 0 ! || do_mkdir(buf, file->mode) < 0)) { ! rsyserr(FINFO, errno, "mkdir %s failed", ! full_fname(buf)); } - ret_code = do_rmdir(fname); - if (verbose > 2) { - rprintf(FINFO, "make_backup: RMDIR %s returns %i\n", - full_fname(fname), ret_code); - } kept = 1; } --- 204,214 ---- }...
2008 Dec 03
0
Unhandled Page Fault ....Help Me...{unixODBC is Crashing in Wine}
>2 0x60b51b11 function_return_ex+0x281(level=3, handle=<register ESI not in topmost frame>, ret_code=-1, save_to_diag=0) [/root/unixODBC-2.2.12/DriverManager/__info.c:4791] in libodbc.so.1 (0x7ed37dbc) Are you running as root? If so, this may be the cause of your problem. If you are running as Oracle, why did you install the ODBC as root? > >I request to fix this issue where exactly the...
2007 Apr 14
0
[963] branches/wxruby2/wxwidgets_282/doc/textile/dialog.txtl: Added a few missing methods and cleaned up a bit.
...n><span class="cx"> </span><span class="cx"> h3(#Dialog_endmodal). Dialog#end_modal </span><span class="cx"> </span><del>- *end_modal*(%(arg-type)Integer% retCode) </del><ins>+ *end_modal*(%(arg-type)Integer% ret_code) </ins><span class="cx"> </span><span class="cx"> Ends a modal dialog, passing a value to be returned from the "Dialog#show_modal":dialog.html#Dialog_showmodal invocation. </span><span class="cx"> </span><span c...
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...= { #define ENDCHAR '\r' #define IGNCHARS "\n" -#define UPS_DELAY 150000 -#define UPS_LONG_DELAY 450000 +#define UPS_DELAY 150e6 +#define UPS_LONG_DELAY 450e6 #define VICTRON_OVER 128 #define VICTRON_RB 1 @@ -86,7 +86,7 @@ static int get_data (const char *out_str { int ret_code; ser_send(upsfd, "%s%c", out_string, ENDCHAR); - usleep (UPS_DELAY); + struct timespec delay = {0, UPS_DELAY}; nanosleep(&delay, NULL); ret_code = ser_get_line(upsfd, in_string, LENGTH_TEMP, ENDCHAR, IGNCHARS, 3, 0); if (ret_code < 1) { @@ -498,7 +498,7 @@...