search for: f_alt

Displaying 2 results from an estimated 2 matches for "f_alt".

Did you mean: n_alt
2005 Mar 21
4
Patch: Offline transfer mode
...@ -29,6 +29,9 @@ extern int protocol_version; extern int make_backups; extern struct stats stats; +extern int write_batch; +extern int offline; +extern int write_batch_monitor_out; /** @@ -123,16 +126,27 @@ struct stats initial_stats; int save_make_backups = make_backups; int j; + int f_alt, old_monitor; if (verbose > 2) rprintf(FINFO, "send_files starting\n"); + old_monitor = write_batch_monitor_out; + if (write_batch && offline) { + /* offline send: don't send tokens over wire */ + f_alt = open("/dev/null", O_RDWR); + write_batch_monito...
2017 Mar 03
2
[PATCH] generator: java: Don't link to undocumented methods.
...ot_deprecated } -> () | { deprecated_by = Replaced_by alt } -> - pr " * @deprecated In new code, use {@link #%s} instead\n" alt + (* Don't link to an undocumented function as javadoc will + * give a hard error. + *) + let f_alt = try List.find (fun { name = n } -> n = alt) actions + with Not_found -> assert false in + if is_documented f_alt then + pr " * @deprecated In new code, use {@link #%s} instead\n" alt + else + pr " * @deprecated...