Changeset 279 for trunk/src/sh_unix.c
- Timestamp:
- Apr 30, 2010, 11:55:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_unix.c
r265 r279 670 670 sig_force_check = 1; 671 671 #endif 672 #ifdef SIGTTIN 673 if (mysignal == SIGTTIN) 674 sig_fresh_trail = 1; 675 #endif 672 676 #ifdef SIGABRT 673 677 if (mysignal == SIGABRT) … … 837 841 retry_sigaction(FIL__, __LINE__, SIGTSTP, &ignact, &oldact); 838 842 #endif 839 #ifdef SIGTTIN 840 retry_sigaction(FIL__, __LINE__, SIGTTIN, &ignact, &oldact); 841 #endif 843 842 844 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 843 845 #ifdef SIGTTOU … … 847 849 retry_sigaction(FIL__, __LINE__, SIGTTOU, &ignact, &oldact); 848 850 #endif 851 #ifdef SIGTTIN 852 if (goDaemon == 1) 853 retry_sigaction(FIL__, __LINE__, SIGTTIN, &act2, &oldact); 854 else 855 retry_sigaction(FIL__, __LINE__, SIGTTIN, &ignact, &oldact); 856 #endif 849 857 #else 850 858 #ifdef SIGTTOU 851 859 retry_sigaction(FIL__, __LINE__, SIGTTOU, &ignact, &oldact); 860 #endif 861 #ifdef SIGTTIN 862 retry_sigaction(FIL__, __LINE__, SIGTTIN, &ignact, &oldact); 852 863 #endif 853 864 #endif … … 3128 3139 SL_RETURN(0, _("sh_unix_getinfo_attr")); 3129 3140 } 3130 #else3131 static3132 int sh_unix_getinfo_attr (char * name,3133 unsigned long * flags,3134 char * c_attr,3135 int fd, struct stat * buf)3136 {3137 return 0;3138 }3139 3141 3140 3142 /* defined(__linux__) || defined(HAVE_STAT_FLAGS) */ … … 3905 3907 theFile->attributes = 0; 3906 3908 3909 #if (defined(__linux__) && (defined(HAVE_LINUX_EXT2_FS_H) || defined(HAVE_EXT2FS_EXT2_FS_H))) || defined(HAVE_STAT_FLAGS) 3907 3910 if (theFile->c_mode[0] != 'c' && theFile->c_mode[0] != 'b' && 3908 3911 theFile->c_mode[0] != 'l' ) … … 3910 3913 &theFile->attributes, theFile->c_attributes, 3911 3914 fd, &buf); 3915 #endif 3912 3916 #endif 3913 3917
Note:
See TracChangeset
for help on using the changeset viewer.