summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d5df702)
eps2pdf nel Makefile segnalata da Fabio Rossi
source-highlight -f html -s cpp $<
$(PDF_IMG): %.pdf: %.eps
source-highlight -f html -s cpp $<
$(PDF_IMG): %.pdf: %.eps
- epstopdf $< --outfile=$@
+ GS_OPTIONS="-dAutoRotatePages=/None" epstopdf $< --outfile=$@
$(PS_IMG): %.ps : %.eps
eps2eps $< $@
$(PS_IMG): %.ps : %.eps
eps2eps $< $@
* Variables definition
*/
int list_fd, conn_fd;
* Variables definition
*/
int list_fd, conn_fd;
int compat = 0;
int reroot = 0;
char * rootdir;
int compat = 0;
int reroot = 0;
char * rootdir;
case 'd':
debugging = 1;
break;
case 'd':
debugging = 1;
break;
- case 'w':
- waiting = strtol(optarg, NULL, 10);
- break;
reroot = 1;
rootdir = optarg;
break;
reroot = 1;
rootdir = optarg;
break;
}
/* chroot if requested */
if (reroot) {
}
/* chroot if requested */
if (reroot) {
- printf("chroot to %s\n", rootdir);
if (chdir(rootdir)) {
perror("Cannot find directory to chroot");
exit(1);
if (chdir(rootdir)) {
perror("Cannot find directory to chroot");
exit(1);
PrintErr("listen error");
exit(1);
}
PrintErr("listen error");
exit(1);
}
- if (waiting) sleep(waiting);
/* handle echo to client */
while (1) {
/* accept connection */
/* handle echo to client */
while (1) {
/* accept connection */