From: AT <alexey_tourbin@mail.ru>
To: "mandrake-russian@altlinux.ru" <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] 2 questions about CVS
Date: Fri Oct 12 13:02:23 2001
Message-ID: <20011012130021.A19337@turbinal.localdomain> (raw)
In-Reply-To: <3BC6A31B.1AC8D3FE@zmail.ru>
> Использовать отдельные branch для Lin-src и Win-src не очень то
> хочется, по тому как в этом случае все равно будет только одна
> головная ветвь, а их нужно фактически две. С другой стороны,
> делать два независимых модуля lin.src и win.src то же не очень,
> поскольку во многом они будут повторять друг друга и только
> поспособствуют неразберихе и раздвоению личности у программеров
1) под Cigwin'ом всё собирается почти прозрачно и работает довольно
шустро. Если к программе нет специальных требований (родной графический
интерфейс и т.п.), то, наверное, это лучший вариант.
2) Если программа не слишком глубоко использует API операционной
системы, то вполне можно отделаться макросами в духе config.h:
#ifdef WIN32
#include <winsock.h>
#define strcasecmp strcmpi
...
#else
#include <sys/types.h>
#include <sys/socket.h>
#endif
Microsoft namke даже умееть собирать "стандартные" Makefile'ы
компилятором из Visual Studio.
Поройтесь в исходниках Апача, они всерьёз этим занимаются. В Apache2 --
новая portable runtime library, наверное можно её целиком прикрутить.
> user1:FGRTrtggDGs:local_user
> user2:HGghgghfHFG:local_user
> user3:fGFGsdfgSDF:local_user
> ...
>
> Вот как бы сделать так, что бы только "user1" мог писать в файлы
> под CVSROOT а остальные могли только читать??
info cvs Repository
и прочитайте про Read-only access на pserver. Но вообще просто так доке
верить нельзя, всегда надо думать и самому проверять.
__
AT
next prev parent reply other threads:[~2001-10-12 13:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-12 11:58 cornet
2001-10-12 12:43 ` [mdk-re] " Mikhail Zabaluev
2001-10-12 13:57 ` cornet
2001-10-12 16:02 ` Dmitry V. Levin
2001-10-12 16:24 ` cornet
2001-10-13 0:51 ` [mdk-re] [JT] модуляризация переносимых программ [Was: 2 questions about CVS] Mikhail Zabaluev
2001-10-12 13:02 ` AT [this message]
2001-10-12 13:46 ` [mdk-re] 2 questions about CVS cornet
2001-10-12 13:56 ` Yuri Ryazantsev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011012130021.A19337@turbinal.localdomain \
--to=alexey_tourbin@mail.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git