Hello
[at first: i am not new to developing software, but i am slightly new to
developing linux-software :)]
i'm just developing an command line tool for linux (c++), which has to
save its data into a single file in the filesystem, undependently from
running user.
its handling is best described like or compared with "updatedb". there
is only one data-file for all users.
in which folder should i create the application's data-file, and whats
about the needed rights on it? can this application "ask" for getting
needed privileges like on windows?
is there a special folder intended for handling such things? if yes,
what folder?
kind regards for any help
hagen
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
All,
I think I'm seeing something odd in 'make':
Makefile#1:
ALLDOMAIN:=alldomains.list
#ALLDOMAIN:=$(shell mktemp alldomain.XXXXXX)
.PHONY: $(ALLDOMAIN)
.SILENT: $(ALLDOMAIN)
$(ALLDOMAIN):
<commands to produce the file> >$@
include $(ALLDOMAIN)
The $(ALLDOMAIN) file defines a target named 'alldomains', so I should
now be able to do "make -f Makefile#1 alldomains".
Except - when ALLDOMAIN is a simple variable (assigned with :=) it
doesn't work. The 'alldomains' target can not be found.
When ALLDOMAIN is a recursive variable it works fine ....
I need ALLDOMAIN to be set up only once - see the commented out line
that gives me a temp file.
What am I doing wrong here?
/Per Jessen, Zürich
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
All,
I'm using PCRE (the C-library) to extract base64 encoded attachments
from emails. Needless to say, such attachments can get pretty big. I've
been getting segfaults, so I have been playing with the match_limit (as
far as I can tell, it's not a stacksize problem).
However, according to the pcreapi man page, the default match_limit is
10million - where as I'm having to keep it at 15000 or thereabouts.
I'm right now trying to find the optimal level. Can anyone explain why
I would have to set it so low?
/Per Jessen, Zürich
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org