similar to: C coding tips please / Localisation

Displaying 20 results from an estimated 6000 matches similar to: "C coding tips please / Localisation"

2015 Jul 12
0
C coding tips please / Localisation
On Fri, Jul 10, 2015 at 5:57 PM Michael <cuscotravelservices at gmail.com> wrote: > However, given the warning messages I saw, maybe this is not the > correct (elegant and most efficient) way for the secondary files to > reference "libintl.h". > The best place to add that include and the gettext define would be to put them in rsync.h somewhere, which would make the
2015 Jul 14
1
C coding tips please / Localisation
Wayne Davison <wayned <at> samba.org> writes: > The best place to add that include and the gettext define would be to put them in rsync.h somewhere, which would make the localisation idiom available in all the .c files. Putting it down at the bottom of the file would be a reasonable spot for it. Hi Wayne, I thought you must have fallen off the face of the earth or something like
2015 May 22
1
No Localisation for rsync?
Hi Folks, There are no Localisation features incorporated in the rsync code, from what I can see, and hence no Language Translation files. I see pertinent strings, in the "main.c" (output_summary function) and "flist.c" files, which are used by the rprintf function. I could use xgettext with "rprintf" as the function search parameter to produce a .pot file. Are
2014 Nov 04
0
Re: [PATCH 3/9] build: check for libintl, and use it
On Tuesday 04 November 2014 16:09:56 Richard W.M. Jones wrote: > On Tue, Nov 04, 2014 at 04:35:26PM +0100, Pino Toscano wrote: > > Look for libint/gettext and link to it; this properly detects > > whether > > libint is part of libc. > > I'm a little confused by this patch, and also worried that it may be > reverting commit 75514ab57a. It is basically looking for
2007 Nov 13
2
map - mapproj : problem of states localisation
Hi R-user, I am new with R and I have a problem with the map and mapproj fonctions : with the following code : >test_proj=mapproject(LONG_d01_vec_t1, LAT_d01_vec_t1, projection="lambert", parameters=c(30,60)) >longitude_vec=test_proj$x >latitude_vec=test_proj$y >longitude_mat=matrix(longitude_vec,ncol=e_sn_d01) >latitude_mat=matrix(latitude_vec,ncol=e_sn_d01)
2005 Nov 13
1
selection of missing data
Hi i'm a french medical student, i have some data that i import from excel. My colomn of the datafram are the localisations of metastasis. If there is a metatsasis there is the symbol "_". i want to exclude the row without metastasis wich represent the NA data. so, i wrote this mela is the data fram mela1=ifelse(mela[,c(11:12,14:21,23,24)]=="_",1,0) # selection of the
2005 Jan 31
1
[patch] add "--ignore" option
Hi, The patch below adds a "--ignore" option to rsync, which means "--exclude-but-dont-delete-even-if-we-specified--delete-excluded". I need this for a few tasks, the simplest of which is to have rsync resist trying to delete NetApp filers' ".snapshot" directories. The change is fairly simple (the boolean filter returns become tri-state), and works for me both
2014 Nov 04
2
Re: [PATCH 3/9] build: check for libintl, and use it
On Tue, Nov 04, 2014 at 04:35:26PM +0100, Pino Toscano wrote: > Look for libint/gettext and link to it; this properly detects whether > libint is part of libc. I'm a little confused by this patch, and also worried that it may be reverting commit 75514ab57a. Does this require gettextize? Rich. > --- > align/Makefile.am | 1 + > builder/Makefile.am | 2 ++ >
2015 May 13
3
[PATCH 1/2] build: factor out the OCaml link.sh scripts
Create a single ocaml-link.sh script, which supports a -cclib parameter so it can be used instead of the per-project link.sh scripts. As result, the libraries for each OCaml application can be moved back to each Makefile.am. --- .gitignore | 7 ------- builder/Makefile.am | 14 ++++++++++++-- builder/link.sh.in | 22 ---------------------- configure.ac | 14
2002 Jul 06
3
Can't compile vorbis-tools CVS
Hi all: I haven't had any luck with this on vorbis-dev, so I thought I'd try here. Note that for those who have read this already, there's new stuff at the bottom. I'm getting the folowing when attempting to compile vorbis-tools from CVS: Making all in intl make[1]: Entering directory `/usr/src/cvs/vorbis-tools/intl' make[1]: *** No rule to make target
2010 Apr 20
5
Smart localisation
Hi, I have some trouble using Il8n. I''ve had these problems for a while now and always used rough workarounds, but as my productivity needs to go up another notch, I was wondering whether there was any way of avoiding these workarounds. For example: When I''m inside a view (say ''home/index'') and use t(''title''), I''d like Rails to know
2014 Nov 04
0
[PATCH 3/9] build: check for libintl, and use it
Look for libint/gettext and link to it; this properly detects whether libint is part of libc. --- align/Makefile.am | 1 + builder/Makefile.am | 2 ++ cat/Makefile.am | 4 ++++ configure.ac | 3 +++ customize/Makefile.am | 2 +- df/Makefile.am | 1 + diff/Makefile.am | 1 + edit/Makefile.am | 1 + erlang/Makefile.am
2014 Nov 11
1
[PATCH] use pkg-config to look up ncurses
Hardcoding -ltinfo breaks on distros that do not build the sep library (which is the default ncurses behavior). Use pkg-config to look up the right libraries regardless of how the distro built things. --- builder/Makefile.am | 5 +++-- configure.ac | 18 ++++++------------ customize/Makefile.am | 2 +- mllib/Makefile.am | 6 +++--- resize/Makefile.am | 2 +-
2015 Sep 29
0
[PATCH 2/4] lib: Move <libintl.h> -> files that use it.
Don't include <libintl.h> (for gettext etc) in <guestfs-internal.h>. Include include it only in files that use internationalized strings. --- src/appliance.c | 1 + src/conn-socket.c | 1 + src/copy-in-out.c | 1 + src/create.c | 1 + src/dbdump.c | 1 + src/drives.c | 1 + src/errors.c | 1 + src/filearch.c | 1 +
2010 Jul 09
8
DO NOT REPLY [Bug 7565] New: --check-point=<TIME> +options.c.patch +generator.c.patch
https://bugzilla.samba.org/show_bug.cgi?id=7565 Summary: --check-point=<TIME> +options.c.patch +generator.c.patch Product: rsync Version: 3.0.7 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned at samba.org
2014 Jul 21
1
Problems building Samba 4.x on Solaris 9 and 10 - libintl (again)
Greetings, Trying to get current, but having problems building samba 4.x on Solaris 9/10. I've Been trying to build either samba 4.0.19 or 4.1.9 on Sparc boxes running both Solaris 9 and Solaris 10. I am using gcc 3.4.6 from the old www.sunfreeware.com site. I also have libintl 3.4.0 from them as well. My machines are domain member servers in an Active Directory environment run by
2010 Mar 22
2
some fixes for R 2.01.1 on OpenSolaris using Sun Studio compilers
Hello, I recently built a 64-bit R 2.10.1 on OpenSolaris using the Sun Studio 12.1 compilers. I would like to contribute the following notes, to update the OpenSolaris installation instructions. ================================================ 0. GNU libiconv and GNU gettext are assumed to be in /opt/lib. GNU libiconv is easy to build from source. After building it, configure
2003 Aug 04
1
OpenBSD 3.2 and Release 1
I got the file that was sent to me the other day. Unfortunitly it did not solve my problems. After a lot of hacking I have been able to get release 1.0 to almost compile. I have finally gotten all of the dependancies worked out under OpenBSD 3.2. This next error has me stumped. I can tell that it is looking for a file but have no idea how to create the file. This is the output of the the
2010 Feb 23
1
VB IsDate/IsNumber: Localisation does not work
Hi everybody, I started testing a (really large self written) VB appllication under Wine and was surprised, that a lot works out of the box (nearly...) - Great Work! But I have a few errors I need some advice on: In the application are lot of tests if entered data are numbers or dates. These test do not work, It looks like the locale (number and date)formats are not used in this functions. My
2006 Apr 05
1
''Implicit'' subselection of data in find?
Hi, I''ve read about this technique on the great Intraweb but can''t find it any more- hopefully someone can help or point me to a reference! I''d hate to reinvent the wheel if I can avoid it (and rediscover all the gotchas that someone has already found). I''m writing a rails app that I''d like to use to service a number of different websites out of