Deleted Added
full compact
ftpcmd.y (90148) ftpcmd.y (92090)
1/*
2 * Copyright (c) 1985, 1988, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 31 unchanged lines hidden (view full) ---

40
41%{
42
43#ifndef lint
44#if 0
45static char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94";
46#endif
47static const char rcsid[] =
1/*
2 * Copyright (c) 1985, 1988, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 31 unchanged lines hidden (view full) ---

40
41%{
42
43#ifndef lint
44#if 0
45static char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94";
46#endif
47static const char rcsid[] =
48 "$FreeBSD: head/libexec/ftpd/ftpcmd.y 90148 2002-02-03 15:53:02Z imp $";
48 "$FreeBSD: head/libexec/ftpd/ftpcmd.y 92090 2002-03-11 11:48:55Z maxim $";
49#endif /* not lint */
50
51#include <sys/param.h>
52#include <sys/socket.h>
53#include <sys/stat.h>
54
55#include <netinet/in.h>
56#include <arpa/ftp.h>
57
58#include <ctype.h>
59#include <errno.h>
60#include <glob.h>
49#endif /* not lint */
50
51#include <sys/param.h>
52#include <sys/socket.h>
53#include <sys/stat.h>
54
55#include <netinet/in.h>
56#include <arpa/ftp.h>
57
58#include <ctype.h>
59#include <errno.h>
60#include <glob.h>
61#include <libutil.h>
62#include <md5.h>
61#include <netdb.h>
62#include <pwd.h>
63#include <signal.h>
64#include <stdio.h>
65#include <stdlib.h>
66#include <string.h>
67#include <syslog.h>
68#include <time.h>
69#include <unistd.h>
63#include <netdb.h>
64#include <pwd.h>
65#include <signal.h>
66#include <stdio.h>
67#include <stdlib.h>
68#include <string.h>
69#include <syslog.h>
70#include <time.h>
71#include <unistd.h>
70#include <libutil.h>
71#include <md5.h>
72
73#include "extern.h"
74
75extern union sockunion data_dest, his_addr;
76extern int logged_in;
77extern struct passwd *pw;
78extern int guest;
79extern int paranoid;

--- 52 unchanged lines hidden (view full) ---

132 UMASK IDLE CHMOD MDFIVE
133
134 LEXERR
135
136%token <s> STRING
137%token <i> NUMBER
138
139%type <i> check_login octal_number byte_size
72
73#include "extern.h"
74
75extern union sockunion data_dest, his_addr;
76extern int logged_in;
77extern struct passwd *pw;
78extern int guest;
79extern int paranoid;

--- 52 unchanged lines hidden (view full) ---

132 UMASK IDLE CHMOD MDFIVE
133
134 LEXERR
135
136%token <s> STRING
137%token <i> NUMBER
138
139%type <i> check_login octal_number byte_size
140%type <i> check_login_ro octal_number byte_size
141%type <i> check_login_epsv octal_number byte_size
140%type <i> check_login_ro check_login_epsv
142%type <i> struct_code mode_code type_code form_code
143%type <s> pathstring pathname password username
144%type <s> ALL
145
146%start cmd_list
147
148%%
149

--- 1550 unchanged lines hidden ---
141%type <i> struct_code mode_code type_code form_code
142%type <s> pathstring pathname password username
143%type <s> ALL
144
145%start cmd_list
146
147%%
148

--- 1550 unchanged lines hidden ---